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