Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5392 lines
167 KiB

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