Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

280 lines
9.3 KiB

  1. /*
  2. * M A P I G U I D . H
  3. *
  4. * Master definitions of all GUID's for MAPI.
  5. *
  6. * When included without INITGUID defined, this header file
  7. * defines symbols that reference IIDs elsewhere.
  8. *
  9. * When included with INITGUID defined and a "USES_IID_I..."
  10. * statement for each IID used by the subsystem, it generates the
  11. * bytes for those actual IIDs into the associated object file.
  12. *
  13. * This range of 256 GUIDs reserved by OLE for MAPI use October 5, 1992.
  14. *
  15. * Copyright 1993-1995 Microsoft Corporation. All Rights Reserved.
  16. */
  17. /*
  18. * List of GUIDS allocated by MAPI
  19. *
  20. * 0x00020300 IID_IMAPISession
  21. * 0x00020301 IID_IMAPITable
  22. * 0x00020302 IID_IMAPIAdviseSink
  23. * 0x00020303 IID_IMAPIProp
  24. * 0x00020304 IID_IProfSect
  25. * 0x00020305 IID_IMAPIStatus
  26. * 0x00020306 IID_IMsgStore
  27. * 0x00020307 IID_IMessage
  28. * 0x00020308 IID_IAttachment
  29. * 0x00020309 IID_IAddrBook
  30. * 0x0002030A IID_IMailUser
  31. * 0x0002030B IID_IMAPIContainer
  32. * 0x0002030C IID_IMAPIFolder
  33. * 0x0002030D IID_IABContainer
  34. * 0x0002030E IID_IDistList
  35. * 0x0002030F IID_IMAPISup
  36. * 0x00020310 IID_IMSProvider
  37. * 0x00020311 IID_IABProvider
  38. * 0x00020312 IID_IXPProvider
  39. * 0x00020313 IID_IMSLogon
  40. * 0x00020314 IID_IABLogon
  41. * 0x00020315 IID_IXPLogon
  42. * 0x00020316 IID_IMAPITableData
  43. * 0x00020317 IID_IMAPISpoolerInit
  44. * 0x00020318 IID_IMAPISpoolerSession
  45. * 0x00020319 IID_ITNEF
  46. * 0x0002031A IID_IMAPIPropData
  47. * 0x0002031B IID_IMAPIControl
  48. * 0x0002031C IID_IProfAdmin
  49. * 0x0002031D IID_IMsgServiceAdmin
  50. * 0x0002031E IID_IMAPISpoolerService
  51. * 0x0002031F IID_IMAPIProgress
  52. * 0x00020320 IID_ISpoolerHook
  53. * 0x00020321 IID_IMAPIViewContext
  54. * 0x00020322 IID_IMAPIFormMgr
  55. * 0x00020323 IID_IEnumMAPIFormProp
  56. * 0x00020324 IID_IMAPIFormInfo
  57. * 0x00020325 IID_IProviderAdmin
  58. * 0x00020327 IID_IMAPIForm
  59. * 0x00020328 PS_MAPI
  60. * 0x00020329 PS_PUBLIC_STRINGS
  61. * 0x0002032A IID_IPersistMessage
  62. * 0x0002032B IID_IMAPIViewAdviseSink
  63. * 0x0002032C IID_IStreamDocfile
  64. * 0x0002032D IID_IMAPIFormProp
  65. * 0x0002032E IID_IMAPIFormContainer
  66. * 0x0002032F IID_IMAPIFormAdviseSink
  67. * 0x00020330 IID_IStreamTnef
  68. * 0x00020370 IID_IMAPIMessageSite
  69. *
  70. * The remaining GUIDs from 0x00020300 to 0x000203FF are reserved by
  71. * MAPI for future use. The current maximum used by MAPI is 0x00020370
  72. *
  73. */
  74. #ifndef MAPIGUID_H
  75. #ifdef INITGUID
  76. #define MAPIGUID_H
  77. #endif
  78. /* Derive from IUnknown */
  79. #if !defined(INITGUID) || defined(USES_IID_IMAPISession)
  80. DEFINE_OLEGUID(IID_IMAPISession, 0x00020300, 0, 0);
  81. #endif
  82. #if !defined(INITGUID) || defined(USES_IID_IMAPITable)
  83. DEFINE_OLEGUID(IID_IMAPITable, 0x00020301, 0, 0);
  84. #endif
  85. #if !defined(INITGUID) || defined(USES_IID_IMAPIAdviseSink)
  86. DEFINE_OLEGUID(IID_IMAPIAdviseSink, 0x00020302, 0, 0);
  87. #endif
  88. #if !defined(INITGUID) || defined(USES_IID_IMAPIControl)
  89. DEFINE_OLEGUID(IID_IMAPIControl, 0x0002031B, 0, 0);
  90. #endif
  91. #if !defined(INITGUID) || defined(USES_IID_IProfAdmin)
  92. DEFINE_OLEGUID(IID_IProfAdmin, 0x0002031C, 0, 0);
  93. #endif
  94. #if !defined(INITGUID) || defined(USES_IID_IMsgServiceAdmin)
  95. DEFINE_OLEGUID(IID_IMsgServiceAdmin,0x0002031D, 0, 0);
  96. #endif
  97. #if !defined(INITGUID) || defined(USES_IID_IProviderAdmin)
  98. DEFINE_OLEGUID(IID_IProviderAdmin, 0x00020325, 0, 0);
  99. #endif
  100. #if !defined(INITGUID) || defined(USES_IID_IMAPIProgress)
  101. DEFINE_OLEGUID(IID_IMAPIProgress, 0x0002031F, 0, 0);
  102. #endif
  103. /* MAPIProp or derive from MAPIProp */
  104. #if !defined(INITGUID) || defined(USES_IID_IMAPIProp)
  105. DEFINE_OLEGUID(IID_IMAPIProp, 0x00020303, 0, 0);
  106. #endif
  107. #if !defined(INITGUID) || defined(USES_IID_IProfSect)
  108. DEFINE_OLEGUID(IID_IProfSect, 0x00020304, 0, 0);
  109. #endif
  110. #if !defined(INITGUID) || defined(USES_IID_IMAPIStatus)
  111. DEFINE_OLEGUID(IID_IMAPIStatus, 0x00020305, 0, 0);
  112. #endif
  113. #if !defined(INITGUID) || defined(USES_IID_IMsgStore)
  114. DEFINE_OLEGUID(IID_IMsgStore, 0x00020306, 0, 0);
  115. #endif
  116. #if !defined(INITGUID) || defined(USES_IID_IMessage)
  117. DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);
  118. #endif
  119. #if !defined(INITGUID) || defined(USES_IID_IAttachment)
  120. DEFINE_OLEGUID(IID_IAttachment, 0x00020308, 0, 0);
  121. #endif
  122. #if !defined(INITGUID) || defined(USES_IID_IAddrBook)
  123. DEFINE_OLEGUID(IID_IAddrBook, 0x00020309, 0, 0);
  124. #endif
  125. #if !defined(INITGUID) || defined(USES_IID_IMailUser)
  126. DEFINE_OLEGUID(IID_IMailUser, 0x0002030A, 0, 0);
  127. #endif
  128. /* MAPIContainer or derive from MAPIContainer */
  129. #if !defined(INITGUID) || defined(USES_IID_IMAPIContainer)
  130. DEFINE_OLEGUID(IID_IMAPIContainer, 0x0002030B, 0, 0);
  131. #endif
  132. #if !defined(INITGUID) || defined(USES_IID_IMAPIFolder)
  133. DEFINE_OLEGUID(IID_IMAPIFolder, 0x0002030C, 0, 0);
  134. #endif
  135. #if !defined(INITGUID) || defined(USES_IID_IABContainer)
  136. DEFINE_OLEGUID(IID_IABContainer, 0x0002030D, 0, 0);
  137. #endif
  138. #if !defined(INITGUID) || defined(USES_IID_IDistList)
  139. DEFINE_OLEGUID(IID_IDistList, 0x0002030E, 0, 0);
  140. #endif
  141. /* MAPI Support Object */
  142. #if !defined(INITGUID) || defined(USES_IID_IMAPISup)
  143. DEFINE_OLEGUID(IID_IMAPISup, 0x0002030F, 0, 0);
  144. #endif
  145. /* Provider INIT objects */
  146. #if !defined(INITGUID) || defined(USES_IID_IMSProvider)
  147. DEFINE_OLEGUID(IID_IMSProvider, 0x00020310, 0, 0);
  148. #endif
  149. #if !defined(INITGUID) || defined(USES_IID_IABProvider)
  150. DEFINE_OLEGUID(IID_IABProvider, 0x00020311, 0, 0);
  151. #endif
  152. #if !defined(INITGUID) || defined(USES_IID_IXPProvider)
  153. DEFINE_OLEGUID(IID_IXPProvider, 0x00020312, 0, 0);
  154. #endif
  155. /* Provider LOGON Objects */
  156. #if !defined(INITGUID) || defined(USES_IID_IMSLogon)
  157. DEFINE_OLEGUID(IID_IMSLogon, 0x00020313, 0, 0);
  158. #endif
  159. #if !defined(INITGUID) || defined(USES_IID_IABLogon)
  160. DEFINE_OLEGUID(IID_IABLogon, 0x00020314, 0, 0);
  161. #endif
  162. #if !defined(INITGUID) || defined(USES_IID_IXPLogon)
  163. DEFINE_OLEGUID(IID_IXPLogon, 0x00020315, 0, 0);
  164. #endif
  165. /* IMAPITable-in-memory Table Data Object */
  166. #if !defined(INITGUID) || defined(USES_IID_IMAPITableData)
  167. DEFINE_OLEGUID(IID_IMAPITableData, 0x00020316, 0, 0);
  168. #endif
  169. /* MAPI Spooler Init Object (internal) */
  170. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerInit)
  171. DEFINE_OLEGUID(IID_IMAPISpoolerInit, 0x00020317, 0, 0);
  172. #endif
  173. /* MAPI Spooler Session Object (internal) */
  174. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerSession)
  175. DEFINE_OLEGUID(IID_IMAPISpoolerSession, 0x00020318, 0, 0);
  176. #endif
  177. /* MAPI TNEF Object Interface */
  178. #if !defined(INITGUID) || defined(USES_IID_ITNEF)
  179. DEFINE_OLEGUID(IID_ITNEF, 0x00020319, 0, 0);
  180. #endif
  181. /* IMAPIProp-in-memory Property Data Object */
  182. #if !defined(INITGUID) || defined(USES_IID_IMAPIPropData)
  183. DEFINE_OLEGUID(IID_IMAPIPropData, 0x0002031A, 0, 0);
  184. #endif
  185. /* MAPI Spooler Hook Object */
  186. #if !defined(INITGUID) || defined(USES_IID_ISpoolerHook)
  187. DEFINE_OLEGUID(IID_ISpoolerHook, 0x00020320, 0, 0);
  188. #endif
  189. /* MAPI Spooler Service Object */
  190. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerService)
  191. DEFINE_OLEGUID(IID_IMAPISpoolerService, 0x0002031E, 0, 0);
  192. #endif
  193. /* MAPI forms, form manager, etc. */
  194. #if !defined(INITGUID) || defined(USES_IID_IMAPIViewContext)
  195. DEFINE_OLEGUID(IID_IMAPIViewContext, 0x00020321, 0, 0);
  196. #endif
  197. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormMgr)
  198. DEFINE_OLEGUID(IID_IMAPIFormMgr, 0x00020322, 0, 0);
  199. #endif
  200. #if !defined(INITGUID) || defined(USES_IID_IEnumMAPIFormProp)
  201. DEFINE_OLEGUID(IID_IEnumMAPIFormProp, 0x00020323, 0, 0);
  202. #endif
  203. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormInfo)
  204. DEFINE_OLEGUID(IID_IMAPIFormInfo, 0x00020324, 0, 0);
  205. #endif
  206. #if !defined(INITGUID) || defined(USES_IID_IMAPIForm)
  207. DEFINE_OLEGUID(IID_IMAPIForm, 0x00020327, 0, 0);
  208. #endif
  209. /* Well known guids for name<->id mappings */
  210. /* The name of MAPI's property set */
  211. #if !defined(INITGUID) || defined(USES_PS_MAPI)
  212. DEFINE_OLEGUID(PS_MAPI, 0x00020328, 0, 0);
  213. #endif
  214. /* The name of the set of public strings */
  215. #if !defined(INITGUID) || defined(USES_PS_PUBLIC_STRINGS)
  216. DEFINE_OLEGUID(PS_PUBLIC_STRINGS, 0x00020329, 0, 0);
  217. #endif
  218. /* MAPI forms, form manager, (cont) */
  219. #if !defined(INITGUID) || defined(USES_IID_IPersistMessage)
  220. DEFINE_OLEGUID(IID_IPersistMessage, 0x0002032A, 0, 0);
  221. #endif
  222. /* IMAPIViewAdviseSink */
  223. #if !defined(INITGUID) || defined(USES_IID_IMAPIViewAdviseSink)
  224. DEFINE_OLEGUID(IID_IMAPIViewAdviseSink, 0x0002032B, 0, 0);
  225. #endif
  226. /* Message Store OpenProperty */
  227. #if !defined(INITGUID) || defined(USES_IID_IStreamDocfile)
  228. DEFINE_OLEGUID(IID_IStreamDocfile, 0x0002032C, 0, 0);
  229. #endif
  230. /* IMAPIFormProp */
  231. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormProp)
  232. DEFINE_OLEGUID(IID_IMAPIFormProp, 0x0002032D, 0, 0);
  233. #endif
  234. /* IMAPIFormContainer */
  235. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormContainer)
  236. DEFINE_OLEGUID(IID_IMAPIFormContainer, 0x0002032E, 0, 0);
  237. #endif
  238. /* IMAPIFormAdviseSink */
  239. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormAdviseSink)
  240. DEFINE_OLEGUID(IID_IMAPIFormAdviseSink, 0x0002032F, 0, 0);
  241. #endif
  242. /* TNEF OpenProperty */
  243. #if !defined(INITGUID) || defined(USES_IID_IStreamTnef)
  244. DEFINE_OLEGUID(IID_IStreamTnef, 0x00020330, 0, 0);
  245. #endif
  246. /* IMAPIMessageSite */
  247. #if !defined(INITGUID) || defined(USES_IID_IMAPIMessageSite)
  248. DEFINE_OLEGUID(IID_IMAPIMessageSite, 0x00020370, 0, 0);
  249. #endif
  250. #endif /* MAPIGUID_H */