Source code of Windows XP (NT5)
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.

5391 lines
162 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* at Wed Jul 11 23:53:33 2001
  5. */
  6. /* Compiler settings for X:\cdopt\src\cdo\cdo.idl:
  7. Oicf, W1, Zp8, env=Win32 (32b run)
  8. protocol : dce , ms_ext, app_config, c_ext, robust
  9. error checks: allocation ref bounds_check enum stub_data
  10. VC __declspec() decoration level:
  11. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  12. DECLSPEC_UUID(), MIDL_INTERFACE()
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __cdo_h__
  29. #define __cdo_h__
  30. #include "cdosysstr.h"
  31. #if defined __cplusplus && !defined CDO_NO_NAMESPACE
  32. namespace CDO {
  33. #else
  34. #undef IDataSource
  35. #endif
  36. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  37. #pragma once
  38. #endif
  39. /* Forward Declarations */
  40. #ifndef __IDataSource_FWD_DEFINED__
  41. #define __IDataSource_FWD_DEFINED__
  42. typedef interface IDataSource IDataSource;
  43. #endif /* __IDataSource_FWD_DEFINED__ */
  44. #ifndef __IMessage_FWD_DEFINED__
  45. #define __IMessage_FWD_DEFINED__
  46. typedef interface IMessage IMessage;
  47. #endif /* __IMessage_FWD_DEFINED__ */
  48. #ifndef __IBodyPart_FWD_DEFINED__
  49. #define __IBodyPart_FWD_DEFINED__
  50. typedef interface IBodyPart IBodyPart;
  51. #endif /* __IBodyPart_FWD_DEFINED__ */
  52. #ifndef __IConfiguration_FWD_DEFINED__
  53. #define __IConfiguration_FWD_DEFINED__
  54. typedef interface IConfiguration IConfiguration;
  55. #endif /* __IConfiguration_FWD_DEFINED__ */
  56. #ifndef __IMessages_FWD_DEFINED__
  57. #define __IMessages_FWD_DEFINED__
  58. typedef interface IMessages IMessages;
  59. #endif /* __IMessages_FWD_DEFINED__ */
  60. #ifndef __IDropDirectory_FWD_DEFINED__
  61. #define __IDropDirectory_FWD_DEFINED__
  62. typedef interface IDropDirectory IDropDirectory;
  63. #endif /* __IDropDirectory_FWD_DEFINED__ */
  64. #ifndef __IBodyParts_FWD_DEFINED__
  65. #define __IBodyParts_FWD_DEFINED__
  66. typedef interface IBodyParts IBodyParts;
  67. #endif /* __IBodyParts_FWD_DEFINED__ */
  68. #ifndef __ISMTPScriptConnector_FWD_DEFINED__
  69. #define __ISMTPScriptConnector_FWD_DEFINED__
  70. typedef interface ISMTPScriptConnector ISMTPScriptConnector;
  71. #endif /* __ISMTPScriptConnector_FWD_DEFINED__ */
  72. #ifndef __INNTPEarlyScriptConnector_FWD_DEFINED__
  73. #define __INNTPEarlyScriptConnector_FWD_DEFINED__
  74. typedef interface INNTPEarlyScriptConnector INNTPEarlyScriptConnector;
  75. #endif /* __INNTPEarlyScriptConnector_FWD_DEFINED__ */
  76. #ifndef __INNTPPostScriptConnector_FWD_DEFINED__
  77. #define __INNTPPostScriptConnector_FWD_DEFINED__
  78. typedef interface INNTPPostScriptConnector INNTPPostScriptConnector;
  79. #endif /* __INNTPPostScriptConnector_FWD_DEFINED__ */
  80. #ifndef __INNTPFinalScriptConnector_FWD_DEFINED__
  81. #define __INNTPFinalScriptConnector_FWD_DEFINED__
  82. typedef interface INNTPFinalScriptConnector INNTPFinalScriptConnector;
  83. #endif /* __INNTPFinalScriptConnector_FWD_DEFINED__ */
  84. #ifndef __ISMTPOnArrival_FWD_DEFINED__
  85. #define __ISMTPOnArrival_FWD_DEFINED__
  86. typedef interface ISMTPOnArrival ISMTPOnArrival;
  87. #endif /* __ISMTPOnArrival_FWD_DEFINED__ */
  88. #ifndef __INNTPOnPostEarly_FWD_DEFINED__
  89. #define __INNTPOnPostEarly_FWD_DEFINED__
  90. typedef interface INNTPOnPostEarly INNTPOnPostEarly;
  91. #endif /* __INNTPOnPostEarly_FWD_DEFINED__ */
  92. #ifndef __INNTPOnPost_FWD_DEFINED__
  93. #define __INNTPOnPost_FWD_DEFINED__
  94. typedef interface INNTPOnPost INNTPOnPost;
  95. #endif /* __INNTPOnPost_FWD_DEFINED__ */
  96. #ifndef __INNTPOnPostFinal_FWD_DEFINED__
  97. #define __INNTPOnPostFinal_FWD_DEFINED__
  98. typedef interface INNTPOnPostFinal INNTPOnPostFinal;
  99. #endif /* __INNTPOnPostFinal_FWD_DEFINED__ */
  100. #ifndef __IProxyObject_FWD_DEFINED__
  101. #define __IProxyObject_FWD_DEFINED__
  102. typedef interface IProxyObject IProxyObject;
  103. #endif /* __IProxyObject_FWD_DEFINED__ */
  104. #ifndef __IGetInterface_FWD_DEFINED__
  105. #define __IGetInterface_FWD_DEFINED__
  106. typedef interface IGetInterface IGetInterface;
  107. #endif /* __IGetInterface_FWD_DEFINED__ */
  108. #ifndef __IBodyParts_FWD_DEFINED__
  109. #define __IBodyParts_FWD_DEFINED__
  110. typedef interface IBodyParts IBodyParts;
  111. #endif /* __IBodyParts_FWD_DEFINED__ */
  112. #ifndef __IMessages_FWD_DEFINED__
  113. #define __IMessages_FWD_DEFINED__
  114. typedef interface IMessages IMessages;
  115. #endif /* __IMessages_FWD_DEFINED__ */
  116. #ifndef __Message_FWD_DEFINED__
  117. #define __Message_FWD_DEFINED__
  118. #ifdef __cplusplus
  119. typedef class Message Message;
  120. #else
  121. typedef struct Message Message;
  122. #endif /* __cplusplus */
  123. #endif /* __Message_FWD_DEFINED__ */
  124. #ifndef __Configuration_FWD_DEFINED__
  125. #define __Configuration_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class Configuration Configuration;
  128. #else
  129. typedef struct Configuration Configuration;
  130. #endif /* __cplusplus */
  131. #endif /* __Configuration_FWD_DEFINED__ */
  132. #ifndef __DropDirectory_FWD_DEFINED__
  133. #define __DropDirectory_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class DropDirectory DropDirectory;
  136. #else
  137. typedef struct DropDirectory DropDirectory;
  138. #endif /* __cplusplus */
  139. #endif /* __DropDirectory_FWD_DEFINED__ */
  140. #ifndef __SMTPConnector_FWD_DEFINED__
  141. #define __SMTPConnector_FWD_DEFINED__
  142. #ifdef __cplusplus
  143. typedef class SMTPConnector SMTPConnector;
  144. #else
  145. typedef struct SMTPConnector SMTPConnector;
  146. #endif /* __cplusplus */
  147. #endif /* __SMTPConnector_FWD_DEFINED__ */
  148. #ifndef __NNTPEarlyConnector_FWD_DEFINED__
  149. #define __NNTPEarlyConnector_FWD_DEFINED__
  150. #ifdef __cplusplus
  151. typedef class NNTPEarlyConnector NNTPEarlyConnector;
  152. #else
  153. typedef struct NNTPEarlyConnector NNTPEarlyConnector;
  154. #endif /* __cplusplus */
  155. #endif /* __NNTPEarlyConnector_FWD_DEFINED__ */
  156. #ifndef __NNTPPostConnector_FWD_DEFINED__
  157. #define __NNTPPostConnector_FWD_DEFINED__
  158. #ifdef __cplusplus
  159. typedef class NNTPPostConnector NNTPPostConnector;
  160. #else
  161. typedef struct NNTPPostConnector NNTPPostConnector;
  162. #endif /* __cplusplus */
  163. #endif /* __NNTPPostConnector_FWD_DEFINED__ */
  164. #ifndef __NNTPFinalConnector_FWD_DEFINED__
  165. #define __NNTPFinalConnector_FWD_DEFINED__
  166. #ifdef __cplusplus
  167. typedef class NNTPFinalConnector NNTPFinalConnector;
  168. #else
  169. typedef struct NNTPFinalConnector NNTPFinalConnector;
  170. #endif /* __cplusplus */
  171. #endif /* __NNTPFinalConnector_FWD_DEFINED__ */
  172. /* header files for imported files */
  173. #include "oaidl.h"
  174. #include "ocidl.h"
  175. #ifndef __cplusplus // X5-101346
  176. typedef interface ADOError ADOError;
  177. typedef interface ADOErrors ADOErrors;
  178. typedef interface _ADOCommand _ADOCommand;
  179. typedef interface _ADOConnection _ADOConnection;
  180. typedef interface _ADORecord _ADORecord;
  181. typedef interface IRecADOFields IRecADOFields;
  182. typedef interface _ADOStream _ADOStream;
  183. typedef interface _ADORecordset _ADORecordset;
  184. typedef interface ADOField ADOField;
  185. typedef interface _ADOField _ADOField;
  186. typedef interface ADOFields ADOFields;
  187. typedef interface _ADOParameter _ADOParameter;
  188. typedef interface ADOParameters ADOParameters;
  189. typedef interface ADOProperty ADOProperty;
  190. typedef interface ADOProperties ADOProperties;
  191. #endif // __cplusplus
  192. #include "adoint.h"
  193. #ifdef __cplusplus
  194. extern "C"{
  195. #endif
  196. void * __RPC_USER MIDL_user_allocate(size_t);
  197. void __RPC_USER MIDL_user_free( void * );
  198. /* interface __MIDL_itf_cdo_0000 */
  199. /* [local] */
  200. typedef /* [helpstring] */
  201. enum CdoConfigSource
  202. { cdoDefaults = -1,
  203. cdoIIS = 1,
  204. cdoOutlookExpress = 2
  205. } CdoConfigSource;
  206. typedef /* [helpstring] */
  207. enum CdoDSNOptions
  208. { cdoDSNDefault = 0,
  209. cdoDSNNever = 1,
  210. cdoDSNFailure = 2,
  211. cdoDSNSuccess = 4,
  212. cdoDSNDelay = 8,
  213. cdoDSNSuccessFailOrDelay = 14
  214. } CdoDSNOptions;
  215. typedef /* [helpstring] */
  216. enum CdoEventStatus
  217. { cdoRunNextSink = 0,
  218. cdoSkipRemainingSinks = 1
  219. } CdoEventStatus;
  220. typedef /* [helpstring] */
  221. enum CdoEventType
  222. { cdoSMTPOnArrival = 1,
  223. cdoNNTPOnPostEarly = 2,
  224. cdoNNTPOnPost = 3,
  225. cdoNNTPOnPostFinal = 4
  226. } CdoEventType;
  227. typedef /* [helpstring] */
  228. enum cdoImportanceValues
  229. { cdoLow = 0,
  230. cdoNormal = 1,
  231. cdoHigh = 2
  232. } cdoImportanceValues;
  233. typedef /* [helpstring] */
  234. enum CdoMessageStat
  235. { cdoStatSuccess = 0,
  236. cdoStatAbortDelivery = 2,
  237. cdoStatBadMail = 3
  238. } CdoMessageStat;
  239. typedef /* [helpstring] */
  240. enum CdoMHTMLFlags
  241. { cdoSuppressNone = 0,
  242. cdoSuppressImages = 1,
  243. cdoSuppressBGSounds = 2,
  244. cdoSuppressFrames = 4,
  245. cdoSuppressObjects = 8,
  246. cdoSuppressStyleSheets = 16,
  247. cdoSuppressAll = 31
  248. } CdoMHTMLFlags;
  249. typedef /* [helpstring] */
  250. enum CdoNNTPProcessingField
  251. { cdoPostMessage = 1,
  252. cdoProcessControl = 2,
  253. cdoProcessModerator = 4
  254. } CdoNNTPProcessingField;
  255. typedef /* [helpstring] */
  256. enum CdoPostUsing
  257. { cdoPostUsingPickup = 1,
  258. cdoPostUsingPort = 2
  259. } CdoPostUsing;
  260. typedef
  261. enum cdoPriorityValues
  262. { cdoPriorityNonUrgent = -1,
  263. cdoPriorityNormal = 0,
  264. cdoPriorityUrgent = 1
  265. } cdoPriorityValues;
  266. typedef /* [helpstring] */
  267. enum CdoProtocolsAuthentication
  268. { cdoAnonymous = 0,
  269. cdoBasic = 1,
  270. cdoNTLM = 2
  271. } CdoProtocolsAuthentication;
  272. typedef /* [helpstring] */
  273. enum CdoReferenceType
  274. { cdoRefTypeId = 0,
  275. cdoRefTypeLocation = 1
  276. } CdoReferenceType;
  277. typedef /* [helpstring] */
  278. enum CdoSendUsing
  279. { cdoSendUsingPickup = 1,
  280. cdoSendUsingPort = 2
  281. } CdoSendUsing;
  282. typedef /* [helpstring] */
  283. enum cdoSensitivityValues
  284. { cdoSensitivityNone = 0,
  285. cdoPersonal = 1,
  286. cdoPrivate = 2,
  287. cdoCompanyConfidential = 3
  288. } cdoSensitivityValues;
  289. typedef /* [helpstring] */
  290. enum CdoTimeZoneId
  291. { cdoUTC = 0,
  292. cdoGMT = 1,
  293. cdoSarajevo = 2,
  294. cdoParis = 3,
  295. cdoBerlin = 4,
  296. cdoEasternEurope = 5,
  297. cdoPrague = 6,
  298. cdoAthens = 7,
  299. cdoBrasilia = 8,
  300. cdoAtlanticCanada = 9,
  301. cdoEastern = 10,
  302. cdoCentral = 11,
  303. cdoMountain = 12,
  304. cdoPacific = 13,
  305. cdoAlaska = 14,
  306. cdoHawaii = 15,
  307. cdoMidwayIsland = 16,
  308. cdoWellington = 17,
  309. cdoBrisbane = 18,
  310. cdoAdelaide = 19,
  311. cdoTokyo = 20,
  312. cdoSingapore = 21,
  313. cdoBangkok = 22,
  314. cdoBombay = 23,
  315. cdoAbuDhabi = 24,
  316. cdoTehran = 25,
  317. cdoBaghdad = 26,
  318. cdoIsrael = 27,
  319. cdoNewfoundland = 28,
  320. cdoAzores = 29,
  321. cdoMidAtlantic = 30,
  322. cdoMonrovia = 31,
  323. cdoBuenosAires = 32,
  324. cdoCaracas = 33,
  325. cdoIndiana = 34,
  326. cdoBogota = 35,
  327. cdoSaskatchewan = 36,
  328. cdoMexicoCity = 37,
  329. cdoArizona = 38,
  330. cdoEniwetok = 39,
  331. cdoFiji = 40,
  332. cdoMagadan = 41,
  333. cdoHobart = 42,
  334. cdoGuam = 43,
  335. cdoDarwin = 44,
  336. cdoBeijing = 45,
  337. cdoAlmaty = 46,
  338. cdoIslamabad = 47,
  339. cdoKabul = 48,
  340. cdoCairo = 49,
  341. cdoHarare = 50,
  342. cdoMoscow = 51,
  343. cdoFloating = 52,
  344. cdoCapeVerde = 53,
  345. cdoCaucasus = 54,
  346. cdoCentralAmerica = 55,
  347. cdoEastAfrica = 56,
  348. cdoMelbourne = 57,
  349. cdoEkaterinburg = 58,
  350. cdoHelsinki = 59,
  351. cdoGreenland = 60,
  352. cdoRangoon = 61,
  353. cdoNepal = 62,
  354. cdoIrkutsk = 63,
  355. cdoKrasnoyarsk = 64,
  356. cdoSantiago = 65,
  357. cdoSriLanka = 66,
  358. cdoTonga = 67,
  359. cdoVladivostok = 68,
  360. cdoWestCentralAfrica = 69,
  361. cdoYakutsk = 70,
  362. cdoDhaka = 71,
  363. cdoSeoul = 72,
  364. cdoPerth = 73,
  365. cdoArab = 74,
  366. cdoTaipei = 75,
  367. cdoSydney2000 = 76,
  368. cdoInvalidTimeZone = 77
  369. } CdoTimeZoneId;
  370. extern RPC_IF_HANDLE __MIDL_itf_cdo_0000_v0_0_c_ifspec;
  371. extern RPC_IF_HANDLE __MIDL_itf_cdo_0000_v0_0_s_ifspec;
  372. #ifndef __IDataSource_INTERFACE_DEFINED__
  373. #define __IDataSource_INTERFACE_DEFINED__
  374. /* interface IDataSource */
  375. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  376. EXTERN_C const IID IID_IDataSource;
  377. #if defined(__cplusplus) && !defined(CINTERFACE)
  378. MIDL_INTERFACE("CD000029-8B95-11D1-82DB-00C04FB1625D")
  379. IDataSource : public IDispatch
  380. {
  381. public:
  382. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SourceClass(
  383. /* [retval][out] */ BSTR *varSourceClass) = 0;
  384. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Source(
  385. /* [retval][out] */ IUnknown **varSource) = 0;
  386. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsDirty(
  387. /* [retval][out] */ VARIANT_BOOL *pIsDirty) = 0;
  388. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_IsDirty(
  389. /* [in] */ VARIANT_BOOL varIsDirty) = 0;
  390. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SourceURL(
  391. /* [retval][out] */ BSTR *varSourceURL) = 0;
  392. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ActiveConnection(
  393. /* [retval][out] */ _Connection **varActiveConnection) = 0;
  394. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToObject(
  395. /* [in] */ IUnknown *Source,
  396. /* [in] */ BSTR InterfaceName) = 0;
  397. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenObject(
  398. /* [in] */ IUnknown *Source,
  399. /* [in] */ BSTR InterfaceName) = 0;
  400. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveTo(
  401. /* [in] */ BSTR SourceURL,
  402. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  403. /* [optional][in] */ ConnectModeEnum Mode,
  404. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  405. /* [optional][in] */ RecordOpenOptionsEnum Options,
  406. /* [optional][in] */ BSTR UserName,
  407. /* [optional][in] */ BSTR Password) = 0;
  408. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
  409. /* [in] */ BSTR SourceURL,
  410. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  411. /* [optional][in] */ ConnectModeEnum Mode,
  412. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions,
  413. /* [optional][in] */ RecordOpenOptionsEnum Options,
  414. /* [optional][in] */ BSTR UserName,
  415. /* [optional][in] */ BSTR Password) = 0;
  416. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0;
  417. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToContainer(
  418. /* [in] */ BSTR ContainerURL,
  419. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  420. /* [optional][in] */ ConnectModeEnum Mode,
  421. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  422. /* [optional][in] */ RecordOpenOptionsEnum Options,
  423. /* [optional][in] */ BSTR UserName,
  424. /* [optional][in] */ BSTR Password) = 0;
  425. };
  426. #else /* C style interface */
  427. typedef struct IDataSourceVtbl
  428. {
  429. BEGIN_INTERFACE
  430. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  431. IDataSource * This,
  432. /* [in] */ REFIID riid,
  433. /* [iid_is][out] */ void **ppvObject);
  434. ULONG ( STDMETHODCALLTYPE *AddRef )(
  435. IDataSource * This);
  436. ULONG ( STDMETHODCALLTYPE *Release )(
  437. IDataSource * This);
  438. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  439. IDataSource * This,
  440. /* [out] */ UINT *pctinfo);
  441. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  442. IDataSource * This,
  443. /* [in] */ UINT iTInfo,
  444. /* [in] */ LCID lcid,
  445. /* [out] */ ITypeInfo **ppTInfo);
  446. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  447. IDataSource * This,
  448. /* [in] */ REFIID riid,
  449. /* [size_is][in] */ LPOLESTR *rgszNames,
  450. /* [in] */ UINT cNames,
  451. /* [in] */ LCID lcid,
  452. /* [size_is][out] */ DISPID *rgDispId);
  453. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  454. IDataSource * This,
  455. /* [in] */ DISPID dispIdMember,
  456. /* [in] */ REFIID riid,
  457. /* [in] */ LCID lcid,
  458. /* [in] */ WORD wFlags,
  459. /* [out][in] */ DISPPARAMS *pDispParams,
  460. /* [out] */ VARIANT *pVarResult,
  461. /* [out] */ EXCEPINFO *pExcepInfo,
  462. /* [out] */ UINT *puArgErr);
  463. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SourceClass )(
  464. IDataSource * This,
  465. /* [retval][out] */ BSTR *varSourceClass);
  466. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
  467. IDataSource * This,
  468. /* [retval][out] */ IUnknown **varSource);
  469. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IsDirty )(
  470. IDataSource * This,
  471. /* [retval][out] */ VARIANT_BOOL *pIsDirty);
  472. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IsDirty )(
  473. IDataSource * This,
  474. /* [in] */ VARIANT_BOOL varIsDirty);
  475. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SourceURL )(
  476. IDataSource * This,
  477. /* [retval][out] */ BSTR *varSourceURL);
  478. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveConnection )(
  479. IDataSource * This,
  480. /* [retval][out] */ _Connection **varActiveConnection);
  481. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToObject )(
  482. IDataSource * This,
  483. /* [in] */ IUnknown *Source,
  484. /* [in] */ BSTR InterfaceName);
  485. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenObject )(
  486. IDataSource * This,
  487. /* [in] */ IUnknown *Source,
  488. /* [in] */ BSTR InterfaceName);
  489. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveTo )(
  490. IDataSource * This,
  491. /* [in] */ BSTR SourceURL,
  492. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  493. /* [optional][in] */ ConnectModeEnum Mode,
  494. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  495. /* [optional][in] */ RecordOpenOptionsEnum Options,
  496. /* [optional][in] */ BSTR UserName,
  497. /* [optional][in] */ BSTR Password);
  498. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  499. IDataSource * This,
  500. /* [in] */ BSTR SourceURL,
  501. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  502. /* [optional][in] */ ConnectModeEnum Mode,
  503. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions,
  504. /* [optional][in] */ RecordOpenOptionsEnum Options,
  505. /* [optional][in] */ BSTR UserName,
  506. /* [optional][in] */ BSTR Password);
  507. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  508. IDataSource * This);
  509. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToContainer )(
  510. IDataSource * This,
  511. /* [in] */ BSTR ContainerURL,
  512. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  513. /* [optional][in] */ ConnectModeEnum Mode,
  514. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  515. /* [optional][in] */ RecordOpenOptionsEnum Options,
  516. /* [optional][in] */ BSTR UserName,
  517. /* [optional][in] */ BSTR Password);
  518. END_INTERFACE
  519. } IDataSourceVtbl;
  520. interface IDataSource
  521. {
  522. CONST_VTBL struct IDataSourceVtbl *lpVtbl;
  523. };
  524. #ifdef COBJMACROS
  525. #define IDataSource_QueryInterface(This,riid,ppvObject) \
  526. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  527. #define IDataSource_AddRef(This) \
  528. (This)->lpVtbl -> AddRef(This)
  529. #define IDataSource_Release(This) \
  530. (This)->lpVtbl -> Release(This)
  531. #define IDataSource_GetTypeInfoCount(This,pctinfo) \
  532. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  533. #define IDataSource_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  534. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  535. #define IDataSource_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  536. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  537. #define IDataSource_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  538. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  539. #define IDataSource_get_SourceClass(This,varSourceClass) \
  540. (This)->lpVtbl -> get_SourceClass(This,varSourceClass)
  541. #define IDataSource_get_Source(This,varSource) \
  542. (This)->lpVtbl -> get_Source(This,varSource)
  543. #define IDataSource_get_IsDirty(This,pIsDirty) \
  544. (This)->lpVtbl -> get_IsDirty(This,pIsDirty)
  545. #define IDataSource_put_IsDirty(This,varIsDirty) \
  546. (This)->lpVtbl -> put_IsDirty(This,varIsDirty)
  547. #define IDataSource_get_SourceURL(This,varSourceURL) \
  548. (This)->lpVtbl -> get_SourceURL(This,varSourceURL)
  549. #define IDataSource_get_ActiveConnection(This,varActiveConnection) \
  550. (This)->lpVtbl -> get_ActiveConnection(This,varActiveConnection)
  551. #define IDataSource_SaveToObject(This,Source,InterfaceName) \
  552. (This)->lpVtbl -> SaveToObject(This,Source,InterfaceName)
  553. #define IDataSource_OpenObject(This,Source,InterfaceName) \
  554. (This)->lpVtbl -> OpenObject(This,Source,InterfaceName)
  555. #define IDataSource_SaveTo(This,SourceURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password) \
  556. (This)->lpVtbl -> SaveTo(This,SourceURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password)
  557. #define IDataSource_Open(This,SourceURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password) \
  558. (This)->lpVtbl -> Open(This,SourceURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password)
  559. #define IDataSource_Save(This) \
  560. (This)->lpVtbl -> Save(This)
  561. #define IDataSource_SaveToContainer(This,ContainerURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password) \
  562. (This)->lpVtbl -> SaveToContainer(This,ContainerURL,ActiveConnection,Mode,CreateOptions,Options,UserName,Password)
  563. #endif /* COBJMACROS */
  564. #endif /* C style interface */
  565. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IDataSource_get_SourceClass_Proxy(
  566. IDataSource * This,
  567. /* [retval][out] */ BSTR *varSourceClass);
  568. void __RPC_STUB IDataSource_get_SourceClass_Stub(
  569. IRpcStubBuffer *This,
  570. IRpcChannelBuffer *_pRpcChannelBuffer,
  571. PRPC_MESSAGE _pRpcMessage,
  572. DWORD *_pdwStubPhase);
  573. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IDataSource_get_Source_Proxy(
  574. IDataSource * This,
  575. /* [retval][out] */ IUnknown **varSource);
  576. void __RPC_STUB IDataSource_get_Source_Stub(
  577. IRpcStubBuffer *This,
  578. IRpcChannelBuffer *_pRpcChannelBuffer,
  579. PRPC_MESSAGE _pRpcMessage,
  580. DWORD *_pdwStubPhase);
  581. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IDataSource_get_IsDirty_Proxy(
  582. IDataSource * This,
  583. /* [retval][out] */ VARIANT_BOOL *pIsDirty);
  584. void __RPC_STUB IDataSource_get_IsDirty_Stub(
  585. IRpcStubBuffer *This,
  586. IRpcChannelBuffer *_pRpcChannelBuffer,
  587. PRPC_MESSAGE _pRpcMessage,
  588. DWORD *_pdwStubPhase);
  589. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IDataSource_put_IsDirty_Proxy(
  590. IDataSource * This,
  591. /* [in] */ VARIANT_BOOL varIsDirty);
  592. void __RPC_STUB IDataSource_put_IsDirty_Stub(
  593. IRpcStubBuffer *This,
  594. IRpcChannelBuffer *_pRpcChannelBuffer,
  595. PRPC_MESSAGE _pRpcMessage,
  596. DWORD *_pdwStubPhase);
  597. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IDataSource_get_SourceURL_Proxy(
  598. IDataSource * This,
  599. /* [retval][out] */ BSTR *varSourceURL);
  600. void __RPC_STUB IDataSource_get_SourceURL_Stub(
  601. IRpcStubBuffer *This,
  602. IRpcChannelBuffer *_pRpcChannelBuffer,
  603. PRPC_MESSAGE _pRpcMessage,
  604. DWORD *_pdwStubPhase);
  605. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IDataSource_get_ActiveConnection_Proxy(
  606. IDataSource * This,
  607. /* [retval][out] */ _Connection **varActiveConnection);
  608. void __RPC_STUB IDataSource_get_ActiveConnection_Stub(
  609. IRpcStubBuffer *This,
  610. IRpcChannelBuffer *_pRpcChannelBuffer,
  611. PRPC_MESSAGE _pRpcMessage,
  612. DWORD *_pdwStubPhase);
  613. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_SaveToObject_Proxy(
  614. IDataSource * This,
  615. /* [in] */ IUnknown *Source,
  616. /* [in] */ BSTR InterfaceName);
  617. void __RPC_STUB IDataSource_SaveToObject_Stub(
  618. IRpcStubBuffer *This,
  619. IRpcChannelBuffer *_pRpcChannelBuffer,
  620. PRPC_MESSAGE _pRpcMessage,
  621. DWORD *_pdwStubPhase);
  622. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_OpenObject_Proxy(
  623. IDataSource * This,
  624. /* [in] */ IUnknown *Source,
  625. /* [in] */ BSTR InterfaceName);
  626. void __RPC_STUB IDataSource_OpenObject_Stub(
  627. IRpcStubBuffer *This,
  628. IRpcChannelBuffer *_pRpcChannelBuffer,
  629. PRPC_MESSAGE _pRpcMessage,
  630. DWORD *_pdwStubPhase);
  631. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_SaveTo_Proxy(
  632. IDataSource * This,
  633. /* [in] */ BSTR SourceURL,
  634. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  635. /* [optional][in] */ ConnectModeEnum Mode,
  636. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  637. /* [optional][in] */ RecordOpenOptionsEnum Options,
  638. /* [optional][in] */ BSTR UserName,
  639. /* [optional][in] */ BSTR Password);
  640. void __RPC_STUB IDataSource_SaveTo_Stub(
  641. IRpcStubBuffer *This,
  642. IRpcChannelBuffer *_pRpcChannelBuffer,
  643. PRPC_MESSAGE _pRpcMessage,
  644. DWORD *_pdwStubPhase);
  645. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_Open_Proxy(
  646. IDataSource * This,
  647. /* [in] */ BSTR SourceURL,
  648. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  649. /* [optional][in] */ ConnectModeEnum Mode,
  650. /* [defaultvalue][in] */ RecordCreateOptionsEnum CreateOptions,
  651. /* [optional][in] */ RecordOpenOptionsEnum Options,
  652. /* [optional][in] */ BSTR UserName,
  653. /* [optional][in] */ BSTR Password);
  654. void __RPC_STUB IDataSource_Open_Stub(
  655. IRpcStubBuffer *This,
  656. IRpcChannelBuffer *_pRpcChannelBuffer,
  657. PRPC_MESSAGE _pRpcMessage,
  658. DWORD *_pdwStubPhase);
  659. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_Save_Proxy(
  660. IDataSource * This);
  661. void __RPC_STUB IDataSource_Save_Stub(
  662. IRpcStubBuffer *This,
  663. IRpcChannelBuffer *_pRpcChannelBuffer,
  664. PRPC_MESSAGE _pRpcMessage,
  665. DWORD *_pdwStubPhase);
  666. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDataSource_SaveToContainer_Proxy(
  667. IDataSource * This,
  668. /* [in] */ BSTR ContainerURL,
  669. /* [defaultvalue][in] */ IDispatch *ActiveConnection,
  670. /* [optional][in] */ ConnectModeEnum Mode,
  671. /* [optional][in] */ RecordCreateOptionsEnum CreateOptions,
  672. /* [optional][in] */ RecordOpenOptionsEnum Options,
  673. /* [optional][in] */ BSTR UserName,
  674. /* [optional][in] */ BSTR Password);
  675. void __RPC_STUB IDataSource_SaveToContainer_Stub(
  676. IRpcStubBuffer *This,
  677. IRpcChannelBuffer *_pRpcChannelBuffer,
  678. PRPC_MESSAGE _pRpcMessage,
  679. DWORD *_pdwStubPhase);
  680. #endif /* __IDataSource_INTERFACE_DEFINED__ */
  681. #ifndef __IMessage_INTERFACE_DEFINED__
  682. #define __IMessage_INTERFACE_DEFINED__
  683. /* interface IMessage */
  684. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  685. EXTERN_C const IID IID_IMessage;
  686. #if defined(__cplusplus) && !defined(CINTERFACE)
  687. MIDL_INTERFACE("CD000020-8B95-11D1-82DB-00C04FB1625D")
  688. IMessage : public IDispatch
  689. {
  690. public:
  691. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_BCC(
  692. /* [retval][out] */ BSTR *pBCC) = 0;
  693. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_BCC(
  694. /* [in] */ BSTR varBCC) = 0;
  695. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CC(
  696. /* [retval][out] */ BSTR *pCC) = 0;
  697. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_CC(
  698. /* [in] */ BSTR varCC) = 0;
  699. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FollowUpTo(
  700. /* [retval][out] */ BSTR *pFollowUpTo) = 0;
  701. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FollowUpTo(
  702. /* [in] */ BSTR varFollowUpTo) = 0;
  703. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_From(
  704. /* [retval][out] */ BSTR *pFrom) = 0;
  705. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_From(
  706. /* [in] */ BSTR varFrom) = 0;
  707. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Keywords(
  708. /* [retval][out] */ BSTR *pKeywords) = 0;
  709. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Keywords(
  710. /* [in] */ BSTR varKeywords) = 0;
  711. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MimeFormatted(
  712. /* [retval][out] */ VARIANT_BOOL *pMimeFormatted) = 0;
  713. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MimeFormatted(
  714. /* [in] */ VARIANT_BOOL varMimeFormatted) = 0;
  715. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Newsgroups(
  716. /* [retval][out] */ BSTR *pNewsgroups) = 0;
  717. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Newsgroups(
  718. /* [in] */ BSTR varNewsgroups) = 0;
  719. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Organization(
  720. /* [retval][out] */ BSTR *pOrganization) = 0;
  721. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Organization(
  722. /* [in] */ BSTR varOrganization) = 0;
  723. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ReceivedTime(
  724. /* [retval][out] */ DATE *varReceivedTime) = 0;
  725. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ReplyTo(
  726. /* [retval][out] */ BSTR *pReplyTo) = 0;
  727. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ReplyTo(
  728. /* [in] */ BSTR varReplyTo) = 0;
  729. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DSNOptions(
  730. /* [retval][out] */ CdoDSNOptions *pDSNOptions) = 0;
  731. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_DSNOptions(
  732. /* [in] */ CdoDSNOptions varDSNOptions) = 0;
  733. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SentOn(
  734. /* [retval][out] */ DATE *varSentOn) = 0;
  735. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Subject(
  736. /* [retval][out] */ BSTR *pSubject) = 0;
  737. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Subject(
  738. /* [in] */ BSTR varSubject) = 0;
  739. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_To(
  740. /* [retval][out] */ BSTR *pTo) = 0;
  741. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_To(
  742. /* [in] */ BSTR varTo) = 0;
  743. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TextBody(
  744. /* [retval][out] */ BSTR *pTextBody) = 0;
  745. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_TextBody(
  746. /* [in] */ BSTR varTextBody) = 0;
  747. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_HTMLBody(
  748. /* [retval][out] */ BSTR *pHTMLBody) = 0;
  749. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_HTMLBody(
  750. /* [in] */ BSTR varHTMLBody) = 0;
  751. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attachments(
  752. /* [retval][out] */ IBodyParts **varAttachments) = 0;
  753. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Sender(
  754. /* [retval][out] */ BSTR *pSender) = 0;
  755. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Sender(
  756. /* [in] */ BSTR varSender) = 0;
  757. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Configuration(
  758. /* [retval][out] */ IConfiguration **pConfiguration) = 0;
  759. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Configuration(
  760. /* [in] */ IConfiguration *varConfiguration) = 0;
  761. virtual /* [helpcontext][helpstring][propputref][id] */ HRESULT STDMETHODCALLTYPE putref_Configuration(
  762. /* [in] */ IConfiguration *varConfiguration) = 0;
  763. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AutoGenerateTextBody(
  764. /* [retval][out] */ VARIANT_BOOL *pAutoGenerateTextBody) = 0;
  765. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AutoGenerateTextBody(
  766. /* [in] */ VARIANT_BOOL varAutoGenerateTextBody) = 0;
  767. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_EnvelopeFields(
  768. /* [retval][out] */ Fields **varEnvelopeFields) = 0;
  769. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TextBodyPart(
  770. /* [retval][out] */ IBodyPart **varTextBodyPart) = 0;
  771. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_HTMLBodyPart(
  772. /* [retval][out] */ IBodyPart **varHTMLBodyPart) = 0;
  773. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_BodyPart(
  774. /* [retval][out] */ IBodyPart **varBodyPart) = 0;
  775. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DataSource(
  776. /* [retval][out] */ IDataSource **varDataSource) = 0;
  777. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  778. /* [retval][out] */ Fields **varFields) = 0;
  779. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MDNRequested(
  780. /* [retval][out] */ VARIANT_BOOL *pMDNRequested) = 0;
  781. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MDNRequested(
  782. /* [in] */ VARIANT_BOOL varMDNRequested) = 0;
  783. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE AddRelatedBodyPart(
  784. /* [in] */ BSTR URL,
  785. /* [in] */ BSTR Reference,
  786. /* [in] */ CdoReferenceType ReferenceType,
  787. /* [optional][in] */ BSTR UserName,
  788. /* [optional][in] */ BSTR Password,
  789. /* [retval][out] */ IBodyPart **ppBody) = 0;
  790. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE AddAttachment(
  791. /* [in] */ BSTR URL,
  792. /* [optional][in] */ BSTR UserName,
  793. /* [optional][in] */ BSTR Password,
  794. /* [retval][out] */ IBodyPart **ppBody) = 0;
  795. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateMHTMLBody(
  796. /* [in] */ BSTR URL,
  797. /* [defaultvalue][in] */ CdoMHTMLFlags Flags,
  798. /* [optional][in] */ BSTR UserName,
  799. /* [optional][in] */ BSTR Password) = 0;
  800. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Forward(
  801. /* [retval][out] */ IMessage **ppMsg) = 0;
  802. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Post( void) = 0;
  803. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE PostReply(
  804. /* [retval][out] */ IMessage **ppMsg) = 0;
  805. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Reply(
  806. /* [retval][out] */ IMessage **ppMsg) = 0;
  807. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ReplyAll(
  808. /* [retval][out] */ IMessage **ppMsg) = 0;
  809. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Send( void) = 0;
  810. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetStream(
  811. /* [retval][out] */ _Stream **ppStream) = 0;
  812. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetInterface(
  813. /* [in] */ BSTR Interface,
  814. /* [retval][out] */ IDispatch **ppUnknown) = 0;
  815. };
  816. #else /* C style interface */
  817. typedef struct IMessageVtbl
  818. {
  819. BEGIN_INTERFACE
  820. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  821. IMessage * This,
  822. /* [in] */ REFIID riid,
  823. /* [iid_is][out] */ void **ppvObject);
  824. ULONG ( STDMETHODCALLTYPE *AddRef )(
  825. IMessage * This);
  826. ULONG ( STDMETHODCALLTYPE *Release )(
  827. IMessage * This);
  828. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  829. IMessage * This,
  830. /* [out] */ UINT *pctinfo);
  831. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  832. IMessage * This,
  833. /* [in] */ UINT iTInfo,
  834. /* [in] */ LCID lcid,
  835. /* [out] */ ITypeInfo **ppTInfo);
  836. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  837. IMessage * This,
  838. /* [in] */ REFIID riid,
  839. /* [size_is][in] */ LPOLESTR *rgszNames,
  840. /* [in] */ UINT cNames,
  841. /* [in] */ LCID lcid,
  842. /* [size_is][out] */ DISPID *rgDispId);
  843. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  844. IMessage * This,
  845. /* [in] */ DISPID dispIdMember,
  846. /* [in] */ REFIID riid,
  847. /* [in] */ LCID lcid,
  848. /* [in] */ WORD wFlags,
  849. /* [out][in] */ DISPPARAMS *pDispParams,
  850. /* [out] */ VARIANT *pVarResult,
  851. /* [out] */ EXCEPINFO *pExcepInfo,
  852. /* [out] */ UINT *puArgErr);
  853. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BCC )(
  854. IMessage * This,
  855. /* [retval][out] */ BSTR *pBCC);
  856. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_BCC )(
  857. IMessage * This,
  858. /* [in] */ BSTR varBCC);
  859. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CC )(
  860. IMessage * This,
  861. /* [retval][out] */ BSTR *pCC);
  862. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CC )(
  863. IMessage * This,
  864. /* [in] */ BSTR varCC);
  865. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FollowUpTo )(
  866. IMessage * This,
  867. /* [retval][out] */ BSTR *pFollowUpTo);
  868. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FollowUpTo )(
  869. IMessage * This,
  870. /* [in] */ BSTR varFollowUpTo);
  871. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_From )(
  872. IMessage * This,
  873. /* [retval][out] */ BSTR *pFrom);
  874. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_From )(
  875. IMessage * This,
  876. /* [in] */ BSTR varFrom);
  877. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Keywords )(
  878. IMessage * This,
  879. /* [retval][out] */ BSTR *pKeywords);
  880. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Keywords )(
  881. IMessage * This,
  882. /* [in] */ BSTR varKeywords);
  883. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MimeFormatted )(
  884. IMessage * This,
  885. /* [retval][out] */ VARIANT_BOOL *pMimeFormatted);
  886. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MimeFormatted )(
  887. IMessage * This,
  888. /* [in] */ VARIANT_BOOL varMimeFormatted);
  889. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Newsgroups )(
  890. IMessage * This,
  891. /* [retval][out] */ BSTR *pNewsgroups);
  892. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Newsgroups )(
  893. IMessage * This,
  894. /* [in] */ BSTR varNewsgroups);
  895. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Organization )(
  896. IMessage * This,
  897. /* [retval][out] */ BSTR *pOrganization);
  898. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Organization )(
  899. IMessage * This,
  900. /* [in] */ BSTR varOrganization);
  901. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ReceivedTime )(
  902. IMessage * This,
  903. /* [retval][out] */ DATE *varReceivedTime);
  904. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ReplyTo )(
  905. IMessage * This,
  906. /* [retval][out] */ BSTR *pReplyTo);
  907. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ReplyTo )(
  908. IMessage * This,
  909. /* [in] */ BSTR varReplyTo);
  910. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DSNOptions )(
  911. IMessage * This,
  912. /* [retval][out] */ CdoDSNOptions *pDSNOptions);
  913. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DSNOptions )(
  914. IMessage * This,
  915. /* [in] */ CdoDSNOptions varDSNOptions);
  916. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SentOn )(
  917. IMessage * This,
  918. /* [retval][out] */ DATE *varSentOn);
  919. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )(
  920. IMessage * This,
  921. /* [retval][out] */ BSTR *pSubject);
  922. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Subject )(
  923. IMessage * This,
  924. /* [in] */ BSTR varSubject);
  925. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_To )(
  926. IMessage * This,
  927. /* [retval][out] */ BSTR *pTo);
  928. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_To )(
  929. IMessage * This,
  930. /* [in] */ BSTR varTo);
  931. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TextBody )(
  932. IMessage * This,
  933. /* [retval][out] */ BSTR *pTextBody);
  934. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_TextBody )(
  935. IMessage * This,
  936. /* [in] */ BSTR varTextBody);
  937. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HTMLBody )(
  938. IMessage * This,
  939. /* [retval][out] */ BSTR *pHTMLBody);
  940. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_HTMLBody )(
  941. IMessage * This,
  942. /* [in] */ BSTR varHTMLBody);
  943. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attachments )(
  944. IMessage * This,
  945. /* [retval][out] */ IBodyParts **varAttachments);
  946. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )(
  947. IMessage * This,
  948. /* [retval][out] */ BSTR *pSender);
  949. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Sender )(
  950. IMessage * This,
  951. /* [in] */ BSTR varSender);
  952. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Configuration )(
  953. IMessage * This,
  954. /* [retval][out] */ IConfiguration **pConfiguration);
  955. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Configuration )(
  956. IMessage * This,
  957. /* [in] */ IConfiguration *varConfiguration);
  958. /* [helpcontext][helpstring][propputref][id] */ HRESULT ( STDMETHODCALLTYPE *putref_Configuration )(
  959. IMessage * This,
  960. /* [in] */ IConfiguration *varConfiguration);
  961. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AutoGenerateTextBody )(
  962. IMessage * This,
  963. /* [retval][out] */ VARIANT_BOOL *pAutoGenerateTextBody);
  964. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AutoGenerateTextBody )(
  965. IMessage * This,
  966. /* [in] */ VARIANT_BOOL varAutoGenerateTextBody);
  967. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EnvelopeFields )(
  968. IMessage * This,
  969. /* [retval][out] */ Fields **varEnvelopeFields);
  970. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TextBodyPart )(
  971. IMessage * This,
  972. /* [retval][out] */ IBodyPart **varTextBodyPart);
  973. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HTMLBodyPart )(
  974. IMessage * This,
  975. /* [retval][out] */ IBodyPart **varHTMLBodyPart);
  976. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BodyPart )(
  977. IMessage * This,
  978. /* [retval][out] */ IBodyPart **varBodyPart);
  979. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataSource )(
  980. IMessage * This,
  981. /* [retval][out] */ IDataSource **varDataSource);
  982. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  983. IMessage * This,
  984. /* [retval][out] */ Fields **varFields);
  985. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MDNRequested )(
  986. IMessage * This,
  987. /* [retval][out] */ VARIANT_BOOL *pMDNRequested);
  988. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MDNRequested )(
  989. IMessage * This,
  990. /* [in] */ VARIANT_BOOL varMDNRequested);
  991. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddRelatedBodyPart )(
  992. IMessage * This,
  993. /* [in] */ BSTR URL,
  994. /* [in] */ BSTR Reference,
  995. /* [in] */ CdoReferenceType ReferenceType,
  996. /* [optional][in] */ BSTR UserName,
  997. /* [optional][in] */ BSTR Password,
  998. /* [retval][out] */ IBodyPart **ppBody);
  999. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddAttachment )(
  1000. IMessage * This,
  1001. /* [in] */ BSTR URL,
  1002. /* [optional][in] */ BSTR UserName,
  1003. /* [optional][in] */ BSTR Password,
  1004. /* [retval][out] */ IBodyPart **ppBody);
  1005. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateMHTMLBody )(
  1006. IMessage * This,
  1007. /* [in] */ BSTR URL,
  1008. /* [defaultvalue][in] */ CdoMHTMLFlags Flags,
  1009. /* [optional][in] */ BSTR UserName,
  1010. /* [optional][in] */ BSTR Password);
  1011. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Forward )(
  1012. IMessage * This,
  1013. /* [retval][out] */ IMessage **ppMsg);
  1014. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Post )(
  1015. IMessage * This);
  1016. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PostReply )(
  1017. IMessage * This,
  1018. /* [retval][out] */ IMessage **ppMsg);
  1019. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reply )(
  1020. IMessage * This,
  1021. /* [retval][out] */ IMessage **ppMsg);
  1022. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReplyAll )(
  1023. IMessage * This,
  1024. /* [retval][out] */ IMessage **ppMsg);
  1025. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Send )(
  1026. IMessage * This);
  1027. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetStream )(
  1028. IMessage * This,
  1029. /* [retval][out] */ _Stream **ppStream);
  1030. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInterface )(
  1031. IMessage * This,
  1032. /* [in] */ BSTR Interface,
  1033. /* [retval][out] */ IDispatch **ppUnknown);
  1034. END_INTERFACE
  1035. } IMessageVtbl;
  1036. interface IMessage
  1037. {
  1038. CONST_VTBL struct IMessageVtbl *lpVtbl;
  1039. };
  1040. #ifdef COBJMACROS
  1041. #define IMessage_QueryInterface(This,riid,ppvObject) \
  1042. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1043. #define IMessage_AddRef(This) \
  1044. (This)->lpVtbl -> AddRef(This)
  1045. #define IMessage_Release(This) \
  1046. (This)->lpVtbl -> Release(This)
  1047. #define IMessage_GetTypeInfoCount(This,pctinfo) \
  1048. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1049. #define IMessage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1050. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1051. #define IMessage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1052. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1053. #define IMessage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1054. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1055. #define IMessage_get_BCC(This,pBCC) \
  1056. (This)->lpVtbl -> get_BCC(This,pBCC)
  1057. #define IMessage_put_BCC(This,varBCC) \
  1058. (This)->lpVtbl -> put_BCC(This,varBCC)
  1059. #define IMessage_get_CC(This,pCC) \
  1060. (This)->lpVtbl -> get_CC(This,pCC)
  1061. #define IMessage_put_CC(This,varCC) \
  1062. (This)->lpVtbl -> put_CC(This,varCC)
  1063. #define IMessage_get_FollowUpTo(This,pFollowUpTo) \
  1064. (This)->lpVtbl -> get_FollowUpTo(This,pFollowUpTo)
  1065. #define IMessage_put_FollowUpTo(This,varFollowUpTo) \
  1066. (This)->lpVtbl -> put_FollowUpTo(This,varFollowUpTo)
  1067. #define IMessage_get_From(This,pFrom) \
  1068. (This)->lpVtbl -> get_From(This,pFrom)
  1069. #define IMessage_put_From(This,varFrom) \
  1070. (This)->lpVtbl -> put_From(This,varFrom)
  1071. #define IMessage_get_Keywords(This,pKeywords) \
  1072. (This)->lpVtbl -> get_Keywords(This,pKeywords)
  1073. #define IMessage_put_Keywords(This,varKeywords) \
  1074. (This)->lpVtbl -> put_Keywords(This,varKeywords)
  1075. #define IMessage_get_MimeFormatted(This,pMimeFormatted) \
  1076. (This)->lpVtbl -> get_MimeFormatted(This,pMimeFormatted)
  1077. #define IMessage_put_MimeFormatted(This,varMimeFormatted) \
  1078. (This)->lpVtbl -> put_MimeFormatted(This,varMimeFormatted)
  1079. #define IMessage_get_Newsgroups(This,pNewsgroups) \
  1080. (This)->lpVtbl -> get_Newsgroups(This,pNewsgroups)
  1081. #define IMessage_put_Newsgroups(This,varNewsgroups) \
  1082. (This)->lpVtbl -> put_Newsgroups(This,varNewsgroups)
  1083. #define IMessage_get_Organization(This,pOrganization) \
  1084. (This)->lpVtbl -> get_Organization(This,pOrganization)
  1085. #define IMessage_put_Organization(This,varOrganization) \
  1086. (This)->lpVtbl -> put_Organization(This,varOrganization)
  1087. #define IMessage_get_ReceivedTime(This,varReceivedTime) \
  1088. (This)->lpVtbl -> get_ReceivedTime(This,varReceivedTime)
  1089. #define IMessage_get_ReplyTo(This,pReplyTo) \
  1090. (This)->lpVtbl -> get_ReplyTo(This,pReplyTo)
  1091. #define IMessage_put_ReplyTo(This,varReplyTo) \
  1092. (This)->lpVtbl -> put_ReplyTo(This,varReplyTo)
  1093. #define IMessage_get_DSNOptions(This,pDSNOptions) \
  1094. (This)->lpVtbl -> get_DSNOptions(This,pDSNOptions)
  1095. #define IMessage_put_DSNOptions(This,varDSNOptions) \
  1096. (This)->lpVtbl -> put_DSNOptions(This,varDSNOptions)
  1097. #define IMessage_get_SentOn(This,varSentOn) \
  1098. (This)->lpVtbl -> get_SentOn(This,varSentOn)
  1099. #define IMessage_get_Subject(This,pSubject) \
  1100. (This)->lpVtbl -> get_Subject(This,pSubject)
  1101. #define IMessage_put_Subject(This,varSubject) \
  1102. (This)->lpVtbl -> put_Subject(This,varSubject)
  1103. #define IMessage_get_To(This,pTo) \
  1104. (This)->lpVtbl -> get_To(This,pTo)
  1105. #define IMessage_put_To(This,varTo) \
  1106. (This)->lpVtbl -> put_To(This,varTo)
  1107. #define IMessage_get_TextBody(This,pTextBody) \
  1108. (This)->lpVtbl -> get_TextBody(This,pTextBody)
  1109. #define IMessage_put_TextBody(This,varTextBody) \
  1110. (This)->lpVtbl -> put_TextBody(This,varTextBody)
  1111. #define IMessage_get_HTMLBody(This,pHTMLBody) \
  1112. (This)->lpVtbl -> get_HTMLBody(This,pHTMLBody)
  1113. #define IMessage_put_HTMLBody(This,varHTMLBody) \
  1114. (This)->lpVtbl -> put_HTMLBody(This,varHTMLBody)
  1115. #define IMessage_get_Attachments(This,varAttachments) \
  1116. (This)->lpVtbl -> get_Attachments(This,varAttachments)
  1117. #define IMessage_get_Sender(This,pSender) \
  1118. (This)->lpVtbl -> get_Sender(This,pSender)
  1119. #define IMessage_put_Sender(This,varSender) \
  1120. (This)->lpVtbl -> put_Sender(This,varSender)
  1121. #define IMessage_get_Configuration(This,pConfiguration) \
  1122. (This)->lpVtbl -> get_Configuration(This,pConfiguration)
  1123. #define IMessage_put_Configuration(This,varConfiguration) \
  1124. (This)->lpVtbl -> put_Configuration(This,varConfiguration)
  1125. #define IMessage_putref_Configuration(This,varConfiguration) \
  1126. (This)->lpVtbl -> putref_Configuration(This,varConfiguration)
  1127. #define IMessage_get_AutoGenerateTextBody(This,pAutoGenerateTextBody) \
  1128. (This)->lpVtbl -> get_AutoGenerateTextBody(This,pAutoGenerateTextBody)
  1129. #define IMessage_put_AutoGenerateTextBody(This,varAutoGenerateTextBody) \
  1130. (This)->lpVtbl -> put_AutoGenerateTextBody(This,varAutoGenerateTextBody)
  1131. #define IMessage_get_EnvelopeFields(This,varEnvelopeFields) \
  1132. (This)->lpVtbl -> get_EnvelopeFields(This,varEnvelopeFields)
  1133. #define IMessage_get_TextBodyPart(This,varTextBodyPart) \
  1134. (This)->lpVtbl -> get_TextBodyPart(This,varTextBodyPart)
  1135. #define IMessage_get_HTMLBodyPart(This,varHTMLBodyPart) \
  1136. (This)->lpVtbl -> get_HTMLBodyPart(This,varHTMLBodyPart)
  1137. #define IMessage_get_BodyPart(This,varBodyPart) \
  1138. (This)->lpVtbl -> get_BodyPart(This,varBodyPart)
  1139. #define IMessage_get_DataSource(This,varDataSource) \
  1140. (This)->lpVtbl -> get_DataSource(This,varDataSource)
  1141. #define IMessage_get_Fields(This,varFields) \
  1142. (This)->lpVtbl -> get_Fields(This,varFields)
  1143. #define IMessage_get_MDNRequested(This,pMDNRequested) \
  1144. (This)->lpVtbl -> get_MDNRequested(This,pMDNRequested)
  1145. #define IMessage_put_MDNRequested(This,varMDNRequested) \
  1146. (This)->lpVtbl -> put_MDNRequested(This,varMDNRequested)
  1147. #define IMessage_AddRelatedBodyPart(This,URL,Reference,ReferenceType,UserName,Password,ppBody) \
  1148. (This)->lpVtbl -> AddRelatedBodyPart(This,URL,Reference,ReferenceType,UserName,Password,ppBody)
  1149. #define IMessage_AddAttachment(This,URL,UserName,Password,ppBody) \
  1150. (This)->lpVtbl -> AddAttachment(This,URL,UserName,Password,ppBody)
  1151. #define IMessage_CreateMHTMLBody(This,URL,Flags,UserName,Password) \
  1152. (This)->lpVtbl -> CreateMHTMLBody(This,URL,Flags,UserName,Password)
  1153. #define IMessage_Forward(This,ppMsg) \
  1154. (This)->lpVtbl -> Forward(This,ppMsg)
  1155. #define IMessage_Post(This) \
  1156. (This)->lpVtbl -> Post(This)
  1157. #define IMessage_PostReply(This,ppMsg) \
  1158. (This)->lpVtbl -> PostReply(This,ppMsg)
  1159. #define IMessage_Reply(This,ppMsg) \
  1160. (This)->lpVtbl -> Reply(This,ppMsg)
  1161. #define IMessage_ReplyAll(This,ppMsg) \
  1162. (This)->lpVtbl -> ReplyAll(This,ppMsg)
  1163. #define IMessage_Send(This) \
  1164. (This)->lpVtbl -> Send(This)
  1165. #define IMessage_GetStream(This,ppStream) \
  1166. (This)->lpVtbl -> GetStream(This,ppStream)
  1167. #define IMessage_GetInterface(This,Interface,ppUnknown) \
  1168. (This)->lpVtbl -> GetInterface(This,Interface,ppUnknown)
  1169. #endif /* COBJMACROS */
  1170. #endif /* C style interface */
  1171. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_BCC_Proxy(
  1172. IMessage * This,
  1173. /* [retval][out] */ BSTR *pBCC);
  1174. void __RPC_STUB IMessage_get_BCC_Stub(
  1175. IRpcStubBuffer *This,
  1176. IRpcChannelBuffer *_pRpcChannelBuffer,
  1177. PRPC_MESSAGE _pRpcMessage,
  1178. DWORD *_pdwStubPhase);
  1179. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_BCC_Proxy(
  1180. IMessage * This,
  1181. /* [in] */ BSTR varBCC);
  1182. void __RPC_STUB IMessage_put_BCC_Stub(
  1183. IRpcStubBuffer *This,
  1184. IRpcChannelBuffer *_pRpcChannelBuffer,
  1185. PRPC_MESSAGE _pRpcMessage,
  1186. DWORD *_pdwStubPhase);
  1187. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_CC_Proxy(
  1188. IMessage * This,
  1189. /* [retval][out] */ BSTR *pCC);
  1190. void __RPC_STUB IMessage_get_CC_Stub(
  1191. IRpcStubBuffer *This,
  1192. IRpcChannelBuffer *_pRpcChannelBuffer,
  1193. PRPC_MESSAGE _pRpcMessage,
  1194. DWORD *_pdwStubPhase);
  1195. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_CC_Proxy(
  1196. IMessage * This,
  1197. /* [in] */ BSTR varCC);
  1198. void __RPC_STUB IMessage_put_CC_Stub(
  1199. IRpcStubBuffer *This,
  1200. IRpcChannelBuffer *_pRpcChannelBuffer,
  1201. PRPC_MESSAGE _pRpcMessage,
  1202. DWORD *_pdwStubPhase);
  1203. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_FollowUpTo_Proxy(
  1204. IMessage * This,
  1205. /* [retval][out] */ BSTR *pFollowUpTo);
  1206. void __RPC_STUB IMessage_get_FollowUpTo_Stub(
  1207. IRpcStubBuffer *This,
  1208. IRpcChannelBuffer *_pRpcChannelBuffer,
  1209. PRPC_MESSAGE _pRpcMessage,
  1210. DWORD *_pdwStubPhase);
  1211. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_FollowUpTo_Proxy(
  1212. IMessage * This,
  1213. /* [in] */ BSTR varFollowUpTo);
  1214. void __RPC_STUB IMessage_put_FollowUpTo_Stub(
  1215. IRpcStubBuffer *This,
  1216. IRpcChannelBuffer *_pRpcChannelBuffer,
  1217. PRPC_MESSAGE _pRpcMessage,
  1218. DWORD *_pdwStubPhase);
  1219. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_From_Proxy(
  1220. IMessage * This,
  1221. /* [retval][out] */ BSTR *pFrom);
  1222. void __RPC_STUB IMessage_get_From_Stub(
  1223. IRpcStubBuffer *This,
  1224. IRpcChannelBuffer *_pRpcChannelBuffer,
  1225. PRPC_MESSAGE _pRpcMessage,
  1226. DWORD *_pdwStubPhase);
  1227. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_From_Proxy(
  1228. IMessage * This,
  1229. /* [in] */ BSTR varFrom);
  1230. void __RPC_STUB IMessage_put_From_Stub(
  1231. IRpcStubBuffer *This,
  1232. IRpcChannelBuffer *_pRpcChannelBuffer,
  1233. PRPC_MESSAGE _pRpcMessage,
  1234. DWORD *_pdwStubPhase);
  1235. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Keywords_Proxy(
  1236. IMessage * This,
  1237. /* [retval][out] */ BSTR *pKeywords);
  1238. void __RPC_STUB IMessage_get_Keywords_Stub(
  1239. IRpcStubBuffer *This,
  1240. IRpcChannelBuffer *_pRpcChannelBuffer,
  1241. PRPC_MESSAGE _pRpcMessage,
  1242. DWORD *_pdwStubPhase);
  1243. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Keywords_Proxy(
  1244. IMessage * This,
  1245. /* [in] */ BSTR varKeywords);
  1246. void __RPC_STUB IMessage_put_Keywords_Stub(
  1247. IRpcStubBuffer *This,
  1248. IRpcChannelBuffer *_pRpcChannelBuffer,
  1249. PRPC_MESSAGE _pRpcMessage,
  1250. DWORD *_pdwStubPhase);
  1251. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_MimeFormatted_Proxy(
  1252. IMessage * This,
  1253. /* [retval][out] */ VARIANT_BOOL *pMimeFormatted);
  1254. void __RPC_STUB IMessage_get_MimeFormatted_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_MimeFormatted_Proxy(
  1260. IMessage * This,
  1261. /* [in] */ VARIANT_BOOL varMimeFormatted);
  1262. void __RPC_STUB IMessage_put_MimeFormatted_Stub(
  1263. IRpcStubBuffer *This,
  1264. IRpcChannelBuffer *_pRpcChannelBuffer,
  1265. PRPC_MESSAGE _pRpcMessage,
  1266. DWORD *_pdwStubPhase);
  1267. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Newsgroups_Proxy(
  1268. IMessage * This,
  1269. /* [retval][out] */ BSTR *pNewsgroups);
  1270. void __RPC_STUB IMessage_get_Newsgroups_Stub(
  1271. IRpcStubBuffer *This,
  1272. IRpcChannelBuffer *_pRpcChannelBuffer,
  1273. PRPC_MESSAGE _pRpcMessage,
  1274. DWORD *_pdwStubPhase);
  1275. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Newsgroups_Proxy(
  1276. IMessage * This,
  1277. /* [in] */ BSTR varNewsgroups);
  1278. void __RPC_STUB IMessage_put_Newsgroups_Stub(
  1279. IRpcStubBuffer *This,
  1280. IRpcChannelBuffer *_pRpcChannelBuffer,
  1281. PRPC_MESSAGE _pRpcMessage,
  1282. DWORD *_pdwStubPhase);
  1283. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Organization_Proxy(
  1284. IMessage * This,
  1285. /* [retval][out] */ BSTR *pOrganization);
  1286. void __RPC_STUB IMessage_get_Organization_Stub(
  1287. IRpcStubBuffer *This,
  1288. IRpcChannelBuffer *_pRpcChannelBuffer,
  1289. PRPC_MESSAGE _pRpcMessage,
  1290. DWORD *_pdwStubPhase);
  1291. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Organization_Proxy(
  1292. IMessage * This,
  1293. /* [in] */ BSTR varOrganization);
  1294. void __RPC_STUB IMessage_put_Organization_Stub(
  1295. IRpcStubBuffer *This,
  1296. IRpcChannelBuffer *_pRpcChannelBuffer,
  1297. PRPC_MESSAGE _pRpcMessage,
  1298. DWORD *_pdwStubPhase);
  1299. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_ReceivedTime_Proxy(
  1300. IMessage * This,
  1301. /* [retval][out] */ DATE *varReceivedTime);
  1302. void __RPC_STUB IMessage_get_ReceivedTime_Stub(
  1303. IRpcStubBuffer *This,
  1304. IRpcChannelBuffer *_pRpcChannelBuffer,
  1305. PRPC_MESSAGE _pRpcMessage,
  1306. DWORD *_pdwStubPhase);
  1307. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_ReplyTo_Proxy(
  1308. IMessage * This,
  1309. /* [retval][out] */ BSTR *pReplyTo);
  1310. void __RPC_STUB IMessage_get_ReplyTo_Stub(
  1311. IRpcStubBuffer *This,
  1312. IRpcChannelBuffer *_pRpcChannelBuffer,
  1313. PRPC_MESSAGE _pRpcMessage,
  1314. DWORD *_pdwStubPhase);
  1315. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_ReplyTo_Proxy(
  1316. IMessage * This,
  1317. /* [in] */ BSTR varReplyTo);
  1318. void __RPC_STUB IMessage_put_ReplyTo_Stub(
  1319. IRpcStubBuffer *This,
  1320. IRpcChannelBuffer *_pRpcChannelBuffer,
  1321. PRPC_MESSAGE _pRpcMessage,
  1322. DWORD *_pdwStubPhase);
  1323. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_DSNOptions_Proxy(
  1324. IMessage * This,
  1325. /* [retval][out] */ CdoDSNOptions *pDSNOptions);
  1326. void __RPC_STUB IMessage_get_DSNOptions_Stub(
  1327. IRpcStubBuffer *This,
  1328. IRpcChannelBuffer *_pRpcChannelBuffer,
  1329. PRPC_MESSAGE _pRpcMessage,
  1330. DWORD *_pdwStubPhase);
  1331. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_DSNOptions_Proxy(
  1332. IMessage * This,
  1333. /* [in] */ CdoDSNOptions varDSNOptions);
  1334. void __RPC_STUB IMessage_put_DSNOptions_Stub(
  1335. IRpcStubBuffer *This,
  1336. IRpcChannelBuffer *_pRpcChannelBuffer,
  1337. PRPC_MESSAGE _pRpcMessage,
  1338. DWORD *_pdwStubPhase);
  1339. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_SentOn_Proxy(
  1340. IMessage * This,
  1341. /* [retval][out] */ DATE *varSentOn);
  1342. void __RPC_STUB IMessage_get_SentOn_Stub(
  1343. IRpcStubBuffer *This,
  1344. IRpcChannelBuffer *_pRpcChannelBuffer,
  1345. PRPC_MESSAGE _pRpcMessage,
  1346. DWORD *_pdwStubPhase);
  1347. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Subject_Proxy(
  1348. IMessage * This,
  1349. /* [retval][out] */ BSTR *pSubject);
  1350. void __RPC_STUB IMessage_get_Subject_Stub(
  1351. IRpcStubBuffer *This,
  1352. IRpcChannelBuffer *_pRpcChannelBuffer,
  1353. PRPC_MESSAGE _pRpcMessage,
  1354. DWORD *_pdwStubPhase);
  1355. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Subject_Proxy(
  1356. IMessage * This,
  1357. /* [in] */ BSTR varSubject);
  1358. void __RPC_STUB IMessage_put_Subject_Stub(
  1359. IRpcStubBuffer *This,
  1360. IRpcChannelBuffer *_pRpcChannelBuffer,
  1361. PRPC_MESSAGE _pRpcMessage,
  1362. DWORD *_pdwStubPhase);
  1363. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_To_Proxy(
  1364. IMessage * This,
  1365. /* [retval][out] */ BSTR *pTo);
  1366. void __RPC_STUB IMessage_get_To_Stub(
  1367. IRpcStubBuffer *This,
  1368. IRpcChannelBuffer *_pRpcChannelBuffer,
  1369. PRPC_MESSAGE _pRpcMessage,
  1370. DWORD *_pdwStubPhase);
  1371. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_To_Proxy(
  1372. IMessage * This,
  1373. /* [in] */ BSTR varTo);
  1374. void __RPC_STUB IMessage_put_To_Stub(
  1375. IRpcStubBuffer *This,
  1376. IRpcChannelBuffer *_pRpcChannelBuffer,
  1377. PRPC_MESSAGE _pRpcMessage,
  1378. DWORD *_pdwStubPhase);
  1379. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_TextBody_Proxy(
  1380. IMessage * This,
  1381. /* [retval][out] */ BSTR *pTextBody);
  1382. void __RPC_STUB IMessage_get_TextBody_Stub(
  1383. IRpcStubBuffer *This,
  1384. IRpcChannelBuffer *_pRpcChannelBuffer,
  1385. PRPC_MESSAGE _pRpcMessage,
  1386. DWORD *_pdwStubPhase);
  1387. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_TextBody_Proxy(
  1388. IMessage * This,
  1389. /* [in] */ BSTR varTextBody);
  1390. void __RPC_STUB IMessage_put_TextBody_Stub(
  1391. IRpcStubBuffer *This,
  1392. IRpcChannelBuffer *_pRpcChannelBuffer,
  1393. PRPC_MESSAGE _pRpcMessage,
  1394. DWORD *_pdwStubPhase);
  1395. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_HTMLBody_Proxy(
  1396. IMessage * This,
  1397. /* [retval][out] */ BSTR *pHTMLBody);
  1398. void __RPC_STUB IMessage_get_HTMLBody_Stub(
  1399. IRpcStubBuffer *This,
  1400. IRpcChannelBuffer *_pRpcChannelBuffer,
  1401. PRPC_MESSAGE _pRpcMessage,
  1402. DWORD *_pdwStubPhase);
  1403. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_HTMLBody_Proxy(
  1404. IMessage * This,
  1405. /* [in] */ BSTR varHTMLBody);
  1406. void __RPC_STUB IMessage_put_HTMLBody_Stub(
  1407. IRpcStubBuffer *This,
  1408. IRpcChannelBuffer *_pRpcChannelBuffer,
  1409. PRPC_MESSAGE _pRpcMessage,
  1410. DWORD *_pdwStubPhase);
  1411. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Attachments_Proxy(
  1412. IMessage * This,
  1413. /* [retval][out] */ IBodyParts **varAttachments);
  1414. void __RPC_STUB IMessage_get_Attachments_Stub(
  1415. IRpcStubBuffer *This,
  1416. IRpcChannelBuffer *_pRpcChannelBuffer,
  1417. PRPC_MESSAGE _pRpcMessage,
  1418. DWORD *_pdwStubPhase);
  1419. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Sender_Proxy(
  1420. IMessage * This,
  1421. /* [retval][out] */ BSTR *pSender);
  1422. void __RPC_STUB IMessage_get_Sender_Stub(
  1423. IRpcStubBuffer *This,
  1424. IRpcChannelBuffer *_pRpcChannelBuffer,
  1425. PRPC_MESSAGE _pRpcMessage,
  1426. DWORD *_pdwStubPhase);
  1427. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Sender_Proxy(
  1428. IMessage * This,
  1429. /* [in] */ BSTR varSender);
  1430. void __RPC_STUB IMessage_put_Sender_Stub(
  1431. IRpcStubBuffer *This,
  1432. IRpcChannelBuffer *_pRpcChannelBuffer,
  1433. PRPC_MESSAGE _pRpcMessage,
  1434. DWORD *_pdwStubPhase);
  1435. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Configuration_Proxy(
  1436. IMessage * This,
  1437. /* [retval][out] */ IConfiguration **pConfiguration);
  1438. void __RPC_STUB IMessage_get_Configuration_Stub(
  1439. IRpcStubBuffer *This,
  1440. IRpcChannelBuffer *_pRpcChannelBuffer,
  1441. PRPC_MESSAGE _pRpcMessage,
  1442. DWORD *_pdwStubPhase);
  1443. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_Configuration_Proxy(
  1444. IMessage * This,
  1445. /* [in] */ IConfiguration *varConfiguration);
  1446. void __RPC_STUB IMessage_put_Configuration_Stub(
  1447. IRpcStubBuffer *This,
  1448. IRpcChannelBuffer *_pRpcChannelBuffer,
  1449. PRPC_MESSAGE _pRpcMessage,
  1450. DWORD *_pdwStubPhase);
  1451. /* [helpcontext][helpstring][propputref][id] */ HRESULT STDMETHODCALLTYPE IMessage_putref_Configuration_Proxy(
  1452. IMessage * This,
  1453. /* [in] */ IConfiguration *varConfiguration);
  1454. void __RPC_STUB IMessage_putref_Configuration_Stub(
  1455. IRpcStubBuffer *This,
  1456. IRpcChannelBuffer *_pRpcChannelBuffer,
  1457. PRPC_MESSAGE _pRpcMessage,
  1458. DWORD *_pdwStubPhase);
  1459. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_AutoGenerateTextBody_Proxy(
  1460. IMessage * This,
  1461. /* [retval][out] */ VARIANT_BOOL *pAutoGenerateTextBody);
  1462. void __RPC_STUB IMessage_get_AutoGenerateTextBody_Stub(
  1463. IRpcStubBuffer *This,
  1464. IRpcChannelBuffer *_pRpcChannelBuffer,
  1465. PRPC_MESSAGE _pRpcMessage,
  1466. DWORD *_pdwStubPhase);
  1467. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_AutoGenerateTextBody_Proxy(
  1468. IMessage * This,
  1469. /* [in] */ VARIANT_BOOL varAutoGenerateTextBody);
  1470. void __RPC_STUB IMessage_put_AutoGenerateTextBody_Stub(
  1471. IRpcStubBuffer *This,
  1472. IRpcChannelBuffer *_pRpcChannelBuffer,
  1473. PRPC_MESSAGE _pRpcMessage,
  1474. DWORD *_pdwStubPhase);
  1475. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_EnvelopeFields_Proxy(
  1476. IMessage * This,
  1477. /* [retval][out] */ Fields **varEnvelopeFields);
  1478. void __RPC_STUB IMessage_get_EnvelopeFields_Stub(
  1479. IRpcStubBuffer *This,
  1480. IRpcChannelBuffer *_pRpcChannelBuffer,
  1481. PRPC_MESSAGE _pRpcMessage,
  1482. DWORD *_pdwStubPhase);
  1483. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_TextBodyPart_Proxy(
  1484. IMessage * This,
  1485. /* [retval][out] */ IBodyPart **varTextBodyPart);
  1486. void __RPC_STUB IMessage_get_TextBodyPart_Stub(
  1487. IRpcStubBuffer *This,
  1488. IRpcChannelBuffer *_pRpcChannelBuffer,
  1489. PRPC_MESSAGE _pRpcMessage,
  1490. DWORD *_pdwStubPhase);
  1491. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_HTMLBodyPart_Proxy(
  1492. IMessage * This,
  1493. /* [retval][out] */ IBodyPart **varHTMLBodyPart);
  1494. void __RPC_STUB IMessage_get_HTMLBodyPart_Stub(
  1495. IRpcStubBuffer *This,
  1496. IRpcChannelBuffer *_pRpcChannelBuffer,
  1497. PRPC_MESSAGE _pRpcMessage,
  1498. DWORD *_pdwStubPhase);
  1499. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_BodyPart_Proxy(
  1500. IMessage * This,
  1501. /* [retval][out] */ IBodyPart **varBodyPart);
  1502. void __RPC_STUB IMessage_get_BodyPart_Stub(
  1503. IRpcStubBuffer *This,
  1504. IRpcChannelBuffer *_pRpcChannelBuffer,
  1505. PRPC_MESSAGE _pRpcMessage,
  1506. DWORD *_pdwStubPhase);
  1507. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_DataSource_Proxy(
  1508. IMessage * This,
  1509. /* [retval][out] */ IDataSource **varDataSource);
  1510. void __RPC_STUB IMessage_get_DataSource_Stub(
  1511. IRpcStubBuffer *This,
  1512. IRpcChannelBuffer *_pRpcChannelBuffer,
  1513. PRPC_MESSAGE _pRpcMessage,
  1514. DWORD *_pdwStubPhase);
  1515. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_Fields_Proxy(
  1516. IMessage * This,
  1517. /* [retval][out] */ Fields **varFields);
  1518. void __RPC_STUB IMessage_get_Fields_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessage_get_MDNRequested_Proxy(
  1524. IMessage * This,
  1525. /* [retval][out] */ VARIANT_BOOL *pMDNRequested);
  1526. void __RPC_STUB IMessage_get_MDNRequested_Stub(
  1527. IRpcStubBuffer *This,
  1528. IRpcChannelBuffer *_pRpcChannelBuffer,
  1529. PRPC_MESSAGE _pRpcMessage,
  1530. DWORD *_pdwStubPhase);
  1531. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IMessage_put_MDNRequested_Proxy(
  1532. IMessage * This,
  1533. /* [in] */ VARIANT_BOOL varMDNRequested);
  1534. void __RPC_STUB IMessage_put_MDNRequested_Stub(
  1535. IRpcStubBuffer *This,
  1536. IRpcChannelBuffer *_pRpcChannelBuffer,
  1537. PRPC_MESSAGE _pRpcMessage,
  1538. DWORD *_pdwStubPhase);
  1539. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_AddRelatedBodyPart_Proxy(
  1540. IMessage * This,
  1541. /* [in] */ BSTR URL,
  1542. /* [in] */ BSTR Reference,
  1543. /* [in] */ CdoReferenceType ReferenceType,
  1544. /* [optional][in] */ BSTR UserName,
  1545. /* [optional][in] */ BSTR Password,
  1546. /* [retval][out] */ IBodyPart **ppBody);
  1547. void __RPC_STUB IMessage_AddRelatedBodyPart_Stub(
  1548. IRpcStubBuffer *This,
  1549. IRpcChannelBuffer *_pRpcChannelBuffer,
  1550. PRPC_MESSAGE _pRpcMessage,
  1551. DWORD *_pdwStubPhase);
  1552. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_AddAttachment_Proxy(
  1553. IMessage * This,
  1554. /* [in] */ BSTR URL,
  1555. /* [optional][in] */ BSTR UserName,
  1556. /* [optional][in] */ BSTR Password,
  1557. /* [retval][out] */ IBodyPart **ppBody);
  1558. void __RPC_STUB IMessage_AddAttachment_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_CreateMHTMLBody_Proxy(
  1564. IMessage * This,
  1565. /* [in] */ BSTR URL,
  1566. /* [defaultvalue][in] */ CdoMHTMLFlags Flags,
  1567. /* [optional][in] */ BSTR UserName,
  1568. /* [optional][in] */ BSTR Password);
  1569. void __RPC_STUB IMessage_CreateMHTMLBody_Stub(
  1570. IRpcStubBuffer *This,
  1571. IRpcChannelBuffer *_pRpcChannelBuffer,
  1572. PRPC_MESSAGE _pRpcMessage,
  1573. DWORD *_pdwStubPhase);
  1574. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_Forward_Proxy(
  1575. IMessage * This,
  1576. /* [retval][out] */ IMessage **ppMsg);
  1577. void __RPC_STUB IMessage_Forward_Stub(
  1578. IRpcStubBuffer *This,
  1579. IRpcChannelBuffer *_pRpcChannelBuffer,
  1580. PRPC_MESSAGE _pRpcMessage,
  1581. DWORD *_pdwStubPhase);
  1582. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_Post_Proxy(
  1583. IMessage * This);
  1584. void __RPC_STUB IMessage_Post_Stub(
  1585. IRpcStubBuffer *This,
  1586. IRpcChannelBuffer *_pRpcChannelBuffer,
  1587. PRPC_MESSAGE _pRpcMessage,
  1588. DWORD *_pdwStubPhase);
  1589. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_PostReply_Proxy(
  1590. IMessage * This,
  1591. /* [retval][out] */ IMessage **ppMsg);
  1592. void __RPC_STUB IMessage_PostReply_Stub(
  1593. IRpcStubBuffer *This,
  1594. IRpcChannelBuffer *_pRpcChannelBuffer,
  1595. PRPC_MESSAGE _pRpcMessage,
  1596. DWORD *_pdwStubPhase);
  1597. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_Reply_Proxy(
  1598. IMessage * This,
  1599. /* [retval][out] */ IMessage **ppMsg);
  1600. void __RPC_STUB IMessage_Reply_Stub(
  1601. IRpcStubBuffer *This,
  1602. IRpcChannelBuffer *_pRpcChannelBuffer,
  1603. PRPC_MESSAGE _pRpcMessage,
  1604. DWORD *_pdwStubPhase);
  1605. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_ReplyAll_Proxy(
  1606. IMessage * This,
  1607. /* [retval][out] */ IMessage **ppMsg);
  1608. void __RPC_STUB IMessage_ReplyAll_Stub(
  1609. IRpcStubBuffer *This,
  1610. IRpcChannelBuffer *_pRpcChannelBuffer,
  1611. PRPC_MESSAGE _pRpcMessage,
  1612. DWORD *_pdwStubPhase);
  1613. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_Send_Proxy(
  1614. IMessage * This);
  1615. void __RPC_STUB IMessage_Send_Stub(
  1616. IRpcStubBuffer *This,
  1617. IRpcChannelBuffer *_pRpcChannelBuffer,
  1618. PRPC_MESSAGE _pRpcMessage,
  1619. DWORD *_pdwStubPhase);
  1620. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_GetStream_Proxy(
  1621. IMessage * This,
  1622. /* [retval][out] */ _Stream **ppStream);
  1623. void __RPC_STUB IMessage_GetStream_Stub(
  1624. IRpcStubBuffer *This,
  1625. IRpcChannelBuffer *_pRpcChannelBuffer,
  1626. PRPC_MESSAGE _pRpcMessage,
  1627. DWORD *_pdwStubPhase);
  1628. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessage_GetInterface_Proxy(
  1629. IMessage * This,
  1630. /* [in] */ BSTR Interface,
  1631. /* [retval][out] */ IDispatch **ppUnknown);
  1632. void __RPC_STUB IMessage_GetInterface_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. #endif /* __IMessage_INTERFACE_DEFINED__ */
  1638. #ifndef __IBodyPart_INTERFACE_DEFINED__
  1639. #define __IBodyPart_INTERFACE_DEFINED__
  1640. /* interface IBodyPart */
  1641. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  1642. EXTERN_C const IID IID_IBodyPart;
  1643. #if defined(__cplusplus) && !defined(CINTERFACE)
  1644. MIDL_INTERFACE("CD000021-8B95-11D1-82DB-00C04FB1625D")
  1645. IBodyPart : public IDispatch
  1646. {
  1647. public:
  1648. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_BodyParts(
  1649. /* [retval][out] */ IBodyParts **varBodyParts) = 0;
  1650. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentTransferEncoding(
  1651. /* [retval][out] */ BSTR *pContentTransferEncoding) = 0;
  1652. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentTransferEncoding(
  1653. /* [in] */ BSTR varContentTransferEncoding) = 0;
  1654. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentMediaType(
  1655. /* [retval][out] */ BSTR *pContentMediaType) = 0;
  1656. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentMediaType(
  1657. /* [in] */ BSTR varContentMediaType) = 0;
  1658. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  1659. /* [retval][out] */ Fields **varFields) = 0;
  1660. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Charset(
  1661. /* [retval][out] */ BSTR *pCharset) = 0;
  1662. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Charset(
  1663. /* [in] */ BSTR varCharset) = 0;
  1664. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FileName(
  1665. /* [retval][out] */ BSTR *varFileName) = 0;
  1666. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_DataSource(
  1667. /* [retval][out] */ IDataSource **varDataSource) = 0;
  1668. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentClass(
  1669. /* [retval][out] */ BSTR *pContentClass) = 0;
  1670. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentClass(
  1671. /* [in] */ BSTR varContentClass) = 0;
  1672. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentClassName(
  1673. /* [retval][out] */ BSTR *pContentClassName) = 0;
  1674. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentClassName(
  1675. /* [in] */ BSTR varContentClassName) = 0;
  1676. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent(
  1677. /* [retval][out] */ IBodyPart **varParent) = 0;
  1678. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE AddBodyPart(
  1679. /* [defaultvalue][in] */ long Index,
  1680. /* [retval][out] */ IBodyPart **ppPart) = 0;
  1681. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveToFile(
  1682. /* [in] */ BSTR FileName) = 0;
  1683. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEncodedContentStream(
  1684. /* [retval][out] */ _Stream **ppStream) = 0;
  1685. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDecodedContentStream(
  1686. /* [retval][out] */ _Stream **ppStream) = 0;
  1687. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetStream(
  1688. /* [retval][out] */ _Stream **ppStream) = 0;
  1689. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFieldParameter(
  1690. /* [in] */ BSTR FieldName,
  1691. /* [in] */ BSTR Parameter,
  1692. /* [retval][out] */ BSTR *pbstrValue) = 0;
  1693. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetInterface(
  1694. /* [in] */ BSTR Interface,
  1695. /* [retval][out] */ IDispatch **ppUnknown) = 0;
  1696. };
  1697. #else /* C style interface */
  1698. typedef struct IBodyPartVtbl
  1699. {
  1700. BEGIN_INTERFACE
  1701. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1702. IBodyPart * This,
  1703. /* [in] */ REFIID riid,
  1704. /* [iid_is][out] */ void **ppvObject);
  1705. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1706. IBodyPart * This);
  1707. ULONG ( STDMETHODCALLTYPE *Release )(
  1708. IBodyPart * This);
  1709. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1710. IBodyPart * This,
  1711. /* [out] */ UINT *pctinfo);
  1712. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1713. IBodyPart * This,
  1714. /* [in] */ UINT iTInfo,
  1715. /* [in] */ LCID lcid,
  1716. /* [out] */ ITypeInfo **ppTInfo);
  1717. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1718. IBodyPart * This,
  1719. /* [in] */ REFIID riid,
  1720. /* [size_is][in] */ LPOLESTR *rgszNames,
  1721. /* [in] */ UINT cNames,
  1722. /* [in] */ LCID lcid,
  1723. /* [size_is][out] */ DISPID *rgDispId);
  1724. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1725. IBodyPart * This,
  1726. /* [in] */ DISPID dispIdMember,
  1727. /* [in] */ REFIID riid,
  1728. /* [in] */ LCID lcid,
  1729. /* [in] */ WORD wFlags,
  1730. /* [out][in] */ DISPPARAMS *pDispParams,
  1731. /* [out] */ VARIANT *pVarResult,
  1732. /* [out] */ EXCEPINFO *pExcepInfo,
  1733. /* [out] */ UINT *puArgErr);
  1734. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BodyParts )(
  1735. IBodyPart * This,
  1736. /* [retval][out] */ IBodyParts **varBodyParts);
  1737. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ContentTransferEncoding )(
  1738. IBodyPart * This,
  1739. /* [retval][out] */ BSTR *pContentTransferEncoding);
  1740. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ContentTransferEncoding )(
  1741. IBodyPart * This,
  1742. /* [in] */ BSTR varContentTransferEncoding);
  1743. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ContentMediaType )(
  1744. IBodyPart * This,
  1745. /* [retval][out] */ BSTR *pContentMediaType);
  1746. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ContentMediaType )(
  1747. IBodyPart * This,
  1748. /* [in] */ BSTR varContentMediaType);
  1749. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  1750. IBodyPart * This,
  1751. /* [retval][out] */ Fields **varFields);
  1752. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Charset )(
  1753. IBodyPart * This,
  1754. /* [retval][out] */ BSTR *pCharset);
  1755. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Charset )(
  1756. IBodyPart * This,
  1757. /* [in] */ BSTR varCharset);
  1758. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )(
  1759. IBodyPart * This,
  1760. /* [retval][out] */ BSTR *varFileName);
  1761. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DataSource )(
  1762. IBodyPart * This,
  1763. /* [retval][out] */ IDataSource **varDataSource);
  1764. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ContentClass )(
  1765. IBodyPart * This,
  1766. /* [retval][out] */ BSTR *pContentClass);
  1767. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ContentClass )(
  1768. IBodyPart * This,
  1769. /* [in] */ BSTR varContentClass);
  1770. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ContentClassName )(
  1771. IBodyPart * This,
  1772. /* [retval][out] */ BSTR *pContentClassName);
  1773. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ContentClassName )(
  1774. IBodyPart * This,
  1775. /* [in] */ BSTR varContentClassName);
  1776. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )(
  1777. IBodyPart * This,
  1778. /* [retval][out] */ IBodyPart **varParent);
  1779. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddBodyPart )(
  1780. IBodyPart * This,
  1781. /* [defaultvalue][in] */ long Index,
  1782. /* [retval][out] */ IBodyPart **ppPart);
  1783. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveToFile )(
  1784. IBodyPart * This,
  1785. /* [in] */ BSTR FileName);
  1786. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetEncodedContentStream )(
  1787. IBodyPart * This,
  1788. /* [retval][out] */ _Stream **ppStream);
  1789. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDecodedContentStream )(
  1790. IBodyPart * This,
  1791. /* [retval][out] */ _Stream **ppStream);
  1792. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetStream )(
  1793. IBodyPart * This,
  1794. /* [retval][out] */ _Stream **ppStream);
  1795. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFieldParameter )(
  1796. IBodyPart * This,
  1797. /* [in] */ BSTR FieldName,
  1798. /* [in] */ BSTR Parameter,
  1799. /* [retval][out] */ BSTR *pbstrValue);
  1800. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInterface )(
  1801. IBodyPart * This,
  1802. /* [in] */ BSTR Interface,
  1803. /* [retval][out] */ IDispatch **ppUnknown);
  1804. END_INTERFACE
  1805. } IBodyPartVtbl;
  1806. interface IBodyPart
  1807. {
  1808. CONST_VTBL struct IBodyPartVtbl *lpVtbl;
  1809. };
  1810. #ifdef COBJMACROS
  1811. #define IBodyPart_QueryInterface(This,riid,ppvObject) \
  1812. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1813. #define IBodyPart_AddRef(This) \
  1814. (This)->lpVtbl -> AddRef(This)
  1815. #define IBodyPart_Release(This) \
  1816. (This)->lpVtbl -> Release(This)
  1817. #define IBodyPart_GetTypeInfoCount(This,pctinfo) \
  1818. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1819. #define IBodyPart_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1820. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1821. #define IBodyPart_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1822. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1823. #define IBodyPart_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1824. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1825. #define IBodyPart_get_BodyParts(This,varBodyParts) \
  1826. (This)->lpVtbl -> get_BodyParts(This,varBodyParts)
  1827. #define IBodyPart_get_ContentTransferEncoding(This,pContentTransferEncoding) \
  1828. (This)->lpVtbl -> get_ContentTransferEncoding(This,pContentTransferEncoding)
  1829. #define IBodyPart_put_ContentTransferEncoding(This,varContentTransferEncoding) \
  1830. (This)->lpVtbl -> put_ContentTransferEncoding(This,varContentTransferEncoding)
  1831. #define IBodyPart_get_ContentMediaType(This,pContentMediaType) \
  1832. (This)->lpVtbl -> get_ContentMediaType(This,pContentMediaType)
  1833. #define IBodyPart_put_ContentMediaType(This,varContentMediaType) \
  1834. (This)->lpVtbl -> put_ContentMediaType(This,varContentMediaType)
  1835. #define IBodyPart_get_Fields(This,varFields) \
  1836. (This)->lpVtbl -> get_Fields(This,varFields)
  1837. #define IBodyPart_get_Charset(This,pCharset) \
  1838. (This)->lpVtbl -> get_Charset(This,pCharset)
  1839. #define IBodyPart_put_Charset(This,varCharset) \
  1840. (This)->lpVtbl -> put_Charset(This,varCharset)
  1841. #define IBodyPart_get_FileName(This,varFileName) \
  1842. (This)->lpVtbl -> get_FileName(This,varFileName)
  1843. #define IBodyPart_get_DataSource(This,varDataSource) \
  1844. (This)->lpVtbl -> get_DataSource(This,varDataSource)
  1845. #define IBodyPart_get_ContentClass(This,pContentClass) \
  1846. (This)->lpVtbl -> get_ContentClass(This,pContentClass)
  1847. #define IBodyPart_put_ContentClass(This,varContentClass) \
  1848. (This)->lpVtbl -> put_ContentClass(This,varContentClass)
  1849. #define IBodyPart_get_ContentClassName(This,pContentClassName) \
  1850. (This)->lpVtbl -> get_ContentClassName(This,pContentClassName)
  1851. #define IBodyPart_put_ContentClassName(This,varContentClassName) \
  1852. (This)->lpVtbl -> put_ContentClassName(This,varContentClassName)
  1853. #define IBodyPart_get_Parent(This,varParent) \
  1854. (This)->lpVtbl -> get_Parent(This,varParent)
  1855. #define IBodyPart_AddBodyPart(This,Index,ppPart) \
  1856. (This)->lpVtbl -> AddBodyPart(This,Index,ppPart)
  1857. #define IBodyPart_SaveToFile(This,FileName) \
  1858. (This)->lpVtbl -> SaveToFile(This,FileName)
  1859. #define IBodyPart_GetEncodedContentStream(This,ppStream) \
  1860. (This)->lpVtbl -> GetEncodedContentStream(This,ppStream)
  1861. #define IBodyPart_GetDecodedContentStream(This,ppStream) \
  1862. (This)->lpVtbl -> GetDecodedContentStream(This,ppStream)
  1863. #define IBodyPart_GetStream(This,ppStream) \
  1864. (This)->lpVtbl -> GetStream(This,ppStream)
  1865. #define IBodyPart_GetFieldParameter(This,FieldName,Parameter,pbstrValue) \
  1866. (This)->lpVtbl -> GetFieldParameter(This,FieldName,Parameter,pbstrValue)
  1867. #define IBodyPart_GetInterface(This,Interface,ppUnknown) \
  1868. (This)->lpVtbl -> GetInterface(This,Interface,ppUnknown)
  1869. #endif /* COBJMACROS */
  1870. #endif /* C style interface */
  1871. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_BodyParts_Proxy(
  1872. IBodyPart * This,
  1873. /* [retval][out] */ IBodyParts **varBodyParts);
  1874. void __RPC_STUB IBodyPart_get_BodyParts_Stub(
  1875. IRpcStubBuffer *This,
  1876. IRpcChannelBuffer *_pRpcChannelBuffer,
  1877. PRPC_MESSAGE _pRpcMessage,
  1878. DWORD *_pdwStubPhase);
  1879. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_ContentTransferEncoding_Proxy(
  1880. IBodyPart * This,
  1881. /* [retval][out] */ BSTR *pContentTransferEncoding);
  1882. void __RPC_STUB IBodyPart_get_ContentTransferEncoding_Stub(
  1883. IRpcStubBuffer *This,
  1884. IRpcChannelBuffer *_pRpcChannelBuffer,
  1885. PRPC_MESSAGE _pRpcMessage,
  1886. DWORD *_pdwStubPhase);
  1887. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_put_ContentTransferEncoding_Proxy(
  1888. IBodyPart * This,
  1889. /* [in] */ BSTR varContentTransferEncoding);
  1890. void __RPC_STUB IBodyPart_put_ContentTransferEncoding_Stub(
  1891. IRpcStubBuffer *This,
  1892. IRpcChannelBuffer *_pRpcChannelBuffer,
  1893. PRPC_MESSAGE _pRpcMessage,
  1894. DWORD *_pdwStubPhase);
  1895. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_ContentMediaType_Proxy(
  1896. IBodyPart * This,
  1897. /* [retval][out] */ BSTR *pContentMediaType);
  1898. void __RPC_STUB IBodyPart_get_ContentMediaType_Stub(
  1899. IRpcStubBuffer *This,
  1900. IRpcChannelBuffer *_pRpcChannelBuffer,
  1901. PRPC_MESSAGE _pRpcMessage,
  1902. DWORD *_pdwStubPhase);
  1903. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_put_ContentMediaType_Proxy(
  1904. IBodyPart * This,
  1905. /* [in] */ BSTR varContentMediaType);
  1906. void __RPC_STUB IBodyPart_put_ContentMediaType_Stub(
  1907. IRpcStubBuffer *This,
  1908. IRpcChannelBuffer *_pRpcChannelBuffer,
  1909. PRPC_MESSAGE _pRpcMessage,
  1910. DWORD *_pdwStubPhase);
  1911. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_Fields_Proxy(
  1912. IBodyPart * This,
  1913. /* [retval][out] */ Fields **varFields);
  1914. void __RPC_STUB IBodyPart_get_Fields_Stub(
  1915. IRpcStubBuffer *This,
  1916. IRpcChannelBuffer *_pRpcChannelBuffer,
  1917. PRPC_MESSAGE _pRpcMessage,
  1918. DWORD *_pdwStubPhase);
  1919. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_Charset_Proxy(
  1920. IBodyPart * This,
  1921. /* [retval][out] */ BSTR *pCharset);
  1922. void __RPC_STUB IBodyPart_get_Charset_Stub(
  1923. IRpcStubBuffer *This,
  1924. IRpcChannelBuffer *_pRpcChannelBuffer,
  1925. PRPC_MESSAGE _pRpcMessage,
  1926. DWORD *_pdwStubPhase);
  1927. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_put_Charset_Proxy(
  1928. IBodyPart * This,
  1929. /* [in] */ BSTR varCharset);
  1930. void __RPC_STUB IBodyPart_put_Charset_Stub(
  1931. IRpcStubBuffer *This,
  1932. IRpcChannelBuffer *_pRpcChannelBuffer,
  1933. PRPC_MESSAGE _pRpcMessage,
  1934. DWORD *_pdwStubPhase);
  1935. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_FileName_Proxy(
  1936. IBodyPart * This,
  1937. /* [retval][out] */ BSTR *varFileName);
  1938. void __RPC_STUB IBodyPart_get_FileName_Stub(
  1939. IRpcStubBuffer *This,
  1940. IRpcChannelBuffer *_pRpcChannelBuffer,
  1941. PRPC_MESSAGE _pRpcMessage,
  1942. DWORD *_pdwStubPhase);
  1943. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_DataSource_Proxy(
  1944. IBodyPart * This,
  1945. /* [retval][out] */ IDataSource **varDataSource);
  1946. void __RPC_STUB IBodyPart_get_DataSource_Stub(
  1947. IRpcStubBuffer *This,
  1948. IRpcChannelBuffer *_pRpcChannelBuffer,
  1949. PRPC_MESSAGE _pRpcMessage,
  1950. DWORD *_pdwStubPhase);
  1951. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_ContentClass_Proxy(
  1952. IBodyPart * This,
  1953. /* [retval][out] */ BSTR *pContentClass);
  1954. void __RPC_STUB IBodyPart_get_ContentClass_Stub(
  1955. IRpcStubBuffer *This,
  1956. IRpcChannelBuffer *_pRpcChannelBuffer,
  1957. PRPC_MESSAGE _pRpcMessage,
  1958. DWORD *_pdwStubPhase);
  1959. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_put_ContentClass_Proxy(
  1960. IBodyPart * This,
  1961. /* [in] */ BSTR varContentClass);
  1962. void __RPC_STUB IBodyPart_put_ContentClass_Stub(
  1963. IRpcStubBuffer *This,
  1964. IRpcChannelBuffer *_pRpcChannelBuffer,
  1965. PRPC_MESSAGE _pRpcMessage,
  1966. DWORD *_pdwStubPhase);
  1967. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_ContentClassName_Proxy(
  1968. IBodyPart * This,
  1969. /* [retval][out] */ BSTR *pContentClassName);
  1970. void __RPC_STUB IBodyPart_get_ContentClassName_Stub(
  1971. IRpcStubBuffer *This,
  1972. IRpcChannelBuffer *_pRpcChannelBuffer,
  1973. PRPC_MESSAGE _pRpcMessage,
  1974. DWORD *_pdwStubPhase);
  1975. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_put_ContentClassName_Proxy(
  1976. IBodyPart * This,
  1977. /* [in] */ BSTR varContentClassName);
  1978. void __RPC_STUB IBodyPart_put_ContentClassName_Stub(
  1979. IRpcStubBuffer *This,
  1980. IRpcChannelBuffer *_pRpcChannelBuffer,
  1981. PRPC_MESSAGE _pRpcMessage,
  1982. DWORD *_pdwStubPhase);
  1983. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_get_Parent_Proxy(
  1984. IBodyPart * This,
  1985. /* [retval][out] */ IBodyPart **varParent);
  1986. void __RPC_STUB IBodyPart_get_Parent_Stub(
  1987. IRpcStubBuffer *This,
  1988. IRpcChannelBuffer *_pRpcChannelBuffer,
  1989. PRPC_MESSAGE _pRpcMessage,
  1990. DWORD *_pdwStubPhase);
  1991. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_AddBodyPart_Proxy(
  1992. IBodyPart * This,
  1993. /* [defaultvalue][in] */ long Index,
  1994. /* [retval][out] */ IBodyPart **ppPart);
  1995. void __RPC_STUB IBodyPart_AddBodyPart_Stub(
  1996. IRpcStubBuffer *This,
  1997. IRpcChannelBuffer *_pRpcChannelBuffer,
  1998. PRPC_MESSAGE _pRpcMessage,
  1999. DWORD *_pdwStubPhase);
  2000. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_SaveToFile_Proxy(
  2001. IBodyPart * This,
  2002. /* [in] */ BSTR FileName);
  2003. void __RPC_STUB IBodyPart_SaveToFile_Stub(
  2004. IRpcStubBuffer *This,
  2005. IRpcChannelBuffer *_pRpcChannelBuffer,
  2006. PRPC_MESSAGE _pRpcMessage,
  2007. DWORD *_pdwStubPhase);
  2008. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_GetEncodedContentStream_Proxy(
  2009. IBodyPart * This,
  2010. /* [retval][out] */ _Stream **ppStream);
  2011. void __RPC_STUB IBodyPart_GetEncodedContentStream_Stub(
  2012. IRpcStubBuffer *This,
  2013. IRpcChannelBuffer *_pRpcChannelBuffer,
  2014. PRPC_MESSAGE _pRpcMessage,
  2015. DWORD *_pdwStubPhase);
  2016. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_GetDecodedContentStream_Proxy(
  2017. IBodyPart * This,
  2018. /* [retval][out] */ _Stream **ppStream);
  2019. void __RPC_STUB IBodyPart_GetDecodedContentStream_Stub(
  2020. IRpcStubBuffer *This,
  2021. IRpcChannelBuffer *_pRpcChannelBuffer,
  2022. PRPC_MESSAGE _pRpcMessage,
  2023. DWORD *_pdwStubPhase);
  2024. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_GetStream_Proxy(
  2025. IBodyPart * This,
  2026. /* [retval][out] */ _Stream **ppStream);
  2027. void __RPC_STUB IBodyPart_GetStream_Stub(
  2028. IRpcStubBuffer *This,
  2029. IRpcChannelBuffer *_pRpcChannelBuffer,
  2030. PRPC_MESSAGE _pRpcMessage,
  2031. DWORD *_pdwStubPhase);
  2032. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_GetFieldParameter_Proxy(
  2033. IBodyPart * This,
  2034. /* [in] */ BSTR FieldName,
  2035. /* [in] */ BSTR Parameter,
  2036. /* [retval][out] */ BSTR *pbstrValue);
  2037. void __RPC_STUB IBodyPart_GetFieldParameter_Stub(
  2038. IRpcStubBuffer *This,
  2039. IRpcChannelBuffer *_pRpcChannelBuffer,
  2040. PRPC_MESSAGE _pRpcMessage,
  2041. DWORD *_pdwStubPhase);
  2042. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyPart_GetInterface_Proxy(
  2043. IBodyPart * This,
  2044. /* [in] */ BSTR Interface,
  2045. /* [retval][out] */ IDispatch **ppUnknown);
  2046. void __RPC_STUB IBodyPart_GetInterface_Stub(
  2047. IRpcStubBuffer *This,
  2048. IRpcChannelBuffer *_pRpcChannelBuffer,
  2049. PRPC_MESSAGE _pRpcMessage,
  2050. DWORD *_pdwStubPhase);
  2051. #endif /* __IBodyPart_INTERFACE_DEFINED__ */
  2052. #ifndef __IConfiguration_INTERFACE_DEFINED__
  2053. #define __IConfiguration_INTERFACE_DEFINED__
  2054. /* interface IConfiguration */
  2055. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2056. EXTERN_C const IID IID_IConfiguration;
  2057. #if defined(__cplusplus) && !defined(CINTERFACE)
  2058. MIDL_INTERFACE("CD000022-8B95-11D1-82DB-00C04FB1625D")
  2059. IConfiguration : public IDispatch
  2060. {
  2061. public:
  2062. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Fields(
  2063. /* [retval][out] */ Fields **varFields) = 0;
  2064. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
  2065. /* [in] */ CdoConfigSource LoadFrom,
  2066. /* [optional][in] */ BSTR URL) = 0;
  2067. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetInterface(
  2068. /* [in] */ BSTR Interface,
  2069. /* [retval][out] */ IDispatch **ppUnknown) = 0;
  2070. };
  2071. #else /* C style interface */
  2072. typedef struct IConfigurationVtbl
  2073. {
  2074. BEGIN_INTERFACE
  2075. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2076. IConfiguration * This,
  2077. /* [in] */ REFIID riid,
  2078. /* [iid_is][out] */ void **ppvObject);
  2079. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2080. IConfiguration * This);
  2081. ULONG ( STDMETHODCALLTYPE *Release )(
  2082. IConfiguration * This);
  2083. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2084. IConfiguration * This,
  2085. /* [out] */ UINT *pctinfo);
  2086. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2087. IConfiguration * This,
  2088. /* [in] */ UINT iTInfo,
  2089. /* [in] */ LCID lcid,
  2090. /* [out] */ ITypeInfo **ppTInfo);
  2091. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2092. IConfiguration * This,
  2093. /* [in] */ REFIID riid,
  2094. /* [size_is][in] */ LPOLESTR *rgszNames,
  2095. /* [in] */ UINT cNames,
  2096. /* [in] */ LCID lcid,
  2097. /* [size_is][out] */ DISPID *rgDispId);
  2098. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2099. IConfiguration * This,
  2100. /* [in] */ DISPID dispIdMember,
  2101. /* [in] */ REFIID riid,
  2102. /* [in] */ LCID lcid,
  2103. /* [in] */ WORD wFlags,
  2104. /* [out][in] */ DISPPARAMS *pDispParams,
  2105. /* [out] */ VARIANT *pVarResult,
  2106. /* [out] */ EXCEPINFO *pExcepInfo,
  2107. /* [out] */ UINT *puArgErr);
  2108. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Fields )(
  2109. IConfiguration * This,
  2110. /* [retval][out] */ Fields **varFields);
  2111. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  2112. IConfiguration * This,
  2113. /* [in] */ CdoConfigSource LoadFrom,
  2114. /* [optional][in] */ BSTR URL);
  2115. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInterface )(
  2116. IConfiguration * This,
  2117. /* [in] */ BSTR Interface,
  2118. /* [retval][out] */ IDispatch **ppUnknown);
  2119. END_INTERFACE
  2120. } IConfigurationVtbl;
  2121. interface IConfiguration
  2122. {
  2123. CONST_VTBL struct IConfigurationVtbl *lpVtbl;
  2124. };
  2125. #ifdef COBJMACROS
  2126. #define IConfiguration_QueryInterface(This,riid,ppvObject) \
  2127. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2128. #define IConfiguration_AddRef(This) \
  2129. (This)->lpVtbl -> AddRef(This)
  2130. #define IConfiguration_Release(This) \
  2131. (This)->lpVtbl -> Release(This)
  2132. #define IConfiguration_GetTypeInfoCount(This,pctinfo) \
  2133. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2134. #define IConfiguration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2135. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2136. #define IConfiguration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2137. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2138. #define IConfiguration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2139. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2140. #define IConfiguration_get_Fields(This,varFields) \
  2141. (This)->lpVtbl -> get_Fields(This,varFields)
  2142. #define IConfiguration_Load(This,LoadFrom,URL) \
  2143. (This)->lpVtbl -> Load(This,LoadFrom,URL)
  2144. #define IConfiguration_GetInterface(This,Interface,ppUnknown) \
  2145. (This)->lpVtbl -> GetInterface(This,Interface,ppUnknown)
  2146. #endif /* COBJMACROS */
  2147. #endif /* C style interface */
  2148. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IConfiguration_get_Fields_Proxy(
  2149. IConfiguration * This,
  2150. /* [retval][out] */ Fields **varFields);
  2151. void __RPC_STUB IConfiguration_get_Fields_Stub(
  2152. IRpcStubBuffer *This,
  2153. IRpcChannelBuffer *_pRpcChannelBuffer,
  2154. PRPC_MESSAGE _pRpcMessage,
  2155. DWORD *_pdwStubPhase);
  2156. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IConfiguration_Load_Proxy(
  2157. IConfiguration * This,
  2158. /* [in] */ CdoConfigSource LoadFrom,
  2159. /* [optional][in] */ BSTR URL);
  2160. void __RPC_STUB IConfiguration_Load_Stub(
  2161. IRpcStubBuffer *This,
  2162. IRpcChannelBuffer *_pRpcChannelBuffer,
  2163. PRPC_MESSAGE _pRpcMessage,
  2164. DWORD *_pdwStubPhase);
  2165. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IConfiguration_GetInterface_Proxy(
  2166. IConfiguration * This,
  2167. /* [in] */ BSTR Interface,
  2168. /* [retval][out] */ IDispatch **ppUnknown);
  2169. void __RPC_STUB IConfiguration_GetInterface_Stub(
  2170. IRpcStubBuffer *This,
  2171. IRpcChannelBuffer *_pRpcChannelBuffer,
  2172. PRPC_MESSAGE _pRpcMessage,
  2173. DWORD *_pdwStubPhase);
  2174. #endif /* __IConfiguration_INTERFACE_DEFINED__ */
  2175. #ifndef __IMessages_INTERFACE_DEFINED__
  2176. #define __IMessages_INTERFACE_DEFINED__
  2177. /* interface IMessages */
  2178. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2179. EXTERN_C const IID IID_IMessages;
  2180. #if defined(__cplusplus) && !defined(CINTERFACE)
  2181. MIDL_INTERFACE("CD000025-8B95-11D1-82DB-00C04FB1625D")
  2182. IMessages : public IDispatch
  2183. {
  2184. public:
  2185. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item(
  2186. long Index,
  2187. /* [retval][out] */ IMessage **ppMessage) = 0;
  2188. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2189. /* [retval][out] */ long *varCount) = 0;
  2190. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete(
  2191. /* [in] */ long Index) = 0;
  2192. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2193. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2194. /* [retval][out] */ IUnknown **retval) = 0;
  2195. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Filename(
  2196. VARIANT var,
  2197. /* [retval][out] */ BSTR *Filename) = 0;
  2198. };
  2199. #else /* C style interface */
  2200. typedef struct IMessagesVtbl
  2201. {
  2202. BEGIN_INTERFACE
  2203. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2204. IMessages * This,
  2205. /* [in] */ REFIID riid,
  2206. /* [iid_is][out] */ void **ppvObject);
  2207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2208. IMessages * This);
  2209. ULONG ( STDMETHODCALLTYPE *Release )(
  2210. IMessages * This);
  2211. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2212. IMessages * This,
  2213. /* [out] */ UINT *pctinfo);
  2214. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2215. IMessages * This,
  2216. /* [in] */ UINT iTInfo,
  2217. /* [in] */ LCID lcid,
  2218. /* [out] */ ITypeInfo **ppTInfo);
  2219. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2220. IMessages * This,
  2221. /* [in] */ REFIID riid,
  2222. /* [size_is][in] */ LPOLESTR *rgszNames,
  2223. /* [in] */ UINT cNames,
  2224. /* [in] */ LCID lcid,
  2225. /* [size_is][out] */ DISPID *rgDispId);
  2226. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2227. IMessages * This,
  2228. /* [in] */ DISPID dispIdMember,
  2229. /* [in] */ REFIID riid,
  2230. /* [in] */ LCID lcid,
  2231. /* [in] */ WORD wFlags,
  2232. /* [out][in] */ DISPPARAMS *pDispParams,
  2233. /* [out] */ VARIANT *pVarResult,
  2234. /* [out] */ EXCEPINFO *pExcepInfo,
  2235. /* [out] */ UINT *puArgErr);
  2236. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  2237. IMessages * This,
  2238. long Index,
  2239. /* [retval][out] */ IMessage **ppMessage);
  2240. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2241. IMessages * This,
  2242. /* [retval][out] */ long *varCount);
  2243. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  2244. IMessages * This,
  2245. /* [in] */ long Index);
  2246. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  2247. IMessages * This);
  2248. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2249. IMessages * This,
  2250. /* [retval][out] */ IUnknown **retval);
  2251. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Filename )(
  2252. IMessages * This,
  2253. VARIANT var,
  2254. /* [retval][out] */ BSTR *Filename);
  2255. END_INTERFACE
  2256. } IMessagesVtbl;
  2257. interface IMessages
  2258. {
  2259. CONST_VTBL struct IMessagesVtbl *lpVtbl;
  2260. };
  2261. #ifdef COBJMACROS
  2262. #define IMessages_QueryInterface(This,riid,ppvObject) \
  2263. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2264. #define IMessages_AddRef(This) \
  2265. (This)->lpVtbl -> AddRef(This)
  2266. #define IMessages_Release(This) \
  2267. (This)->lpVtbl -> Release(This)
  2268. #define IMessages_GetTypeInfoCount(This,pctinfo) \
  2269. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2270. #define IMessages_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2271. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2272. #define IMessages_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2273. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2274. #define IMessages_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2275. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2276. #define IMessages_get_Item(This,Index,ppMessage) \
  2277. (This)->lpVtbl -> get_Item(This,Index,ppMessage)
  2278. #define IMessages_get_Count(This,varCount) \
  2279. (This)->lpVtbl -> get_Count(This,varCount)
  2280. #define IMessages_Delete(This,Index) \
  2281. (This)->lpVtbl -> Delete(This,Index)
  2282. #define IMessages_DeleteAll(This) \
  2283. (This)->lpVtbl -> DeleteAll(This)
  2284. #define IMessages_get__NewEnum(This,retval) \
  2285. (This)->lpVtbl -> get__NewEnum(This,retval)
  2286. #define IMessages_get_Filename(This,var,Filename) \
  2287. (This)->lpVtbl -> get_Filename(This,var,Filename)
  2288. #endif /* COBJMACROS */
  2289. #endif /* C style interface */
  2290. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessages_get_Item_Proxy(
  2291. IMessages * This,
  2292. long Index,
  2293. /* [retval][out] */ IMessage **ppMessage);
  2294. void __RPC_STUB IMessages_get_Item_Stub(
  2295. IRpcStubBuffer *This,
  2296. IRpcChannelBuffer *_pRpcChannelBuffer,
  2297. PRPC_MESSAGE _pRpcMessage,
  2298. DWORD *_pdwStubPhase);
  2299. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessages_get_Count_Proxy(
  2300. IMessages * This,
  2301. /* [retval][out] */ long *varCount);
  2302. void __RPC_STUB IMessages_get_Count_Stub(
  2303. IRpcStubBuffer *This,
  2304. IRpcChannelBuffer *_pRpcChannelBuffer,
  2305. PRPC_MESSAGE _pRpcMessage,
  2306. DWORD *_pdwStubPhase);
  2307. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessages_Delete_Proxy(
  2308. IMessages * This,
  2309. /* [in] */ long Index);
  2310. void __RPC_STUB IMessages_Delete_Stub(
  2311. IRpcStubBuffer *This,
  2312. IRpcChannelBuffer *_pRpcChannelBuffer,
  2313. PRPC_MESSAGE _pRpcMessage,
  2314. DWORD *_pdwStubPhase);
  2315. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessages_DeleteAll_Proxy(
  2316. IMessages * This);
  2317. void __RPC_STUB IMessages_DeleteAll_Stub(
  2318. IRpcStubBuffer *This,
  2319. IRpcChannelBuffer *_pRpcChannelBuffer,
  2320. PRPC_MESSAGE _pRpcMessage,
  2321. DWORD *_pdwStubPhase);
  2322. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IMessages_get__NewEnum_Proxy(
  2323. IMessages * This,
  2324. /* [retval][out] */ IUnknown **retval);
  2325. void __RPC_STUB IMessages_get__NewEnum_Stub(
  2326. IRpcStubBuffer *This,
  2327. IRpcChannelBuffer *_pRpcChannelBuffer,
  2328. PRPC_MESSAGE _pRpcMessage,
  2329. DWORD *_pdwStubPhase);
  2330. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessages_get_Filename_Proxy(
  2331. IMessages * This,
  2332. VARIANT var,
  2333. /* [retval][out] */ BSTR *Filename);
  2334. void __RPC_STUB IMessages_get_Filename_Stub(
  2335. IRpcStubBuffer *This,
  2336. IRpcChannelBuffer *_pRpcChannelBuffer,
  2337. PRPC_MESSAGE _pRpcMessage,
  2338. DWORD *_pdwStubPhase);
  2339. #endif /* __IMessages_INTERFACE_DEFINED__ */
  2340. #ifndef __IDropDirectory_INTERFACE_DEFINED__
  2341. #define __IDropDirectory_INTERFACE_DEFINED__
  2342. /* interface IDropDirectory */
  2343. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2344. EXTERN_C const IID IID_IDropDirectory;
  2345. #if defined(__cplusplus) && !defined(CINTERFACE)
  2346. MIDL_INTERFACE("CD000024-8B95-11D1-82DB-00C04FB1625D")
  2347. IDropDirectory : public IDispatch
  2348. {
  2349. public:
  2350. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessages(
  2351. /* [optional][in] */ BSTR DirName,
  2352. /* [retval][out] */ IMessages **Msgs) = 0;
  2353. };
  2354. #else /* C style interface */
  2355. typedef struct IDropDirectoryVtbl
  2356. {
  2357. BEGIN_INTERFACE
  2358. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2359. IDropDirectory * This,
  2360. /* [in] */ REFIID riid,
  2361. /* [iid_is][out] */ void **ppvObject);
  2362. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2363. IDropDirectory * This);
  2364. ULONG ( STDMETHODCALLTYPE *Release )(
  2365. IDropDirectory * This);
  2366. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2367. IDropDirectory * This,
  2368. /* [out] */ UINT *pctinfo);
  2369. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2370. IDropDirectory * This,
  2371. /* [in] */ UINT iTInfo,
  2372. /* [in] */ LCID lcid,
  2373. /* [out] */ ITypeInfo **ppTInfo);
  2374. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2375. IDropDirectory * This,
  2376. /* [in] */ REFIID riid,
  2377. /* [size_is][in] */ LPOLESTR *rgszNames,
  2378. /* [in] */ UINT cNames,
  2379. /* [in] */ LCID lcid,
  2380. /* [size_is][out] */ DISPID *rgDispId);
  2381. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2382. IDropDirectory * This,
  2383. /* [in] */ DISPID dispIdMember,
  2384. /* [in] */ REFIID riid,
  2385. /* [in] */ LCID lcid,
  2386. /* [in] */ WORD wFlags,
  2387. /* [out][in] */ DISPPARAMS *pDispParams,
  2388. /* [out] */ VARIANT *pVarResult,
  2389. /* [out] */ EXCEPINFO *pExcepInfo,
  2390. /* [out] */ UINT *puArgErr);
  2391. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessages )(
  2392. IDropDirectory * This,
  2393. /* [optional][in] */ BSTR DirName,
  2394. /* [retval][out] */ IMessages **Msgs);
  2395. END_INTERFACE
  2396. } IDropDirectoryVtbl;
  2397. interface IDropDirectory
  2398. {
  2399. CONST_VTBL struct IDropDirectoryVtbl *lpVtbl;
  2400. };
  2401. #ifdef COBJMACROS
  2402. #define IDropDirectory_QueryInterface(This,riid,ppvObject) \
  2403. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2404. #define IDropDirectory_AddRef(This) \
  2405. (This)->lpVtbl -> AddRef(This)
  2406. #define IDropDirectory_Release(This) \
  2407. (This)->lpVtbl -> Release(This)
  2408. #define IDropDirectory_GetTypeInfoCount(This,pctinfo) \
  2409. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2410. #define IDropDirectory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2411. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2412. #define IDropDirectory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2413. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2414. #define IDropDirectory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2415. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2416. #define IDropDirectory_GetMessages(This,DirName,Msgs) \
  2417. (This)->lpVtbl -> GetMessages(This,DirName,Msgs)
  2418. #endif /* COBJMACROS */
  2419. #endif /* C style interface */
  2420. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IDropDirectory_GetMessages_Proxy(
  2421. IDropDirectory * This,
  2422. /* [optional][in] */ BSTR DirName,
  2423. /* [retval][out] */ IMessages **Msgs);
  2424. void __RPC_STUB IDropDirectory_GetMessages_Stub(
  2425. IRpcStubBuffer *This,
  2426. IRpcChannelBuffer *_pRpcChannelBuffer,
  2427. PRPC_MESSAGE _pRpcMessage,
  2428. DWORD *_pdwStubPhase);
  2429. #endif /* __IDropDirectory_INTERFACE_DEFINED__ */
  2430. #ifndef __IBodyParts_INTERFACE_DEFINED__
  2431. #define __IBodyParts_INTERFACE_DEFINED__
  2432. /* interface IBodyParts */
  2433. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2434. EXTERN_C const IID IID_IBodyParts;
  2435. #if defined(__cplusplus) && !defined(CINTERFACE)
  2436. MIDL_INTERFACE("CD000023-8B95-11D1-82DB-00C04FB1625D")
  2437. IBodyParts : public IDispatch
  2438. {
  2439. public:
  2440. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2441. /* [retval][out] */ long *varCount) = 0;
  2442. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item(
  2443. /* [in] */ long Index,
  2444. /* [retval][out] */ IBodyPart **ppBody) = 0;
  2445. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2446. /* [retval][out] */ IUnknown **retval) = 0;
  2447. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete(
  2448. /* [in] */ VARIANT varBP) = 0;
  2449. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
  2450. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2451. /* [defaultvalue][in] */ long Index,
  2452. /* [retval][out] */ IBodyPart **ppPart) = 0;
  2453. };
  2454. #else /* C style interface */
  2455. typedef struct IBodyPartsVtbl
  2456. {
  2457. BEGIN_INTERFACE
  2458. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2459. IBodyParts * This,
  2460. /* [in] */ REFIID riid,
  2461. /* [iid_is][out] */ void **ppvObject);
  2462. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2463. IBodyParts * This);
  2464. ULONG ( STDMETHODCALLTYPE *Release )(
  2465. IBodyParts * This);
  2466. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2467. IBodyParts * This,
  2468. /* [out] */ UINT *pctinfo);
  2469. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2470. IBodyParts * This,
  2471. /* [in] */ UINT iTInfo,
  2472. /* [in] */ LCID lcid,
  2473. /* [out] */ ITypeInfo **ppTInfo);
  2474. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2475. IBodyParts * This,
  2476. /* [in] */ REFIID riid,
  2477. /* [size_is][in] */ LPOLESTR *rgszNames,
  2478. /* [in] */ UINT cNames,
  2479. /* [in] */ LCID lcid,
  2480. /* [size_is][out] */ DISPID *rgDispId);
  2481. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2482. IBodyParts * This,
  2483. /* [in] */ DISPID dispIdMember,
  2484. /* [in] */ REFIID riid,
  2485. /* [in] */ LCID lcid,
  2486. /* [in] */ WORD wFlags,
  2487. /* [out][in] */ DISPPARAMS *pDispParams,
  2488. /* [out] */ VARIANT *pVarResult,
  2489. /* [out] */ EXCEPINFO *pExcepInfo,
  2490. /* [out] */ UINT *puArgErr);
  2491. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2492. IBodyParts * This,
  2493. /* [retval][out] */ long *varCount);
  2494. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  2495. IBodyParts * This,
  2496. /* [in] */ long Index,
  2497. /* [retval][out] */ IBodyPart **ppBody);
  2498. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2499. IBodyParts * This,
  2500. /* [retval][out] */ IUnknown **retval);
  2501. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  2502. IBodyParts * This,
  2503. /* [in] */ VARIANT varBP);
  2504. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
  2505. IBodyParts * This);
  2506. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2507. IBodyParts * This,
  2508. /* [defaultvalue][in] */ long Index,
  2509. /* [retval][out] */ IBodyPart **ppPart);
  2510. END_INTERFACE
  2511. } IBodyPartsVtbl;
  2512. interface IBodyParts
  2513. {
  2514. CONST_VTBL struct IBodyPartsVtbl *lpVtbl;
  2515. };
  2516. #ifdef COBJMACROS
  2517. #define IBodyParts_QueryInterface(This,riid,ppvObject) \
  2518. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2519. #define IBodyParts_AddRef(This) \
  2520. (This)->lpVtbl -> AddRef(This)
  2521. #define IBodyParts_Release(This) \
  2522. (This)->lpVtbl -> Release(This)
  2523. #define IBodyParts_GetTypeInfoCount(This,pctinfo) \
  2524. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2525. #define IBodyParts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2526. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2527. #define IBodyParts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2528. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2529. #define IBodyParts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2530. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2531. #define IBodyParts_get_Count(This,varCount) \
  2532. (This)->lpVtbl -> get_Count(This,varCount)
  2533. #define IBodyParts_get_Item(This,Index,ppBody) \
  2534. (This)->lpVtbl -> get_Item(This,Index,ppBody)
  2535. #define IBodyParts_get__NewEnum(This,retval) \
  2536. (This)->lpVtbl -> get__NewEnum(This,retval)
  2537. #define IBodyParts_Delete(This,varBP) \
  2538. (This)->lpVtbl -> Delete(This,varBP)
  2539. #define IBodyParts_DeleteAll(This) \
  2540. (This)->lpVtbl -> DeleteAll(This)
  2541. #define IBodyParts_Add(This,Index,ppPart) \
  2542. (This)->lpVtbl -> Add(This,Index,ppPart)
  2543. #endif /* COBJMACROS */
  2544. #endif /* C style interface */
  2545. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyParts_get_Count_Proxy(
  2546. IBodyParts * This,
  2547. /* [retval][out] */ long *varCount);
  2548. void __RPC_STUB IBodyParts_get_Count_Stub(
  2549. IRpcStubBuffer *This,
  2550. IRpcChannelBuffer *_pRpcChannelBuffer,
  2551. PRPC_MESSAGE _pRpcMessage,
  2552. DWORD *_pdwStubPhase);
  2553. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IBodyParts_get_Item_Proxy(
  2554. IBodyParts * This,
  2555. /* [in] */ long Index,
  2556. /* [retval][out] */ IBodyPart **ppBody);
  2557. void __RPC_STUB IBodyParts_get_Item_Stub(
  2558. IRpcStubBuffer *This,
  2559. IRpcChannelBuffer *_pRpcChannelBuffer,
  2560. PRPC_MESSAGE _pRpcMessage,
  2561. DWORD *_pdwStubPhase);
  2562. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IBodyParts_get__NewEnum_Proxy(
  2563. IBodyParts * This,
  2564. /* [retval][out] */ IUnknown **retval);
  2565. void __RPC_STUB IBodyParts_get__NewEnum_Stub(
  2566. IRpcStubBuffer *This,
  2567. IRpcChannelBuffer *_pRpcChannelBuffer,
  2568. PRPC_MESSAGE _pRpcMessage,
  2569. DWORD *_pdwStubPhase);
  2570. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyParts_Delete_Proxy(
  2571. IBodyParts * This,
  2572. /* [in] */ VARIANT varBP);
  2573. void __RPC_STUB IBodyParts_Delete_Stub(
  2574. IRpcStubBuffer *This,
  2575. IRpcChannelBuffer *_pRpcChannelBuffer,
  2576. PRPC_MESSAGE _pRpcMessage,
  2577. DWORD *_pdwStubPhase);
  2578. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyParts_DeleteAll_Proxy(
  2579. IBodyParts * This);
  2580. void __RPC_STUB IBodyParts_DeleteAll_Stub(
  2581. IRpcStubBuffer *This,
  2582. IRpcChannelBuffer *_pRpcChannelBuffer,
  2583. PRPC_MESSAGE _pRpcMessage,
  2584. DWORD *_pdwStubPhase);
  2585. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IBodyParts_Add_Proxy(
  2586. IBodyParts * This,
  2587. /* [defaultvalue][in] */ long Index,
  2588. /* [retval][out] */ IBodyPart **ppPart);
  2589. void __RPC_STUB IBodyParts_Add_Stub(
  2590. IRpcStubBuffer *This,
  2591. IRpcChannelBuffer *_pRpcChannelBuffer,
  2592. PRPC_MESSAGE _pRpcMessage,
  2593. DWORD *_pdwStubPhase);
  2594. #endif /* __IBodyParts_INTERFACE_DEFINED__ */
  2595. #ifndef __ISMTPScriptConnector_INTERFACE_DEFINED__
  2596. #define __ISMTPScriptConnector_INTERFACE_DEFINED__
  2597. /* interface ISMTPScriptConnector */
  2598. /* [hidden][unique][helpstring][nonextensible][dual][uuid][object] */
  2599. EXTERN_C const IID IID_ISMTPScriptConnector;
  2600. #if defined(__cplusplus) && !defined(CINTERFACE)
  2601. MIDL_INTERFACE("CD000030-8B95-11D1-82DB-00C04FB1625D")
  2602. ISMTPScriptConnector : public IDispatch
  2603. {
  2604. public:
  2605. };
  2606. #else /* C style interface */
  2607. typedef struct ISMTPScriptConnectorVtbl
  2608. {
  2609. BEGIN_INTERFACE
  2610. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2611. ISMTPScriptConnector * This,
  2612. /* [in] */ REFIID riid,
  2613. /* [iid_is][out] */ void **ppvObject);
  2614. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2615. ISMTPScriptConnector * This);
  2616. ULONG ( STDMETHODCALLTYPE *Release )(
  2617. ISMTPScriptConnector * This);
  2618. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2619. ISMTPScriptConnector * This,
  2620. /* [out] */ UINT *pctinfo);
  2621. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2622. ISMTPScriptConnector * This,
  2623. /* [in] */ UINT iTInfo,
  2624. /* [in] */ LCID lcid,
  2625. /* [out] */ ITypeInfo **ppTInfo);
  2626. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2627. ISMTPScriptConnector * This,
  2628. /* [in] */ REFIID riid,
  2629. /* [size_is][in] */ LPOLESTR *rgszNames,
  2630. /* [in] */ UINT cNames,
  2631. /* [in] */ LCID lcid,
  2632. /* [size_is][out] */ DISPID *rgDispId);
  2633. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2634. ISMTPScriptConnector * This,
  2635. /* [in] */ DISPID dispIdMember,
  2636. /* [in] */ REFIID riid,
  2637. /* [in] */ LCID lcid,
  2638. /* [in] */ WORD wFlags,
  2639. /* [out][in] */ DISPPARAMS *pDispParams,
  2640. /* [out] */ VARIANT *pVarResult,
  2641. /* [out] */ EXCEPINFO *pExcepInfo,
  2642. /* [out] */ UINT *puArgErr);
  2643. END_INTERFACE
  2644. } ISMTPScriptConnectorVtbl;
  2645. interface ISMTPScriptConnector
  2646. {
  2647. CONST_VTBL struct ISMTPScriptConnectorVtbl *lpVtbl;
  2648. };
  2649. #ifdef COBJMACROS
  2650. #define ISMTPScriptConnector_QueryInterface(This,riid,ppvObject) \
  2651. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2652. #define ISMTPScriptConnector_AddRef(This) \
  2653. (This)->lpVtbl -> AddRef(This)
  2654. #define ISMTPScriptConnector_Release(This) \
  2655. (This)->lpVtbl -> Release(This)
  2656. #define ISMTPScriptConnector_GetTypeInfoCount(This,pctinfo) \
  2657. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2658. #define ISMTPScriptConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2659. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2660. #define ISMTPScriptConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2661. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2662. #define ISMTPScriptConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2663. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2664. #endif /* COBJMACROS */
  2665. #endif /* C style interface */
  2666. #endif /* __ISMTPScriptConnector_INTERFACE_DEFINED__ */
  2667. #ifndef __INNTPEarlyScriptConnector_INTERFACE_DEFINED__
  2668. #define __INNTPEarlyScriptConnector_INTERFACE_DEFINED__
  2669. /* interface INNTPEarlyScriptConnector */
  2670. /* [hidden][unique][helpstring][nonextensible][dual][uuid][object] */
  2671. EXTERN_C const IID IID_INNTPEarlyScriptConnector;
  2672. #if defined(__cplusplus) && !defined(CINTERFACE)
  2673. MIDL_INTERFACE("CD000034-8B95-11D1-82DB-00C04FB1625D")
  2674. INNTPEarlyScriptConnector : public IDispatch
  2675. {
  2676. public:
  2677. };
  2678. #else /* C style interface */
  2679. typedef struct INNTPEarlyScriptConnectorVtbl
  2680. {
  2681. BEGIN_INTERFACE
  2682. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2683. INNTPEarlyScriptConnector * This,
  2684. /* [in] */ REFIID riid,
  2685. /* [iid_is][out] */ void **ppvObject);
  2686. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2687. INNTPEarlyScriptConnector * This);
  2688. ULONG ( STDMETHODCALLTYPE *Release )(
  2689. INNTPEarlyScriptConnector * This);
  2690. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2691. INNTPEarlyScriptConnector * This,
  2692. /* [out] */ UINT *pctinfo);
  2693. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2694. INNTPEarlyScriptConnector * This,
  2695. /* [in] */ UINT iTInfo,
  2696. /* [in] */ LCID lcid,
  2697. /* [out] */ ITypeInfo **ppTInfo);
  2698. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2699. INNTPEarlyScriptConnector * This,
  2700. /* [in] */ REFIID riid,
  2701. /* [size_is][in] */ LPOLESTR *rgszNames,
  2702. /* [in] */ UINT cNames,
  2703. /* [in] */ LCID lcid,
  2704. /* [size_is][out] */ DISPID *rgDispId);
  2705. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2706. INNTPEarlyScriptConnector * This,
  2707. /* [in] */ DISPID dispIdMember,
  2708. /* [in] */ REFIID riid,
  2709. /* [in] */ LCID lcid,
  2710. /* [in] */ WORD wFlags,
  2711. /* [out][in] */ DISPPARAMS *pDispParams,
  2712. /* [out] */ VARIANT *pVarResult,
  2713. /* [out] */ EXCEPINFO *pExcepInfo,
  2714. /* [out] */ UINT *puArgErr);
  2715. END_INTERFACE
  2716. } INNTPEarlyScriptConnectorVtbl;
  2717. interface INNTPEarlyScriptConnector
  2718. {
  2719. CONST_VTBL struct INNTPEarlyScriptConnectorVtbl *lpVtbl;
  2720. };
  2721. #ifdef COBJMACROS
  2722. #define INNTPEarlyScriptConnector_QueryInterface(This,riid,ppvObject) \
  2723. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2724. #define INNTPEarlyScriptConnector_AddRef(This) \
  2725. (This)->lpVtbl -> AddRef(This)
  2726. #define INNTPEarlyScriptConnector_Release(This) \
  2727. (This)->lpVtbl -> Release(This)
  2728. #define INNTPEarlyScriptConnector_GetTypeInfoCount(This,pctinfo) \
  2729. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2730. #define INNTPEarlyScriptConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2731. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2732. #define INNTPEarlyScriptConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2733. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2734. #define INNTPEarlyScriptConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2735. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2736. #endif /* COBJMACROS */
  2737. #endif /* C style interface */
  2738. #endif /* __INNTPEarlyScriptConnector_INTERFACE_DEFINED__ */
  2739. #ifndef __INNTPPostScriptConnector_INTERFACE_DEFINED__
  2740. #define __INNTPPostScriptConnector_INTERFACE_DEFINED__
  2741. /* interface INNTPPostScriptConnector */
  2742. /* [hidden][unique][helpstring][nonextensible][dual][uuid][object] */
  2743. EXTERN_C const IID IID_INNTPPostScriptConnector;
  2744. #if defined(__cplusplus) && !defined(CINTERFACE)
  2745. MIDL_INTERFACE("CD000031-8B95-11D1-82DB-00C04FB1625D")
  2746. INNTPPostScriptConnector : public IDispatch
  2747. {
  2748. public:
  2749. };
  2750. #else /* C style interface */
  2751. typedef struct INNTPPostScriptConnectorVtbl
  2752. {
  2753. BEGIN_INTERFACE
  2754. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2755. INNTPPostScriptConnector * This,
  2756. /* [in] */ REFIID riid,
  2757. /* [iid_is][out] */ void **ppvObject);
  2758. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2759. INNTPPostScriptConnector * This);
  2760. ULONG ( STDMETHODCALLTYPE *Release )(
  2761. INNTPPostScriptConnector * This);
  2762. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2763. INNTPPostScriptConnector * This,
  2764. /* [out] */ UINT *pctinfo);
  2765. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2766. INNTPPostScriptConnector * This,
  2767. /* [in] */ UINT iTInfo,
  2768. /* [in] */ LCID lcid,
  2769. /* [out] */ ITypeInfo **ppTInfo);
  2770. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2771. INNTPPostScriptConnector * This,
  2772. /* [in] */ REFIID riid,
  2773. /* [size_is][in] */ LPOLESTR *rgszNames,
  2774. /* [in] */ UINT cNames,
  2775. /* [in] */ LCID lcid,
  2776. /* [size_is][out] */ DISPID *rgDispId);
  2777. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2778. INNTPPostScriptConnector * This,
  2779. /* [in] */ DISPID dispIdMember,
  2780. /* [in] */ REFIID riid,
  2781. /* [in] */ LCID lcid,
  2782. /* [in] */ WORD wFlags,
  2783. /* [out][in] */ DISPPARAMS *pDispParams,
  2784. /* [out] */ VARIANT *pVarResult,
  2785. /* [out] */ EXCEPINFO *pExcepInfo,
  2786. /* [out] */ UINT *puArgErr);
  2787. END_INTERFACE
  2788. } INNTPPostScriptConnectorVtbl;
  2789. interface INNTPPostScriptConnector
  2790. {
  2791. CONST_VTBL struct INNTPPostScriptConnectorVtbl *lpVtbl;
  2792. };
  2793. #ifdef COBJMACROS
  2794. #define INNTPPostScriptConnector_QueryInterface(This,riid,ppvObject) \
  2795. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2796. #define INNTPPostScriptConnector_AddRef(This) \
  2797. (This)->lpVtbl -> AddRef(This)
  2798. #define INNTPPostScriptConnector_Release(This) \
  2799. (This)->lpVtbl -> Release(This)
  2800. #define INNTPPostScriptConnector_GetTypeInfoCount(This,pctinfo) \
  2801. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2802. #define INNTPPostScriptConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2803. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2804. #define INNTPPostScriptConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2805. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2806. #define INNTPPostScriptConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2807. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2808. #endif /* COBJMACROS */
  2809. #endif /* C style interface */
  2810. #endif /* __INNTPPostScriptConnector_INTERFACE_DEFINED__ */
  2811. #ifndef __INNTPFinalScriptConnector_INTERFACE_DEFINED__
  2812. #define __INNTPFinalScriptConnector_INTERFACE_DEFINED__
  2813. /* interface INNTPFinalScriptConnector */
  2814. /* [hidden][unique][helpstring][nonextensible][dual][uuid][object] */
  2815. EXTERN_C const IID IID_INNTPFinalScriptConnector;
  2816. #if defined(__cplusplus) && !defined(CINTERFACE)
  2817. MIDL_INTERFACE("CD000032-8B95-11D1-82DB-00C04FB1625D")
  2818. INNTPFinalScriptConnector : public IDispatch
  2819. {
  2820. public:
  2821. };
  2822. #else /* C style interface */
  2823. typedef struct INNTPFinalScriptConnectorVtbl
  2824. {
  2825. BEGIN_INTERFACE
  2826. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2827. INNTPFinalScriptConnector * This,
  2828. /* [in] */ REFIID riid,
  2829. /* [iid_is][out] */ void **ppvObject);
  2830. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2831. INNTPFinalScriptConnector * This);
  2832. ULONG ( STDMETHODCALLTYPE *Release )(
  2833. INNTPFinalScriptConnector * This);
  2834. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2835. INNTPFinalScriptConnector * This,
  2836. /* [out] */ UINT *pctinfo);
  2837. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2838. INNTPFinalScriptConnector * This,
  2839. /* [in] */ UINT iTInfo,
  2840. /* [in] */ LCID lcid,
  2841. /* [out] */ ITypeInfo **ppTInfo);
  2842. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2843. INNTPFinalScriptConnector * This,
  2844. /* [in] */ REFIID riid,
  2845. /* [size_is][in] */ LPOLESTR *rgszNames,
  2846. /* [in] */ UINT cNames,
  2847. /* [in] */ LCID lcid,
  2848. /* [size_is][out] */ DISPID *rgDispId);
  2849. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2850. INNTPFinalScriptConnector * This,
  2851. /* [in] */ DISPID dispIdMember,
  2852. /* [in] */ REFIID riid,
  2853. /* [in] */ LCID lcid,
  2854. /* [in] */ WORD wFlags,
  2855. /* [out][in] */ DISPPARAMS *pDispParams,
  2856. /* [out] */ VARIANT *pVarResult,
  2857. /* [out] */ EXCEPINFO *pExcepInfo,
  2858. /* [out] */ UINT *puArgErr);
  2859. END_INTERFACE
  2860. } INNTPFinalScriptConnectorVtbl;
  2861. interface INNTPFinalScriptConnector
  2862. {
  2863. CONST_VTBL struct INNTPFinalScriptConnectorVtbl *lpVtbl;
  2864. };
  2865. #ifdef COBJMACROS
  2866. #define INNTPFinalScriptConnector_QueryInterface(This,riid,ppvObject) \
  2867. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2868. #define INNTPFinalScriptConnector_AddRef(This) \
  2869. (This)->lpVtbl -> AddRef(This)
  2870. #define INNTPFinalScriptConnector_Release(This) \
  2871. (This)->lpVtbl -> Release(This)
  2872. #define INNTPFinalScriptConnector_GetTypeInfoCount(This,pctinfo) \
  2873. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2874. #define INNTPFinalScriptConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2875. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2876. #define INNTPFinalScriptConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2877. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2878. #define INNTPFinalScriptConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2879. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2880. #endif /* COBJMACROS */
  2881. #endif /* C style interface */
  2882. #endif /* __INNTPFinalScriptConnector_INTERFACE_DEFINED__ */
  2883. #ifndef __ISMTPOnArrival_INTERFACE_DEFINED__
  2884. #define __ISMTPOnArrival_INTERFACE_DEFINED__
  2885. /* interface ISMTPOnArrival */
  2886. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2887. EXTERN_C const IID IID_ISMTPOnArrival;
  2888. #if defined(__cplusplus) && !defined(CINTERFACE)
  2889. MIDL_INTERFACE("CD000026-8B95-11D1-82DB-00C04FB1625D")
  2890. ISMTPOnArrival : public IDispatch
  2891. {
  2892. public:
  2893. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE OnArrival(
  2894. /* [in] */ IMessage *Msg,
  2895. /* [out][in] */ CdoEventStatus *EventStatus) = 0;
  2896. };
  2897. #else /* C style interface */
  2898. typedef struct ISMTPOnArrivalVtbl
  2899. {
  2900. BEGIN_INTERFACE
  2901. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2902. ISMTPOnArrival * This,
  2903. /* [in] */ REFIID riid,
  2904. /* [iid_is][out] */ void **ppvObject);
  2905. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2906. ISMTPOnArrival * This);
  2907. ULONG ( STDMETHODCALLTYPE *Release )(
  2908. ISMTPOnArrival * This);
  2909. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2910. ISMTPOnArrival * This,
  2911. /* [out] */ UINT *pctinfo);
  2912. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2913. ISMTPOnArrival * This,
  2914. /* [in] */ UINT iTInfo,
  2915. /* [in] */ LCID lcid,
  2916. /* [out] */ ITypeInfo **ppTInfo);
  2917. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2918. ISMTPOnArrival * This,
  2919. /* [in] */ REFIID riid,
  2920. /* [size_is][in] */ LPOLESTR *rgszNames,
  2921. /* [in] */ UINT cNames,
  2922. /* [in] */ LCID lcid,
  2923. /* [size_is][out] */ DISPID *rgDispId);
  2924. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2925. ISMTPOnArrival * This,
  2926. /* [in] */ DISPID dispIdMember,
  2927. /* [in] */ REFIID riid,
  2928. /* [in] */ LCID lcid,
  2929. /* [in] */ WORD wFlags,
  2930. /* [out][in] */ DISPPARAMS *pDispParams,
  2931. /* [out] */ VARIANT *pVarResult,
  2932. /* [out] */ EXCEPINFO *pExcepInfo,
  2933. /* [out] */ UINT *puArgErr);
  2934. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnArrival )(
  2935. ISMTPOnArrival * This,
  2936. /* [in] */ IMessage *Msg,
  2937. /* [out][in] */ CdoEventStatus *EventStatus);
  2938. END_INTERFACE
  2939. } ISMTPOnArrivalVtbl;
  2940. interface ISMTPOnArrival
  2941. {
  2942. CONST_VTBL struct ISMTPOnArrivalVtbl *lpVtbl;
  2943. };
  2944. #ifdef COBJMACROS
  2945. #define ISMTPOnArrival_QueryInterface(This,riid,ppvObject) \
  2946. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2947. #define ISMTPOnArrival_AddRef(This) \
  2948. (This)->lpVtbl -> AddRef(This)
  2949. #define ISMTPOnArrival_Release(This) \
  2950. (This)->lpVtbl -> Release(This)
  2951. #define ISMTPOnArrival_GetTypeInfoCount(This,pctinfo) \
  2952. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2953. #define ISMTPOnArrival_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2954. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2955. #define ISMTPOnArrival_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2956. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2957. #define ISMTPOnArrival_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2958. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2959. #define ISMTPOnArrival_OnArrival(This,Msg,EventStatus) \
  2960. (This)->lpVtbl -> OnArrival(This,Msg,EventStatus)
  2961. #endif /* COBJMACROS */
  2962. #endif /* C style interface */
  2963. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ISMTPOnArrival_OnArrival_Proxy(
  2964. ISMTPOnArrival * This,
  2965. /* [in] */ IMessage *Msg,
  2966. /* [out][in] */ CdoEventStatus *EventStatus);
  2967. void __RPC_STUB ISMTPOnArrival_OnArrival_Stub(
  2968. IRpcStubBuffer *This,
  2969. IRpcChannelBuffer *_pRpcChannelBuffer,
  2970. PRPC_MESSAGE _pRpcMessage,
  2971. DWORD *_pdwStubPhase);
  2972. #endif /* __ISMTPOnArrival_INTERFACE_DEFINED__ */
  2973. #ifndef __INNTPOnPostEarly_INTERFACE_DEFINED__
  2974. #define __INNTPOnPostEarly_INTERFACE_DEFINED__
  2975. /* interface INNTPOnPostEarly */
  2976. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  2977. EXTERN_C const IID IID_INNTPOnPostEarly;
  2978. #if defined(__cplusplus) && !defined(CINTERFACE)
  2979. MIDL_INTERFACE("CD000033-8B95-11D1-82DB-00C04FB1625D")
  2980. INNTPOnPostEarly : public IDispatch
  2981. {
  2982. public:
  2983. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE OnPostEarly(
  2984. /* [in] */ IMessage *Msg,
  2985. /* [out][in] */ CdoEventStatus *EventStatus) = 0;
  2986. };
  2987. #else /* C style interface */
  2988. typedef struct INNTPOnPostEarlyVtbl
  2989. {
  2990. BEGIN_INTERFACE
  2991. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2992. INNTPOnPostEarly * This,
  2993. /* [in] */ REFIID riid,
  2994. /* [iid_is][out] */ void **ppvObject);
  2995. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2996. INNTPOnPostEarly * This);
  2997. ULONG ( STDMETHODCALLTYPE *Release )(
  2998. INNTPOnPostEarly * This);
  2999. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3000. INNTPOnPostEarly * This,
  3001. /* [out] */ UINT *pctinfo);
  3002. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3003. INNTPOnPostEarly * This,
  3004. /* [in] */ UINT iTInfo,
  3005. /* [in] */ LCID lcid,
  3006. /* [out] */ ITypeInfo **ppTInfo);
  3007. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3008. INNTPOnPostEarly * This,
  3009. /* [in] */ REFIID riid,
  3010. /* [size_is][in] */ LPOLESTR *rgszNames,
  3011. /* [in] */ UINT cNames,
  3012. /* [in] */ LCID lcid,
  3013. /* [size_is][out] */ DISPID *rgDispId);
  3014. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3015. INNTPOnPostEarly * This,
  3016. /* [in] */ DISPID dispIdMember,
  3017. /* [in] */ REFIID riid,
  3018. /* [in] */ LCID lcid,
  3019. /* [in] */ WORD wFlags,
  3020. /* [out][in] */ DISPPARAMS *pDispParams,
  3021. /* [out] */ VARIANT *pVarResult,
  3022. /* [out] */ EXCEPINFO *pExcepInfo,
  3023. /* [out] */ UINT *puArgErr);
  3024. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnPostEarly )(
  3025. INNTPOnPostEarly * This,
  3026. /* [in] */ IMessage *Msg,
  3027. /* [out][in] */ CdoEventStatus *EventStatus);
  3028. END_INTERFACE
  3029. } INNTPOnPostEarlyVtbl;
  3030. interface INNTPOnPostEarly
  3031. {
  3032. CONST_VTBL struct INNTPOnPostEarlyVtbl *lpVtbl;
  3033. };
  3034. #ifdef COBJMACROS
  3035. #define INNTPOnPostEarly_QueryInterface(This,riid,ppvObject) \
  3036. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3037. #define INNTPOnPostEarly_AddRef(This) \
  3038. (This)->lpVtbl -> AddRef(This)
  3039. #define INNTPOnPostEarly_Release(This) \
  3040. (This)->lpVtbl -> Release(This)
  3041. #define INNTPOnPostEarly_GetTypeInfoCount(This,pctinfo) \
  3042. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3043. #define INNTPOnPostEarly_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3044. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3045. #define INNTPOnPostEarly_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3046. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3047. #define INNTPOnPostEarly_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3048. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3049. #define INNTPOnPostEarly_OnPostEarly(This,Msg,EventStatus) \
  3050. (This)->lpVtbl -> OnPostEarly(This,Msg,EventStatus)
  3051. #endif /* COBJMACROS */
  3052. #endif /* C style interface */
  3053. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE INNTPOnPostEarly_OnPostEarly_Proxy(
  3054. INNTPOnPostEarly * This,
  3055. /* [in] */ IMessage *Msg,
  3056. /* [out][in] */ CdoEventStatus *EventStatus);
  3057. void __RPC_STUB INNTPOnPostEarly_OnPostEarly_Stub(
  3058. IRpcStubBuffer *This,
  3059. IRpcChannelBuffer *_pRpcChannelBuffer,
  3060. PRPC_MESSAGE _pRpcMessage,
  3061. DWORD *_pdwStubPhase);
  3062. #endif /* __INNTPOnPostEarly_INTERFACE_DEFINED__ */
  3063. #ifndef __INNTPOnPost_INTERFACE_DEFINED__
  3064. #define __INNTPOnPost_INTERFACE_DEFINED__
  3065. /* interface INNTPOnPost */
  3066. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  3067. EXTERN_C const IID IID_INNTPOnPost;
  3068. #if defined(__cplusplus) && !defined(CINTERFACE)
  3069. MIDL_INTERFACE("CD000027-8B95-11D1-82DB-00C04FB1625D")
  3070. INNTPOnPost : public IDispatch
  3071. {
  3072. public:
  3073. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE OnPost(
  3074. /* [in] */ IMessage *Msg,
  3075. /* [out][in] */ CdoEventStatus *EventStatus) = 0;
  3076. };
  3077. #else /* C style interface */
  3078. typedef struct INNTPOnPostVtbl
  3079. {
  3080. BEGIN_INTERFACE
  3081. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3082. INNTPOnPost * This,
  3083. /* [in] */ REFIID riid,
  3084. /* [iid_is][out] */ void **ppvObject);
  3085. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3086. INNTPOnPost * This);
  3087. ULONG ( STDMETHODCALLTYPE *Release )(
  3088. INNTPOnPost * This);
  3089. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3090. INNTPOnPost * This,
  3091. /* [out] */ UINT *pctinfo);
  3092. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3093. INNTPOnPost * This,
  3094. /* [in] */ UINT iTInfo,
  3095. /* [in] */ LCID lcid,
  3096. /* [out] */ ITypeInfo **ppTInfo);
  3097. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3098. INNTPOnPost * This,
  3099. /* [in] */ REFIID riid,
  3100. /* [size_is][in] */ LPOLESTR *rgszNames,
  3101. /* [in] */ UINT cNames,
  3102. /* [in] */ LCID lcid,
  3103. /* [size_is][out] */ DISPID *rgDispId);
  3104. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3105. INNTPOnPost * This,
  3106. /* [in] */ DISPID dispIdMember,
  3107. /* [in] */ REFIID riid,
  3108. /* [in] */ LCID lcid,
  3109. /* [in] */ WORD wFlags,
  3110. /* [out][in] */ DISPPARAMS *pDispParams,
  3111. /* [out] */ VARIANT *pVarResult,
  3112. /* [out] */ EXCEPINFO *pExcepInfo,
  3113. /* [out] */ UINT *puArgErr);
  3114. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnPost )(
  3115. INNTPOnPost * This,
  3116. /* [in] */ IMessage *Msg,
  3117. /* [out][in] */ CdoEventStatus *EventStatus);
  3118. END_INTERFACE
  3119. } INNTPOnPostVtbl;
  3120. interface INNTPOnPost
  3121. {
  3122. CONST_VTBL struct INNTPOnPostVtbl *lpVtbl;
  3123. };
  3124. #ifdef COBJMACROS
  3125. #define INNTPOnPost_QueryInterface(This,riid,ppvObject) \
  3126. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3127. #define INNTPOnPost_AddRef(This) \
  3128. (This)->lpVtbl -> AddRef(This)
  3129. #define INNTPOnPost_Release(This) \
  3130. (This)->lpVtbl -> Release(This)
  3131. #define INNTPOnPost_GetTypeInfoCount(This,pctinfo) \
  3132. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3133. #define INNTPOnPost_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3134. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3135. #define INNTPOnPost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3136. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3137. #define INNTPOnPost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3138. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3139. #define INNTPOnPost_OnPost(This,Msg,EventStatus) \
  3140. (This)->lpVtbl -> OnPost(This,Msg,EventStatus)
  3141. #endif /* COBJMACROS */
  3142. #endif /* C style interface */
  3143. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE INNTPOnPost_OnPost_Proxy(
  3144. INNTPOnPost * This,
  3145. /* [in] */ IMessage *Msg,
  3146. /* [out][in] */ CdoEventStatus *EventStatus);
  3147. void __RPC_STUB INNTPOnPost_OnPost_Stub(
  3148. IRpcStubBuffer *This,
  3149. IRpcChannelBuffer *_pRpcChannelBuffer,
  3150. PRPC_MESSAGE _pRpcMessage,
  3151. DWORD *_pdwStubPhase);
  3152. #endif /* __INNTPOnPost_INTERFACE_DEFINED__ */
  3153. #ifndef __INNTPOnPostFinal_INTERFACE_DEFINED__
  3154. #define __INNTPOnPostFinal_INTERFACE_DEFINED__
  3155. /* interface INNTPOnPostFinal */
  3156. /* [unique][helpcontext][helpstring][nonextensible][dual][uuid][object] */
  3157. EXTERN_C const IID IID_INNTPOnPostFinal;
  3158. #if defined(__cplusplus) && !defined(CINTERFACE)
  3159. MIDL_INTERFACE("CD000028-8B95-11D1-82DB-00C04FB1625D")
  3160. INNTPOnPostFinal : public IDispatch
  3161. {
  3162. public:
  3163. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE OnPostFinal(
  3164. /* [in] */ IMessage *Msg,
  3165. /* [out][in] */ CdoEventStatus *EventStatus) = 0;
  3166. };
  3167. #else /* C style interface */
  3168. typedef struct INNTPOnPostFinalVtbl
  3169. {
  3170. BEGIN_INTERFACE
  3171. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3172. INNTPOnPostFinal * This,
  3173. /* [in] */ REFIID riid,
  3174. /* [iid_is][out] */ void **ppvObject);
  3175. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3176. INNTPOnPostFinal * This);
  3177. ULONG ( STDMETHODCALLTYPE *Release )(
  3178. INNTPOnPostFinal * This);
  3179. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3180. INNTPOnPostFinal * This,
  3181. /* [out] */ UINT *pctinfo);
  3182. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3183. INNTPOnPostFinal * This,
  3184. /* [in] */ UINT iTInfo,
  3185. /* [in] */ LCID lcid,
  3186. /* [out] */ ITypeInfo **ppTInfo);
  3187. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3188. INNTPOnPostFinal * This,
  3189. /* [in] */ REFIID riid,
  3190. /* [size_is][in] */ LPOLESTR *rgszNames,
  3191. /* [in] */ UINT cNames,
  3192. /* [in] */ LCID lcid,
  3193. /* [size_is][out] */ DISPID *rgDispId);
  3194. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3195. INNTPOnPostFinal * This,
  3196. /* [in] */ DISPID dispIdMember,
  3197. /* [in] */ REFIID riid,
  3198. /* [in] */ LCID lcid,
  3199. /* [in] */ WORD wFlags,
  3200. /* [out][in] */ DISPPARAMS *pDispParams,
  3201. /* [out] */ VARIANT *pVarResult,
  3202. /* [out] */ EXCEPINFO *pExcepInfo,
  3203. /* [out] */ UINT *puArgErr);
  3204. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnPostFinal )(
  3205. INNTPOnPostFinal * This,
  3206. /* [in] */ IMessage *Msg,
  3207. /* [out][in] */ CdoEventStatus *EventStatus);
  3208. END_INTERFACE
  3209. } INNTPOnPostFinalVtbl;
  3210. interface INNTPOnPostFinal
  3211. {
  3212. CONST_VTBL struct INNTPOnPostFinalVtbl *lpVtbl;
  3213. };
  3214. #ifdef COBJMACROS
  3215. #define INNTPOnPostFinal_QueryInterface(This,riid,ppvObject) \
  3216. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3217. #define INNTPOnPostFinal_AddRef(This) \
  3218. (This)->lpVtbl -> AddRef(This)
  3219. #define INNTPOnPostFinal_Release(This) \
  3220. (This)->lpVtbl -> Release(This)
  3221. #define INNTPOnPostFinal_GetTypeInfoCount(This,pctinfo) \
  3222. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3223. #define INNTPOnPostFinal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3224. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3225. #define INNTPOnPostFinal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3226. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3227. #define INNTPOnPostFinal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3228. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3229. #define INNTPOnPostFinal_OnPostFinal(This,Msg,EventStatus) \
  3230. (This)->lpVtbl -> OnPostFinal(This,Msg,EventStatus)
  3231. #endif /* COBJMACROS */
  3232. #endif /* C style interface */
  3233. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE INNTPOnPostFinal_OnPostFinal_Proxy(
  3234. INNTPOnPostFinal * This,
  3235. /* [in] */ IMessage *Msg,
  3236. /* [out][in] */ CdoEventStatus *EventStatus);
  3237. void __RPC_STUB INNTPOnPostFinal_OnPostFinal_Stub(
  3238. IRpcStubBuffer *This,
  3239. IRpcChannelBuffer *_pRpcChannelBuffer,
  3240. PRPC_MESSAGE _pRpcMessage,
  3241. DWORD *_pdwStubPhase);
  3242. #endif /* __INNTPOnPostFinal_INTERFACE_DEFINED__ */
  3243. #ifndef __IProxyObject_INTERFACE_DEFINED__
  3244. #define __IProxyObject_INTERFACE_DEFINED__
  3245. /* interface IProxyObject */
  3246. /* [unique][uuid][object] */
  3247. EXTERN_C const IID IID_IProxyObject;
  3248. #if defined(__cplusplus) && !defined(CINTERFACE)
  3249. MIDL_INTERFACE("CD000083-8B95-11D1-82DB-00C04FB1625D")
  3250. IProxyObject : public IUnknown
  3251. {
  3252. public:
  3253. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Object(
  3254. /* [out] */ IUnknown **ppParent) = 0;
  3255. };
  3256. #else /* C style interface */
  3257. typedef struct IProxyObjectVtbl
  3258. {
  3259. BEGIN_INTERFACE
  3260. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3261. IProxyObject * This,
  3262. /* [in] */ REFIID riid,
  3263. /* [iid_is][out] */ void **ppvObject);
  3264. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3265. IProxyObject * This);
  3266. ULONG ( STDMETHODCALLTYPE *Release )(
  3267. IProxyObject * This);
  3268. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Object )(
  3269. IProxyObject * This,
  3270. /* [out] */ IUnknown **ppParent);
  3271. END_INTERFACE
  3272. } IProxyObjectVtbl;
  3273. interface IProxyObject
  3274. {
  3275. CONST_VTBL struct IProxyObjectVtbl *lpVtbl;
  3276. };
  3277. #ifdef COBJMACROS
  3278. #define IProxyObject_QueryInterface(This,riid,ppvObject) \
  3279. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3280. #define IProxyObject_AddRef(This) \
  3281. (This)->lpVtbl -> AddRef(This)
  3282. #define IProxyObject_Release(This) \
  3283. (This)->lpVtbl -> Release(This)
  3284. #define IProxyObject_get_Object(This,ppParent) \
  3285. (This)->lpVtbl -> get_Object(This,ppParent)
  3286. #endif /* COBJMACROS */
  3287. #endif /* C style interface */
  3288. /* [propget] */ HRESULT STDMETHODCALLTYPE IProxyObject_get_Object_Proxy(
  3289. IProxyObject * This,
  3290. /* [out] */ IUnknown **ppParent);
  3291. void __RPC_STUB IProxyObject_get_Object_Stub(
  3292. IRpcStubBuffer *This,
  3293. IRpcChannelBuffer *_pRpcChannelBuffer,
  3294. PRPC_MESSAGE _pRpcMessage,
  3295. DWORD *_pdwStubPhase);
  3296. #endif /* __IProxyObject_INTERFACE_DEFINED__ */
  3297. #ifndef __IGetInterface_INTERFACE_DEFINED__
  3298. #define __IGetInterface_INTERFACE_DEFINED__
  3299. /* interface IGetInterface */
  3300. /* [unique][uuid][object] */
  3301. EXTERN_C const IID IID_IGetInterface;
  3302. #if defined(__cplusplus) && !defined(CINTERFACE)
  3303. MIDL_INTERFACE("CD0ff000-8B95-11D1-82DB-00C04FB1625D")
  3304. IGetInterface : public IUnknown
  3305. {
  3306. public:
  3307. virtual HRESULT STDMETHODCALLTYPE GetInterface(
  3308. /* [in] */ BSTR Interface,
  3309. /* [retval][out] */ IDispatch **ppUnknown) = 0;
  3310. virtual HRESULT STDMETHODCALLTYPE GetInterfaceInner(
  3311. /* [in] */ BSTR Interface,
  3312. /* [retval][out] */ IDispatch **ppUnknown) = 0;
  3313. };
  3314. #else /* C style interface */
  3315. typedef struct IGetInterfaceVtbl
  3316. {
  3317. BEGIN_INTERFACE
  3318. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3319. IGetInterface * This,
  3320. /* [in] */ REFIID riid,
  3321. /* [iid_is][out] */ void **ppvObject);
  3322. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3323. IGetInterface * This);
  3324. ULONG ( STDMETHODCALLTYPE *Release )(
  3325. IGetInterface * This);
  3326. HRESULT ( STDMETHODCALLTYPE *GetInterface )(
  3327. IGetInterface * This,
  3328. /* [in] */ BSTR Interface,
  3329. /* [retval][out] */ IDispatch **ppUnknown);
  3330. HRESULT ( STDMETHODCALLTYPE *GetInterfaceInner )(
  3331. IGetInterface * This,
  3332. /* [in] */ BSTR Interface,
  3333. /* [retval][out] */ IDispatch **ppUnknown);
  3334. END_INTERFACE
  3335. } IGetInterfaceVtbl;
  3336. interface IGetInterface
  3337. {
  3338. CONST_VTBL struct IGetInterfaceVtbl *lpVtbl;
  3339. };
  3340. #ifdef COBJMACROS
  3341. #define IGetInterface_QueryInterface(This,riid,ppvObject) \
  3342. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3343. #define IGetInterface_AddRef(This) \
  3344. (This)->lpVtbl -> AddRef(This)
  3345. #define IGetInterface_Release(This) \
  3346. (This)->lpVtbl -> Release(This)
  3347. #define IGetInterface_GetInterface(This,Interface,ppUnknown) \
  3348. (This)->lpVtbl -> GetInterface(This,Interface,ppUnknown)
  3349. #define IGetInterface_GetInterfaceInner(This,Interface,ppUnknown) \
  3350. (This)->lpVtbl -> GetInterfaceInner(This,Interface,ppUnknown)
  3351. #endif /* COBJMACROS */
  3352. #endif /* C style interface */
  3353. HRESULT STDMETHODCALLTYPE IGetInterface_GetInterface_Proxy(
  3354. IGetInterface * This,
  3355. /* [in] */ BSTR Interface,
  3356. /* [retval][out] */ IDispatch **ppUnknown);
  3357. void __RPC_STUB IGetInterface_GetInterface_Stub(
  3358. IRpcStubBuffer *This,
  3359. IRpcChannelBuffer *_pRpcChannelBuffer,
  3360. PRPC_MESSAGE _pRpcMessage,
  3361. DWORD *_pdwStubPhase);
  3362. HRESULT STDMETHODCALLTYPE IGetInterface_GetInterfaceInner_Proxy(
  3363. IGetInterface * This,
  3364. /* [in] */ BSTR Interface,
  3365. /* [retval][out] */ IDispatch **ppUnknown);
  3366. void __RPC_STUB IGetInterface_GetInterfaceInner_Stub(
  3367. IRpcStubBuffer *This,
  3368. IRpcChannelBuffer *_pRpcChannelBuffer,
  3369. PRPC_MESSAGE _pRpcMessage,
  3370. DWORD *_pdwStubPhase);
  3371. #endif /* __IGetInterface_INTERFACE_DEFINED__ */
  3372. #ifndef __CDO_LIBRARY_DEFINED__
  3373. #define __CDO_LIBRARY_DEFINED__
  3374. /* library CDO */
  3375. /* [helpstring][helpfile][version][uuid] */
  3376. EXTERN_C const IID LIBID_CDO;
  3377. /* module CdoCalendar */
  3378. /* [dllname] */
  3379. /* module CdoCharset */
  3380. /* [dllname] */
  3381. /* module CdoConfiguration */
  3382. /* [dllname] */
  3383. /* module CdoContentTypeValues */
  3384. /* [dllname] */
  3385. /* module CdoDAV */
  3386. /* [dllname] */
  3387. /* module CdoEncodingType */
  3388. /* [dllname] */
  3389. /* module CdoExchange */
  3390. /* [dllname] */
  3391. /* module CdoHTTPMail */
  3392. /* [dllname] */
  3393. /* module CdoInterfaces */
  3394. /* [dllname] */
  3395. /* module CdoMailHeader */
  3396. /* [dllname] */
  3397. /* module CdoNamespace */
  3398. /* [dllname] */
  3399. /* module CdoNNTPEnvelope */
  3400. /* [dllname] */
  3401. /* module CdoOffice */
  3402. /* [dllname] */
  3403. /* module CdoSMTPEnvelope */
  3404. /* [dllname] */
  3405. #ifndef __CdoErrors_MODULE_DEFINED__
  3406. #define __CdoErrors_MODULE_DEFINED__
  3407. /* module CdoErrors */
  3408. /* [dllname] */
  3409. const LONG CDO_E_UNCAUGHT_EXCEPTION = 0x80040201L;
  3410. const LONG CDO_E_NOT_OPENED = 0x80040202L;
  3411. const LONG CDO_E_UNSUPPORTED_DATASOURCE = 0x80040203L;
  3412. const LONG CDO_E_INVALID_PROPERTYNAME = 0x80040204L;
  3413. const LONG CDO_E_PROP_UNSUPPORTED = 0x80040205L;
  3414. const LONG CDO_E_INACTIVE = 0x80040206L;
  3415. const LONG CDO_E_NO_SUPPORT_FOR_OBJECTS = 0x80040207L;
  3416. const LONG CDO_E_NOT_AVAILABLE = 0x80040208L;
  3417. const LONG CDO_E_NO_DEFAULT_DROP_DIR = 0x80040209L;
  3418. const LONG CDO_E_SMTP_SERVER_REQUIRED = 0x8004020aL;
  3419. const LONG CDO_E_NNTP_SERVER_REQUIRED = 0x8004020bL;
  3420. const LONG CDO_E_RECIPIENT_MISSING = 0x8004020cL;
  3421. const LONG CDO_E_FROM_MISSING = 0x8004020dL;
  3422. const LONG CDO_E_SENDER_REJECTED = 0x8004020eL;
  3423. const LONG CDO_E_RECIPIENTS_REJECTED = 0x8004020fL;
  3424. const LONG CDO_E_NNTP_POST_FAILED = 0x80040210L;
  3425. const LONG CDO_E_SMTP_SEND_FAILED = 0x80040211L;
  3426. const LONG CDO_E_CONNECTION_DROPPED = 0x80040212L;
  3427. const LONG CDO_E_FAILED_TO_CONNECT = 0x80040213L;
  3428. const LONG CDO_E_INVALID_POST = 0x80040214L;
  3429. const LONG CDO_E_AUTHENTICATION_FAILURE = 0x80040215L;
  3430. const LONG CDO_E_INVALID_CONTENT_TYPE = 0x80040216L;
  3431. const LONG CDO_E_LOGON_FAILURE = 0x80040217L;
  3432. const LONG CDO_E_HTTP_NOT_FOUND = 0x80040218L;
  3433. const LONG CDO_E_HTTP_FORBIDDEN = 0x80040219L;
  3434. const LONG CDO_E_HTTP_FAILED = 0x8004021aL;
  3435. const LONG CDO_E_MULTIPART_NO_DATA = 0x8004021bL;
  3436. const LONG CDO_E_INVALID_ENCODING_FOR_MULTIPART = 0x8004021cL;
  3437. const LONG CDO_E_UNSAFE_OPERATION = 0x8004021dL;
  3438. const LONG CDO_E_PROP_NOT_FOUND = 0x8004021eL;
  3439. const LONG CDO_E_INVALID_SEND_OPTION = 0x80040220L;
  3440. const LONG CDO_E_INVALID_POST_OPTION = 0x80040221L;
  3441. const LONG CDO_E_NO_PICKUP_DIR = 0x80040222L;
  3442. const LONG CDO_E_NOT_ALL_DELETED = 0x80040223L;
  3443. const LONG CDO_E_NO_METHOD = 0x80040224L;
  3444. const LONG CDO_E_PROP_READONLY = 0x80040227L;
  3445. const LONG CDO_E_PROP_CANNOT_DELETE = 0x80040228L;
  3446. const LONG CDO_E_BAD_DATA = 0x80040229L;
  3447. const LONG CDO_E_PROP_NONHEADER = 0x8004022aL;
  3448. const LONG CDO_E_INVALID_CHARSET = 0x8004022bL;
  3449. const LONG CDO_E_ADOSTREAM_NOT_BOUND = 0x8004022cL;
  3450. const LONG CDO_E_CONTENTPROPXML_NOT_FOUND = 0x8004022dL;
  3451. const LONG CDO_E_CONTENTPROPXML_WRONG_CHARSET = 0x8004022eL;
  3452. const LONG CDO_E_CONTENTPROPXML_PARSE_FAILED = 0x8004022fL;
  3453. const LONG CDO_E_CONTENTPROPXML_CONVERT_FAILED = 0x80040230L;
  3454. const LONG CDO_E_NO_DIRECTORIES_SPECIFIED = 0x80040231L;
  3455. const LONG CDO_E_DIRECTORIES_UNREACHABLE = 0x80040232L;
  3456. const LONG CDO_E_BAD_SENDER = 0x80040233L;
  3457. const LONG CDO_E_SELF_BINDING = 0x80040234L;
  3458. const LONG CDO_E_BAD_ATTENDEE_DATA = 0x80040235L;
  3459. const LONG CDO_E_ROLE_NOMORE_AVAILABLE = 0x80040236L;
  3460. const LONG CDO_E_BAD_TASKTYPE_ONASSIGN = 0x80040237L;
  3461. const LONG CDO_E_NOT_ASSIGNEDTO_USER = 0x80040238L;
  3462. const LONG CDO_E_OUTOFDATE = 0x80040239L;
  3463. const LONG CDO_E_ARGUMENT1 = 0x80044000L;
  3464. const LONG CDO_E_ARGUMENT2 = 0x80044001L;
  3465. const LONG CDO_E_ARGUMENT3 = 0x80044002L;
  3466. const LONG CDO_E_ARGUMENT4 = 0x80044003L;
  3467. const LONG CDO_E_ARGUMENT5 = 0x80044004L;
  3468. const LONG CDO_E_NOT_FOUND = 0x800cce05L;
  3469. const LONG CDO_E_INVALID_ENCODING_TYPE = 0x800cce1dL;
  3470. #endif /* __CdoErrors_MODULE_DEFINED__ */
  3471. EXTERN_C const CLSID CLSID_Message;
  3472. #ifdef __cplusplus
  3473. class DECLSPEC_UUID("CD000001-8B95-11D1-82DB-00C04FB1625D")
  3474. Message;
  3475. #endif
  3476. EXTERN_C const CLSID CLSID_Configuration;
  3477. #ifdef __cplusplus
  3478. class DECLSPEC_UUID("CD000002-8B95-11D1-82DB-00C04FB1625D")
  3479. Configuration;
  3480. #endif
  3481. EXTERN_C const CLSID CLSID_DropDirectory;
  3482. #ifdef __cplusplus
  3483. class DECLSPEC_UUID("CD000004-8B95-11D1-82DB-00C04FB1625D")
  3484. DropDirectory;
  3485. #endif
  3486. EXTERN_C const CLSID CLSID_SMTPConnector;
  3487. #ifdef __cplusplus
  3488. class DECLSPEC_UUID("CD000008-8B95-11D1-82DB-00C04FB1625D")
  3489. SMTPConnector;
  3490. #endif
  3491. EXTERN_C const CLSID CLSID_NNTPEarlyConnector;
  3492. #ifdef __cplusplus
  3493. class DECLSPEC_UUID("CD000011-8B95-11D1-82DB-00C04FB1625D")
  3494. NNTPEarlyConnector;
  3495. #endif
  3496. EXTERN_C const CLSID CLSID_NNTPPostConnector;
  3497. #ifdef __cplusplus
  3498. class DECLSPEC_UUID("CD000009-8B95-11D1-82DB-00C04FB1625D")
  3499. NNTPPostConnector;
  3500. #endif
  3501. EXTERN_C const CLSID CLSID_NNTPFinalConnector;
  3502. #ifdef __cplusplus
  3503. class DECLSPEC_UUID("CD000010-8B95-11D1-82DB-00C04FB1625D")
  3504. NNTPFinalConnector;
  3505. #endif
  3506. #endif /* __CDO_LIBRARY_DEFINED__ */
  3507. #if defined __cplusplus && !defined CDO_NO_NAMESPACE
  3508. } // namespace CDO
  3509. #endif
  3510. /* Additional Prototypes for ALL interfaces */
  3511. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  3512. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  3513. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  3514. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  3515. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  3516. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  3517. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  3518. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  3519. /* end of Additional Prototypes */
  3520. #ifdef __cplusplus
  3521. }
  3522. #endif
  3523. #endif