home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / MSINC.PAK / MAPIGUID.H < prev    next >
C/C++ Source or Header  |  1995-08-29  |  11KB  |  330 lines

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