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.

340 lines
11 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 1986-1996 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. * 0x00020350 IID_IMAPIFormFactory
  69. * 0x00020370 IID_IMAPIMessageSite
  70. * 0x00020380 PS_ROUTING_EMAIL_ADDRESSES
  71. * 0x00020381 PS_ROUTING_ADDRTYPE
  72. * 0x00020382 PS_ROUTING_DISPLAY_NAME
  73. * 0x00020383 PS_ROUTING_ENTRYID
  74. * 0x00020384 PS_ROUTING_SEARCH_KEY
  75. * 0x00020385 MUID_PROFILE_INSTANCE
  76. *
  77. * The remaining GUIDs from 0x00020300 to 0x000203FF are reserved by
  78. * MAPI for future use. The current maximum used by MAPI is 0x00020385
  79. *
  80. */
  81. #ifndef MAPIGUID_H
  82. #ifdef INITGUID
  83. #define MAPIGUID_H
  84. #endif
  85. /* Derive from IUnknown */
  86. #if !defined(INITGUID) || defined(USES_IID_IMAPISession)
  87. DEFINE_OLEGUID(IID_IMAPISession, 0x00020300, 0, 0);
  88. #endif
  89. #if !defined(INITGUID) || defined(USES_IID_IMAPITable)
  90. DEFINE_OLEGUID(IID_IMAPITable, 0x00020301, 0, 0);
  91. #endif
  92. #if !defined(INITGUID) || defined(USES_IID_IMAPIAdviseSink)
  93. DEFINE_OLEGUID(IID_IMAPIAdviseSink, 0x00020302, 0, 0);
  94. #endif
  95. #if !defined(INITGUID) || defined(USES_IID_IMAPIControl)
  96. DEFINE_OLEGUID(IID_IMAPIControl, 0x0002031B, 0, 0);
  97. #endif
  98. #if !defined(INITGUID) || defined(USES_IID_IProfAdmin)
  99. DEFINE_OLEGUID(IID_IProfAdmin, 0x0002031C, 0, 0);
  100. #endif
  101. #if !defined(INITGUID) || defined(USES_IID_IMsgServiceAdmin)
  102. DEFINE_OLEGUID(IID_IMsgServiceAdmin,0x0002031D, 0, 0);
  103. #endif
  104. #if !defined(INITGUID) || defined(USES_IID_IProviderAdmin)
  105. DEFINE_OLEGUID(IID_IProviderAdmin, 0x00020325, 0, 0);
  106. #endif
  107. #if !defined(INITGUID) || defined(USES_IID_IMAPIProgress)
  108. DEFINE_OLEGUID(IID_IMAPIProgress, 0x0002031F, 0, 0);
  109. #endif
  110. /* MAPIProp or derive from MAPIProp */
  111. #if !defined(INITGUID) || defined(USES_IID_IMAPIProp)
  112. DEFINE_OLEGUID(IID_IMAPIProp, 0x00020303, 0, 0);
  113. #endif
  114. #if !defined(INITGUID) || defined(USES_IID_IProfSect)
  115. DEFINE_OLEGUID(IID_IProfSect, 0x00020304, 0, 0);
  116. #endif
  117. #if !defined(INITGUID) || defined(USES_IID_IMAPIStatus)
  118. DEFINE_OLEGUID(IID_IMAPIStatus, 0x00020305, 0, 0);
  119. #endif
  120. #if !defined(INITGUID) || defined(USES_IID_IMsgStore)
  121. DEFINE_OLEGUID(IID_IMsgStore, 0x00020306, 0, 0);
  122. #endif
  123. #if !defined(INITGUID) || defined(USES_IID_IMessage)
  124. DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);
  125. #endif
  126. #if !defined(INITGUID) || defined(USES_IID_IAttachment)
  127. DEFINE_OLEGUID(IID_IAttachment, 0x00020308, 0, 0);
  128. #endif
  129. #if !defined(INITGUID) || defined(USES_IID_IAddrBook)
  130. DEFINE_OLEGUID(IID_IAddrBook, 0x00020309, 0, 0);
  131. #endif
  132. #if !defined(INITGUID) || defined(USES_IID_IMailUser)
  133. DEFINE_OLEGUID(IID_IMailUser, 0x0002030A, 0, 0);
  134. #endif
  135. /* MAPIContainer or derive from MAPIContainer */
  136. #if !defined(INITGUID) || defined(USES_IID_IMAPIContainer)
  137. DEFINE_OLEGUID(IID_IMAPIContainer, 0x0002030B, 0, 0);
  138. #endif
  139. #if !defined(INITGUID) || defined(USES_IID_IMAPIFolder)
  140. DEFINE_OLEGUID(IID_IMAPIFolder, 0x0002030C, 0, 0);
  141. #endif
  142. #if !defined(INITGUID) || defined(USES_IID_IABContainer)
  143. DEFINE_OLEGUID(IID_IABContainer, 0x0002030D, 0, 0);
  144. #endif
  145. #if !defined(INITGUID) || defined(USES_IID_IDistList)
  146. DEFINE_OLEGUID(IID_IDistList, 0x0002030E, 0, 0);
  147. #endif
  148. /* MAPI Support Object */
  149. #if !defined(INITGUID) || defined(USES_IID_IMAPISup)
  150. DEFINE_OLEGUID(IID_IMAPISup, 0x0002030F, 0, 0);
  151. #endif
  152. /* Provider INIT objects */
  153. #if !defined(INITGUID) || defined(USES_IID_IMSProvider)
  154. DEFINE_OLEGUID(IID_IMSProvider, 0x00020310, 0, 0);
  155. #endif
  156. #if !defined(INITGUID) || defined(USES_IID_IABProvider)
  157. DEFINE_OLEGUID(IID_IABProvider, 0x00020311, 0, 0);
  158. #endif
  159. #if !defined(INITGUID) || defined(USES_IID_IXPProvider)
  160. DEFINE_OLEGUID(IID_IXPProvider, 0x00020312, 0, 0);
  161. #endif
  162. /* Provider LOGON Objects */
  163. #if !defined(INITGUID) || defined(USES_IID_IMSLogon)
  164. DEFINE_OLEGUID(IID_IMSLogon, 0x00020313, 0, 0);
  165. #endif
  166. #if !defined(INITGUID) || defined(USES_IID_IABLogon)
  167. DEFINE_OLEGUID(IID_IABLogon, 0x00020314, 0, 0);
  168. #endif
  169. #if !defined(INITGUID) || defined(USES_IID_IXPLogon)
  170. DEFINE_OLEGUID(IID_IXPLogon, 0x00020315, 0, 0);
  171. #endif
  172. /* IMAPITable-in-memory Table Data Object */
  173. #if !defined(INITGUID) || defined(USES_IID_IMAPITableData)
  174. DEFINE_OLEGUID(IID_IMAPITableData, 0x00020316, 0, 0);
  175. #endif
  176. /* MAPI Spooler Init Object (internal) */
  177. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerInit)
  178. DEFINE_OLEGUID(IID_IMAPISpoolerInit, 0x00020317, 0, 0);
  179. #endif
  180. /* MAPI Spooler Session Object (internal) */
  181. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerSession)
  182. DEFINE_OLEGUID(IID_IMAPISpoolerSession, 0x00020318, 0, 0);
  183. #endif
  184. /* MAPI TNEF Object Interface */
  185. #if !defined(INITGUID) || defined(USES_IID_ITNEF)
  186. DEFINE_OLEGUID(IID_ITNEF, 0x00020319, 0, 0);
  187. #endif
  188. /* IMAPIProp-in-memory Property Data Object */
  189. #if !defined(INITGUID) || defined(USES_IID_IMAPIPropData)
  190. DEFINE_OLEGUID(IID_IMAPIPropData, 0x0002031A, 0, 0);
  191. #endif
  192. /* MAPI Spooler Hook Object */
  193. #if !defined(INITGUID) || defined(USES_IID_ISpoolerHook)
  194. DEFINE_OLEGUID(IID_ISpoolerHook, 0x00020320, 0, 0);
  195. #endif
  196. /* MAPI Spooler Service Object */
  197. #if !defined(INITGUID) || defined(USES_IID_IMAPISpoolerService)
  198. DEFINE_OLEGUID(IID_IMAPISpoolerService, 0x0002031E, 0, 0);
  199. #endif
  200. /* MAPI forms, form manager, etc. */
  201. #if !defined(INITGUID) || defined(USES_IID_IMAPIViewContext)
  202. DEFINE_OLEGUID(IID_IMAPIViewContext, 0x00020321, 0, 0);
  203. #endif
  204. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormMgr)
  205. DEFINE_OLEGUID(IID_IMAPIFormMgr, 0x00020322, 0, 0);
  206. #endif
  207. #if !defined(INITGUID) || defined(USES_IID_IEnumMAPIFormProp)
  208. DEFINE_OLEGUID(IID_IEnumMAPIFormProp, 0x00020323, 0, 0);
  209. #endif
  210. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormInfo)
  211. DEFINE_OLEGUID(IID_IMAPIFormInfo, 0x00020324, 0, 0);
  212. #endif
  213. #if !defined(INITGUID) || defined(USES_IID_IMAPIForm)
  214. DEFINE_OLEGUID(IID_IMAPIForm, 0x00020327, 0, 0);
  215. #endif
  216. /* Well known guids for name<->id mappings */
  217. /* The name of MAPI's property set */
  218. #if !defined(INITGUID) || defined(USES_PS_MAPI)
  219. DEFINE_OLEGUID(PS_MAPI, 0x00020328, 0, 0);
  220. #endif
  221. /* The name of the set of public strings */
  222. #if !defined(INITGUID) || defined(USES_PS_PUBLIC_STRINGS)
  223. DEFINE_OLEGUID(PS_PUBLIC_STRINGS, 0x00020329, 0, 0);
  224. #endif
  225. /* MAPI forms, form manager, (cont) */
  226. #if !defined(INITGUID) || defined(USES_IID_IPersistMessage)
  227. DEFINE_OLEGUID(IID_IPersistMessage, 0x0002032A, 0, 0);
  228. #endif
  229. /* IMAPIViewAdviseSink */
  230. #if !defined(INITGUID) || defined(USES_IID_IMAPIViewAdviseSink)
  231. DEFINE_OLEGUID(IID_IMAPIViewAdviseSink, 0x0002032B, 0, 0);
  232. #endif
  233. /* Message Store OpenProperty */
  234. #if !defined(INITGUID) || defined(USES_IID_IStreamDocfile)
  235. DEFINE_OLEGUID(IID_IStreamDocfile, 0x0002032C, 0, 0);
  236. #endif
  237. /* IMAPIFormProp */
  238. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormProp)
  239. DEFINE_OLEGUID(IID_IMAPIFormProp, 0x0002032D, 0, 0);
  240. #endif
  241. /* IMAPIFormContainer */
  242. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormContainer)
  243. DEFINE_OLEGUID(IID_IMAPIFormContainer, 0x0002032E, 0, 0);
  244. #endif
  245. /* IMAPIFormAdviseSink */
  246. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormAdviseSink)
  247. DEFINE_OLEGUID(IID_IMAPIFormAdviseSink, 0x0002032F, 0, 0);
  248. #endif
  249. /* TNEF OpenProperty */
  250. #if !defined(INITGUID) || defined(USES_IID_IStreamTnef)
  251. DEFINE_OLEGUID(IID_IStreamTnef, 0x00020330, 0, 0);
  252. #endif
  253. /* IMAPIFormFactory */
  254. #if !defined(INITGUID) || defined(USES_IID_IMAPIFormFactory)
  255. DEFINE_OLEGUID(IID_IMAPIFormFactory, 0x00020350, 0, 0);
  256. #endif
  257. /* IMAPIMessageSite */
  258. #if !defined(INITGUID) || defined(USES_IID_IMAPIMessageSite)
  259. DEFINE_OLEGUID(IID_IMAPIMessageSite, 0x00020370, 0, 0);
  260. #endif
  261. /* Well known guids routing property sets.
  262. Usefull when writing applications that route documents
  263. (i.e. Workflow) across gateways. Gateways that speak MAPI
  264. should convert the properties found in the follow property
  265. sets appropriately. */
  266. /* PS_ROUTING_EMAIL_ADDRESSES: Addresses that need converting at gateways, etc. */
  267. #if !defined(INITGUID) || defined(USES_PS_ROUTING_EMAIL_ADDRESSES)
  268. DEFINE_OLEGUID(PS_ROUTING_EMAIL_ADDRESSES, 0x00020380, 0, 0);
  269. #endif
  270. /* PS_ROUTING_ADDRTYPE: Address types that need converting at gateways, etc. */
  271. #if !defined(INITGUID) || defined(USES_PS_ROUTING_ADDRTYPE)
  272. DEFINE_OLEGUID(PS_ROUTING_ADDRTYPE, 0x00020381, 0, 0);
  273. #endif
  274. /* PS_ROUTING_DISPLAY_NAME: Display Name that corresponds to the other props */
  275. #if !defined(INITGUID) || defined(USES_PS_ROUTING_DISPLAY_NAME)
  276. DEFINE_OLEGUID(PS_ROUTING_DISPLAY_NAME, 0x00020382, 0, 0);
  277. #endif
  278. /* PS_ROUTING_ENTRYID: (optional) EntryIDs that need converting at gateways, etc. */
  279. #if !defined(INITGUID) || defined(USES_PS_ROUTING_ENTRYID)
  280. DEFINE_OLEGUID(PS_ROUTING_ENTRYID, 0x00020383, 0, 0);
  281. #endif
  282. /* PS_ROUTING_SEARCH_KEY: (optional) search keys that need converting at gateways, etc. */
  283. #if !defined(INITGUID) || defined(USES_PS_ROUTING_SEARCH_KEY)
  284. DEFINE_OLEGUID(PS_ROUTING_SEARCH_KEY, 0x00020384, 0, 0);
  285. #endif
  286. /* MUID_PROFILE_INSTANCE
  287. Well known section in a profile which contains a property (PR_SEARCH_KEY) which is unique
  288. for any given profile. Applications and providers can depend on this value as being
  289. different for each unique profile. */
  290. #if !defined(INITGUID) || defined(USES_MUID_PROFILE_INSTANCE)
  291. DEFINE_OLEGUID(MUID_PROFILE_INSTANCE, 0x00020385, 0, 0);
  292. #endif
  293. #if !defined(INITGUID) || defined(IID_IWABExtInit)
  294. DEFINE_GUID(IID_IWABExtInit, 0xea22ebf0, 0x87a4, 0x11d1, 0x9a, 0xcf, 0x0, 0xa0, 0xc9, 0x1f, 0x9c, 0x8b);
  295. #endif
  296. #endif /* MAPIGUID_H */