MAPIGuid.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:11k
源码类别:

对话框与窗口

开发平台:

Visual C++

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