CDONTS.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:157k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 5.03.0279 */
  4. /* at Thu Sep 30 09:32:08 1999
  5.  */
  6. /* Compiler settings for P:cdontrtmsrccdontsactmsg.idl:
  7.     Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  8.     error checks: allocation ref bounds_check enum stub_data 
  9.     VC __declspec() decoration level: 
  10.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11.          DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING(  )
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __RPCNDR_H_VERSION__
  21. #error this stub requires an updated version of <rpcndr.h>
  22. #endif // __RPCNDR_H_VERSION__
  23. #ifndef COM_NO_WINDOWS_H
  24. #include "windows.h"
  25. #include "ole2.h"
  26. #endif /*COM_NO_WINDOWS_H*/
  27. #ifndef __cdonts_h__
  28. #define __cdonts_h__
  29. /* Forward Declarations */ 
  30. #ifndef __INewMail_FWD_DEFINED__
  31. #define __INewMail_FWD_DEFINED__
  32. typedef interface INewMail INewMail;
  33. #endif  /* __INewMail_FWD_DEFINED__ */
  34. #ifndef __ISession_FWD_DEFINED__
  35. #define __ISession_FWD_DEFINED__
  36. typedef interface ISession ISession;
  37. #endif  /* __ISession_FWD_DEFINED__ */
  38. #ifndef __Folder_FWD_DEFINED__
  39. #define __Folder_FWD_DEFINED__
  40. typedef interface Folder Folder;
  41. #endif  /* __Folder_FWD_DEFINED__ */
  42. #ifndef __Messages_FWD_DEFINED__
  43. #define __Messages_FWD_DEFINED__
  44. typedef interface Messages Messages;
  45. #endif  /* __Messages_FWD_DEFINED__ */
  46. #ifndef __Message_FWD_DEFINED__
  47. #define __Message_FWD_DEFINED__
  48. typedef interface Message Message;
  49. #endif  /* __Message_FWD_DEFINED__ */
  50. #ifndef __Recipients_FWD_DEFINED__
  51. #define __Recipients_FWD_DEFINED__
  52. typedef interface Recipients Recipients;
  53. #endif  /* __Recipients_FWD_DEFINED__ */
  54. #ifndef __Recipient_FWD_DEFINED__
  55. #define __Recipient_FWD_DEFINED__
  56. typedef interface Recipient Recipient;
  57. #endif  /* __Recipient_FWD_DEFINED__ */
  58. #ifndef __Attachments_FWD_DEFINED__
  59. #define __Attachments_FWD_DEFINED__
  60. typedef interface Attachments Attachments;
  61. #endif  /* __Attachments_FWD_DEFINED__ */
  62. #ifndef __Attachment_FWD_DEFINED__
  63. #define __Attachment_FWD_DEFINED__
  64. typedef interface Attachment Attachment;
  65. #endif  /* __Attachment_FWD_DEFINED__ */
  66. #ifndef __AddressEntry_FWD_DEFINED__
  67. #define __AddressEntry_FWD_DEFINED__
  68. typedef interface AddressEntry AddressEntry;
  69. #endif  /* __AddressEntry_FWD_DEFINED__ */
  70. #ifndef __NewMail_FWD_DEFINED__
  71. #define __NewMail_FWD_DEFINED__
  72. #ifdef __cplusplus
  73. typedef class NewMail NewMail;
  74. #else
  75. typedef struct NewMail NewMail;
  76. #endif /* __cplusplus */
  77. #endif  /* __NewMail_FWD_DEFINED__ */
  78. #ifndef __Session_FWD_DEFINED__
  79. #define __Session_FWD_DEFINED__
  80. #ifdef __cplusplus
  81. typedef class Session Session;
  82. #else
  83. typedef struct Session Session;
  84. #endif /* __cplusplus */
  85. #endif  /* __Session_FWD_DEFINED__ */
  86. #ifndef __AddressEntry_FWD_DEFINED__
  87. #define __AddressEntry_FWD_DEFINED__
  88. typedef interface AddressEntry AddressEntry;
  89. #endif  /* __AddressEntry_FWD_DEFINED__ */
  90. #ifndef __Attachment_FWD_DEFINED__
  91. #define __Attachment_FWD_DEFINED__
  92. typedef interface Attachment Attachment;
  93. #endif  /* __Attachment_FWD_DEFINED__ */
  94. #ifndef __Attachments_FWD_DEFINED__
  95. #define __Attachments_FWD_DEFINED__
  96. typedef interface Attachments Attachments;
  97. #endif  /* __Attachments_FWD_DEFINED__ */
  98. #ifndef __Folder_FWD_DEFINED__
  99. #define __Folder_FWD_DEFINED__
  100. typedef interface Folder Folder;
  101. #endif  /* __Folder_FWD_DEFINED__ */
  102. #ifndef __Messages_FWD_DEFINED__
  103. #define __Messages_FWD_DEFINED__
  104. typedef interface Messages Messages;
  105. #endif  /* __Messages_FWD_DEFINED__ */
  106. #ifndef __Message_FWD_DEFINED__
  107. #define __Message_FWD_DEFINED__
  108. typedef interface Message Message;
  109. #endif  /* __Message_FWD_DEFINED__ */
  110. #ifndef __Recipient_FWD_DEFINED__
  111. #define __Recipient_FWD_DEFINED__
  112. typedef interface Recipient Recipient;
  113. #endif  /* __Recipient_FWD_DEFINED__ */
  114. #ifndef __Recipients_FWD_DEFINED__
  115. #define __Recipients_FWD_DEFINED__
  116. typedef interface Recipients Recipients;
  117. #endif  /* __Recipients_FWD_DEFINED__ */
  118. /* header files for imported files */
  119. #include "oaidl.h"
  120. #include "ocidl.h"
  121. #ifdef __cplusplus
  122. extern "C"{
  123. #endif 
  124. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  125. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  126. /* interface __MIDL_itf_actmsg_0000 */
  127. /* [local] */ 
  128. typedef /* [helpstring] */ 
  129. enum CdoErrorType
  130.     { CdoE_CALL_FAILED = 0x80004005,
  131. CdoE_NOT_ENOUGH_MEMORY = 0x8007000e,
  132. CdoE_INVALID_PARAMETER = 0x80070057,
  133. CdoE_INTERFACE_NOT_SUPPORTED = 0x80004002,
  134. CdoE_NO_ACCESS = 0x80070005,
  135. CdoE_NO_SUPPORT = 0x80040102,
  136. CdoE_BAD_CHARWIDTH = 0x80040103,
  137. CdoE_STRING_TOO_LONG = 0x80040105,
  138. CdoE_UNKNOWN_FLAGS = 0x80040106,
  139. CdoE_INVALID_ENTRYID = 0x80040107,
  140. CdoE_INVALID_OBJECT = 0x80040108,
  141. CdoE_OBJECT_CHANGED = 0x80040109,
  142. CdoE_OBJECT_DELETED = 0x8004010a,
  143. CdoE_BUSY = 0x8004010b,
  144. CdoE_NOT_ENOUGH_DISK = 0x8004010d,
  145. CdoE_NOT_ENOUGH_RESOURCES = 0x8004010e,
  146. CdoE_NOT_FOUND = 0x8004010f,
  147. CdoE_VERSION = 0x80040110,
  148. CdoE_LOGON_FAILED = 0x80040111,
  149. CdoE_SESSION_LIMIT = 0x80040112,
  150. CdoE_USER_CANCEL = 0x80040113,
  151. CdoE_UNABLE_TO_ABORT = 0x80040114,
  152. CdoE_NETWORK_ERROR = 0x80040115,
  153. CdoE_DISK_ERROR = 0x80040116,
  154. CdoE_TOO_COMPLEX = 0x80040117,
  155. CdoE_BAD_COLUMN = 0x80040118,
  156. CdoE_EXTENDED_ERROR = 0x80040119,
  157. CdoE_COMPUTED = 0x8004011a,
  158. CdoE_CORRUPT_DATA = 0x8004011b,
  159. CdoE_UNCONFIGURED = 0x8004011c,
  160. CdoE_FAILONEPROVIDER = 0x8004011d,
  161. CdoE_UNKNOWN_CPID = 0x8004011e,
  162. CdoE_UNKNOWN_LCID = 0x8004011f,
  163. CdoE_PASSWORD_CHANGE_REQUIRED = 0x80040120,
  164. CdoE_PASSWORD_EXPIRED = 0x80040121,
  165. CdoE_INVALID_WORKSTATION_ACCOUNT = 0x80040122,
  166. CdoE_INVALID_ACCESS_TIME = 0x80040123,
  167. CdoE_ACCOUNT_DISABLED = 0x80040124,
  168. CdoE_END_OF_SESSION = 0x80040200,
  169. CdoE_UNKNOWN_ENTRYID = 0x80040201,
  170. CdoE_MISSING_REQUIRED_COLUMN = 0x80040202,
  171. CdoW_NO_SERVICE = 0x40203,
  172. CdoE_BAD_VALUE = 0x80040301,
  173. CdoE_INVALID_TYPE = 0x80040302,
  174. CdoE_TYPE_NO_SUPPORT = 0x80040303,
  175. CdoE_UNEXPECTED_TYPE = 0x80040304,
  176. CdoE_TOO_BIG = 0x80040305,
  177. CdoE_DECLINE_COPY = 0x80040306,
  178. CdoE_UNEXPECTED_ID = 0x80040307,
  179. CdoW_ERRORS_RETURNED = 0x40380,
  180. CdoE_UNABLE_TO_COMPLETE = 0x80040400,
  181. CdoE_TIMEOUT = 0x80040401,
  182. CdoE_TABLE_EMPTY = 0x80040402,
  183. CdoE_TABLE_TOO_BIG = 0x80040403,
  184. CdoE_INVALID_BOOKMARK = 0x80040405,
  185. CdoW_POSITION_CHANGED = 0x40481,
  186. CdoW_APPROX_COUNT = 0x40482,
  187. CdoE_WAIT = 0x80040500,
  188. CdoE_CANCEL = 0x80040501,
  189. CdoE_NOT_ME = 0x80040502,
  190. CdoW_CANCEL_MESSAGE = 0x40580,
  191. CdoE_CORRUPT_STORE = 0x80040600,
  192. CdoE_NOT_IN_QUEUE = 0x80040601,
  193. CdoE_NO_SUPPRESS = 0x80040602,
  194. CdoE_COLLISION = 0x80040604,
  195. CdoE_NOT_INITIALIZED = 0x80040605,
  196. CdoE_NON_STANDARD = 0x80040606,
  197. CdoE_NO_RECIPIENTS = 0x80040607,
  198. CdoE_SUBMITTED = 0x80040608,
  199. CdoE_HAS_FOLDERS = 0x80040609,
  200. CdoE_HAS_MESSAGES = 0x8004060a,
  201. CdoE_FOLDER_CYCLE = 0x8004060b,
  202. CdoW_PARTIAL_COMPLETION = 0x40680,
  203. CdoE_AMBIGUOUS_RECIP = 0x80040700
  204.     } CdoErrorType;
  205. //--------------------------------------------------------------------------------
  206. // CDONTS.H
  207. //--------------------------------------------------------------------------------
  208. // (C) Copyright 1995-1999 Microsoft Corporation.  All Rights Reserved.
  209. //
  210. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  211. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  212. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  213. // PARTICULAR PURPOSE.
  214. //--------------------------------------------------------------------------------
  215. #pragma comment(lib,"uuid.lib")
  216. // --------------------------------------------------------------------------------
  217. // GUIDS
  218. // --------------------------------------------------------------------------------
  219. DEFINE_GUID(LIBID_CDONTS, 0x0E064ADD,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  220. DEFINE_GUID(CLSID_NewMail, 0xAF0EB60E,0x0775,0x11D1,0xA7,0x7D,0x00,0xC0,0x4F,0xC2,0xF5,0xB3);
  221. DEFINE_GUID(CLSID_Session, 0x0E064AEC,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  222. DEFINE_GUID(IID_INewMail, 0xAF0EB60D,0x0775,0x11D1,0xA7,0x7D,0x00,0xC0,0x4F,0xC2,0xF5,0xB3);
  223. DEFINE_GUID(IID_ISession, 0x0E064AEB,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  224. DEFINE_GUID(IID_Folder, 0x0E064A01,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  225. DEFINE_GUID(IID_Messages, 0x0E064A02,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  226. DEFINE_GUID(IID_Message, 0x0E064A03,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  227. DEFINE_GUID(IID_Recipients, 0x0E064A04,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  228. DEFINE_GUID(IID_Recipient, 0x0E064A05,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  229. DEFINE_GUID(IID_Attachments, 0x0E064A06,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  230. DEFINE_GUID(IID_Attachment, 0x0E064A07,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  231. DEFINE_GUID(IID_AddressEntry, 0x0E064A08,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
  232. extern RPC_IF_HANDLE __MIDL_itf_actmsg_0000_v0_0_c_ifspec;
  233. extern RPC_IF_HANDLE __MIDL_itf_actmsg_0000_v0_0_s_ifspec;
  234. #ifndef __INewMail_INTERFACE_DEFINED__
  235. #define __INewMail_INTERFACE_DEFINED__
  236. /* interface INewMail */
  237. /* [unique][helpstring][dual][uuid][object] */ 
  238. EXTERN_C const IID IID_INewMail;
  239. #if defined(__cplusplus) && !defined(CINTERFACE)
  240.     
  241.     MIDL_INTERFACE("AF0EB60D-0775-11D1-A77D-00C04FC2F5B3")
  242.     INewMail : public IDispatch
  243.     {
  244.     public:
  245.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( 
  246.             BSTR bstrHeader,
  247.             /* [in] */ BSTR newVal) = 0;
  248.         
  249.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_To( 
  250.             /* [in] */ BSTR newVal) = 0;
  251.         
  252.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Cc( 
  253.             /* [in] */ BSTR newVal) = 0;
  254.         
  255.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Bcc( 
  256.             /* [in] */ BSTR newVal) = 0;
  257.         
  258.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Body( 
  259.             /* [in] */ VARIANT newVal) = 0;
  260.         
  261.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Importance( 
  262.             /* [in] */ long newVal) = 0;
  263.         
  264.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BodyFormat( 
  265.             /* [in] */ long newVal) = 0;
  266.         
  267.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailFormat( 
  268.             /* [in] */ long newVal) = 0;
  269.         
  270.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Subject( 
  271.             /* [in] */ BSTR newVal) = 0;
  272.         
  273.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_From( 
  274.             /* [in] */ BSTR newVal) = 0;
  275.         
  276.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Send( 
  277.             /* [optional][in] */ VARIANT From,
  278.             /* [optional][in] */ VARIANT To,
  279.             /* [optional][in] */ VARIANT Subject,
  280.             /* [optional][in] */ VARIANT Body,
  281.             /* [optional][in] */ VARIANT Importance) = 0;
  282.         
  283.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachFile( 
  284.             /* [in] */ VARIANT Source,
  285.             /* [optional][in] */ VARIANT FileName,
  286.             /* [optional][in] */ VARIANT EncodingMethod) = 0;
  287.         
  288.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachURL( 
  289.             /* [in] */ VARIANT Source,
  290.             /* [in] */ VARIANT ContentLocation,
  291.             /* [optional][in] */ VARIANT ContentBase,
  292.             /* [optional][in] */ VARIANT EncodingMethod) = 0;
  293.         
  294.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLocaleIDs( 
  295.             /* [in] */ long CodePageID) = 0;
  296.         
  297.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ContentLocation( 
  298.             /* [in] */ BSTR newVal) = 0;
  299.         
  300.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ContentBase( 
  301.             /* [in] */ BSTR newVal) = 0;
  302.         
  303.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version( 
  304.             /* [retval][out] */ BSTR __RPC_FAR *Version) = 0;
  305.         
  306.     };
  307.     
  308. #else  /* C style interface */
  309.     typedef struct INewMailVtbl
  310.     {
  311.         BEGIN_INTERFACE
  312.         
  313.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  314.             INewMail __RPC_FAR * This,
  315.             /* [in] */ REFIID riid,
  316.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  317.         
  318.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  319.             INewMail __RPC_FAR * This);
  320.         
  321.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  322.             INewMail __RPC_FAR * This);
  323.         
  324.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  325.             INewMail __RPC_FAR * This,
  326.             /* [out] */ UINT __RPC_FAR *pctinfo);
  327.         
  328.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  329.             INewMail __RPC_FAR * This,
  330.             /* [in] */ UINT iTInfo,
  331.             /* [in] */ LCID lcid,
  332.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  333.         
  334.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  335.             INewMail __RPC_FAR * This,
  336.             /* [in] */ REFIID riid,
  337.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  338.             /* [in] */ UINT cNames,
  339.             /* [in] */ LCID lcid,
  340.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  341.         
  342.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  343.             INewMail __RPC_FAR * This,
  344.             /* [in] */ DISPID dispIdMember,
  345.             /* [in] */ REFIID riid,
  346.             /* [in] */ LCID lcid,
  347.             /* [in] */ WORD wFlags,
  348.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  349.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  350.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  351.             /* [out] */ UINT __RPC_FAR *puArgErr);
  352.         
  353.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )( 
  354.             INewMail __RPC_FAR * This,
  355.             BSTR bstrHeader,
  356.             /* [in] */ BSTR newVal);
  357.         
  358.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_To )( 
  359.             INewMail __RPC_FAR * This,
  360.             /* [in] */ BSTR newVal);
  361.         
  362.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Cc )( 
  363.             INewMail __RPC_FAR * This,
  364.             /* [in] */ BSTR newVal);
  365.         
  366.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Bcc )( 
  367.             INewMail __RPC_FAR * This,
  368.             /* [in] */ BSTR newVal);
  369.         
  370.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Body )( 
  371.             INewMail __RPC_FAR * This,
  372.             /* [in] */ VARIANT newVal);
  373.         
  374.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Importance )( 
  375.             INewMail __RPC_FAR * This,
  376.             /* [in] */ long newVal);
  377.         
  378.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_BodyFormat )( 
  379.             INewMail __RPC_FAR * This,
  380.             /* [in] */ long newVal);
  381.         
  382.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MailFormat )( 
  383.             INewMail __RPC_FAR * This,
  384.             /* [in] */ long newVal);
  385.         
  386.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Subject )( 
  387.             INewMail __RPC_FAR * This,
  388.             /* [in] */ BSTR newVal);
  389.         
  390.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_From )( 
  391.             INewMail __RPC_FAR * This,
  392.             /* [in] */ BSTR newVal);
  393.         
  394.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Send )( 
  395.             INewMail __RPC_FAR * This,
  396.             /* [optional][in] */ VARIANT From,
  397.             /* [optional][in] */ VARIANT To,
  398.             /* [optional][in] */ VARIANT Subject,
  399.             /* [optional][in] */ VARIANT Body,
  400.             /* [optional][in] */ VARIANT Importance);
  401.         
  402.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachFile )( 
  403.             INewMail __RPC_FAR * This,
  404.             /* [in] */ VARIANT Source,
  405.             /* [optional][in] */ VARIANT FileName,
  406.             /* [optional][in] */ VARIANT EncodingMethod);
  407.         
  408.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachURL )( 
  409.             INewMail __RPC_FAR * This,
  410.             /* [in] */ VARIANT Source,
  411.             /* [in] */ VARIANT ContentLocation,
  412.             /* [optional][in] */ VARIANT ContentBase,
  413.             /* [optional][in] */ VARIANT EncodingMethod);
  414.         
  415.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLocaleIDs )( 
  416.             INewMail __RPC_FAR * This,
  417.             /* [in] */ long CodePageID);
  418.         
  419.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ContentLocation )( 
  420.             INewMail __RPC_FAR * This,
  421.             /* [in] */ BSTR newVal);
  422.         
  423.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ContentBase )( 
  424.             INewMail __RPC_FAR * This,
  425.             /* [in] */ BSTR newVal);
  426.         
  427.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Version )( 
  428.             INewMail __RPC_FAR * This,
  429.             /* [retval][out] */ BSTR __RPC_FAR *Version);
  430.         
  431.         END_INTERFACE
  432.     } INewMailVtbl;
  433.     interface INewMail
  434.     {
  435.         CONST_VTBL struct INewMailVtbl __RPC_FAR *lpVtbl;
  436.     };
  437.     
  438. #ifdef COBJMACROS
  439. #define INewMail_QueryInterface(This,riid,ppvObject)
  440.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  441. #define INewMail_AddRef(This)
  442.     (This)->lpVtbl -> AddRef(This)
  443. #define INewMail_Release(This)
  444.     (This)->lpVtbl -> Release(This)
  445. #define INewMail_GetTypeInfoCount(This,pctinfo)
  446.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  447. #define INewMail_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  448.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  449. #define INewMail_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  450.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  451. #define INewMail_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  452.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  453. #define INewMail_put_Value(This,bstrHeader,newVal)
  454.     (This)->lpVtbl -> put_Value(This,bstrHeader,newVal)
  455. #define INewMail_put_To(This,newVal)
  456.     (This)->lpVtbl -> put_To(This,newVal)
  457. #define INewMail_put_Cc(This,newVal)
  458.     (This)->lpVtbl -> put_Cc(This,newVal)
  459. #define INewMail_put_Bcc(This,newVal)
  460.     (This)->lpVtbl -> put_Bcc(This,newVal)
  461. #define INewMail_put_Body(This,newVal)
  462.     (This)->lpVtbl -> put_Body(This,newVal)
  463. #define INewMail_put_Importance(This,newVal)
  464.     (This)->lpVtbl -> put_Importance(This,newVal)
  465. #define INewMail_put_BodyFormat(This,newVal)
  466.     (This)->lpVtbl -> put_BodyFormat(This,newVal)
  467. #define INewMail_put_MailFormat(This,newVal)
  468.     (This)->lpVtbl -> put_MailFormat(This,newVal)
  469. #define INewMail_put_Subject(This,newVal)
  470.     (This)->lpVtbl -> put_Subject(This,newVal)
  471. #define INewMail_put_From(This,newVal)
  472.     (This)->lpVtbl -> put_From(This,newVal)
  473. #define INewMail_Send(This,From,To,Subject,Body,Importance)
  474.     (This)->lpVtbl -> Send(This,From,To,Subject,Body,Importance)
  475. #define INewMail_AttachFile(This,Source,FileName,EncodingMethod)
  476.     (This)->lpVtbl -> AttachFile(This,Source,FileName,EncodingMethod)
  477. #define INewMail_AttachURL(This,Source,ContentLocation,ContentBase,EncodingMethod)
  478.     (This)->lpVtbl -> AttachURL(This,Source,ContentLocation,ContentBase,EncodingMethod)
  479. #define INewMail_SetLocaleIDs(This,CodePageID)
  480.     (This)->lpVtbl -> SetLocaleIDs(This,CodePageID)
  481. #define INewMail_put_ContentLocation(This,newVal)
  482.     (This)->lpVtbl -> put_ContentLocation(This,newVal)
  483. #define INewMail_put_ContentBase(This,newVal)
  484.     (This)->lpVtbl -> put_ContentBase(This,newVal)
  485. #define INewMail_get_Version(This,Version)
  486.     (This)->lpVtbl -> get_Version(This,Version)
  487. #endif /* COBJMACROS */
  488. #endif  /* C style interface */
  489. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Value_Proxy( 
  490.     INewMail __RPC_FAR * This,
  491.     BSTR bstrHeader,
  492.     /* [in] */ BSTR newVal);
  493. void __RPC_STUB INewMail_put_Value_Stub(
  494.     IRpcStubBuffer *This,
  495.     IRpcChannelBuffer *_pRpcChannelBuffer,
  496.     PRPC_MESSAGE _pRpcMessage,
  497.     DWORD *_pdwStubPhase);
  498. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_To_Proxy( 
  499.     INewMail __RPC_FAR * This,
  500.     /* [in] */ BSTR newVal);
  501. void __RPC_STUB INewMail_put_To_Stub(
  502.     IRpcStubBuffer *This,
  503.     IRpcChannelBuffer *_pRpcChannelBuffer,
  504.     PRPC_MESSAGE _pRpcMessage,
  505.     DWORD *_pdwStubPhase);
  506. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Cc_Proxy( 
  507.     INewMail __RPC_FAR * This,
  508.     /* [in] */ BSTR newVal);
  509. void __RPC_STUB INewMail_put_Cc_Stub(
  510.     IRpcStubBuffer *This,
  511.     IRpcChannelBuffer *_pRpcChannelBuffer,
  512.     PRPC_MESSAGE _pRpcMessage,
  513.     DWORD *_pdwStubPhase);
  514. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Bcc_Proxy( 
  515.     INewMail __RPC_FAR * This,
  516.     /* [in] */ BSTR newVal);
  517. void __RPC_STUB INewMail_put_Bcc_Stub(
  518.     IRpcStubBuffer *This,
  519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  520.     PRPC_MESSAGE _pRpcMessage,
  521.     DWORD *_pdwStubPhase);
  522. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Body_Proxy( 
  523.     INewMail __RPC_FAR * This,
  524.     /* [in] */ VARIANT newVal);
  525. void __RPC_STUB INewMail_put_Body_Stub(
  526.     IRpcStubBuffer *This,
  527.     IRpcChannelBuffer *_pRpcChannelBuffer,
  528.     PRPC_MESSAGE _pRpcMessage,
  529.     DWORD *_pdwStubPhase);
  530. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Importance_Proxy( 
  531.     INewMail __RPC_FAR * This,
  532.     /* [in] */ long newVal);
  533. void __RPC_STUB INewMail_put_Importance_Stub(
  534.     IRpcStubBuffer *This,
  535.     IRpcChannelBuffer *_pRpcChannelBuffer,
  536.     PRPC_MESSAGE _pRpcMessage,
  537.     DWORD *_pdwStubPhase);
  538. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_BodyFormat_Proxy( 
  539.     INewMail __RPC_FAR * This,
  540.     /* [in] */ long newVal);
  541. void __RPC_STUB INewMail_put_BodyFormat_Stub(
  542.     IRpcStubBuffer *This,
  543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  544.     PRPC_MESSAGE _pRpcMessage,
  545.     DWORD *_pdwStubPhase);
  546. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_MailFormat_Proxy( 
  547.     INewMail __RPC_FAR * This,
  548.     /* [in] */ long newVal);
  549. void __RPC_STUB INewMail_put_MailFormat_Stub(
  550.     IRpcStubBuffer *This,
  551.     IRpcChannelBuffer *_pRpcChannelBuffer,
  552.     PRPC_MESSAGE _pRpcMessage,
  553.     DWORD *_pdwStubPhase);
  554. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_Subject_Proxy( 
  555.     INewMail __RPC_FAR * This,
  556.     /* [in] */ BSTR newVal);
  557. void __RPC_STUB INewMail_put_Subject_Stub(
  558.     IRpcStubBuffer *This,
  559.     IRpcChannelBuffer *_pRpcChannelBuffer,
  560.     PRPC_MESSAGE _pRpcMessage,
  561.     DWORD *_pdwStubPhase);
  562. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_From_Proxy( 
  563.     INewMail __RPC_FAR * This,
  564.     /* [in] */ BSTR newVal);
  565. void __RPC_STUB INewMail_put_From_Stub(
  566.     IRpcStubBuffer *This,
  567.     IRpcChannelBuffer *_pRpcChannelBuffer,
  568.     PRPC_MESSAGE _pRpcMessage,
  569.     DWORD *_pdwStubPhase);
  570. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INewMail_Send_Proxy( 
  571.     INewMail __RPC_FAR * This,
  572.     /* [optional][in] */ VARIANT From,
  573.     /* [optional][in] */ VARIANT To,
  574.     /* [optional][in] */ VARIANT Subject,
  575.     /* [optional][in] */ VARIANT Body,
  576.     /* [optional][in] */ VARIANT Importance);
  577. void __RPC_STUB INewMail_Send_Stub(
  578.     IRpcStubBuffer *This,
  579.     IRpcChannelBuffer *_pRpcChannelBuffer,
  580.     PRPC_MESSAGE _pRpcMessage,
  581.     DWORD *_pdwStubPhase);
  582. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INewMail_AttachFile_Proxy( 
  583.     INewMail __RPC_FAR * This,
  584.     /* [in] */ VARIANT Source,
  585.     /* [optional][in] */ VARIANT FileName,
  586.     /* [optional][in] */ VARIANT EncodingMethod);
  587. void __RPC_STUB INewMail_AttachFile_Stub(
  588.     IRpcStubBuffer *This,
  589.     IRpcChannelBuffer *_pRpcChannelBuffer,
  590.     PRPC_MESSAGE _pRpcMessage,
  591.     DWORD *_pdwStubPhase);
  592. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INewMail_AttachURL_Proxy( 
  593.     INewMail __RPC_FAR * This,
  594.     /* [in] */ VARIANT Source,
  595.     /* [in] */ VARIANT ContentLocation,
  596.     /* [optional][in] */ VARIANT ContentBase,
  597.     /* [optional][in] */ VARIANT EncodingMethod);
  598. void __RPC_STUB INewMail_AttachURL_Stub(
  599.     IRpcStubBuffer *This,
  600.     IRpcChannelBuffer *_pRpcChannelBuffer,
  601.     PRPC_MESSAGE _pRpcMessage,
  602.     DWORD *_pdwStubPhase);
  603. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INewMail_SetLocaleIDs_Proxy( 
  604.     INewMail __RPC_FAR * This,
  605.     /* [in] */ long CodePageID);
  606. void __RPC_STUB INewMail_SetLocaleIDs_Stub(
  607.     IRpcStubBuffer *This,
  608.     IRpcChannelBuffer *_pRpcChannelBuffer,
  609.     PRPC_MESSAGE _pRpcMessage,
  610.     DWORD *_pdwStubPhase);
  611. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_ContentLocation_Proxy( 
  612.     INewMail __RPC_FAR * This,
  613.     /* [in] */ BSTR newVal);
  614. void __RPC_STUB INewMail_put_ContentLocation_Stub(
  615.     IRpcStubBuffer *This,
  616.     IRpcChannelBuffer *_pRpcChannelBuffer,
  617.     PRPC_MESSAGE _pRpcMessage,
  618.     DWORD *_pdwStubPhase);
  619. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE INewMail_put_ContentBase_Proxy( 
  620.     INewMail __RPC_FAR * This,
  621.     /* [in] */ BSTR newVal);
  622. void __RPC_STUB INewMail_put_ContentBase_Stub(
  623.     IRpcStubBuffer *This,
  624.     IRpcChannelBuffer *_pRpcChannelBuffer,
  625.     PRPC_MESSAGE _pRpcMessage,
  626.     DWORD *_pdwStubPhase);
  627. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INewMail_get_Version_Proxy( 
  628.     INewMail __RPC_FAR * This,
  629.     /* [retval][out] */ BSTR __RPC_FAR *Version);
  630. void __RPC_STUB INewMail_get_Version_Stub(
  631.     IRpcStubBuffer *This,
  632.     IRpcChannelBuffer *_pRpcChannelBuffer,
  633.     PRPC_MESSAGE _pRpcMessage,
  634.     DWORD *_pdwStubPhase);
  635. #endif  /* __INewMail_INTERFACE_DEFINED__ */
  636. #ifndef __ISession_INTERFACE_DEFINED__
  637. #define __ISession_INTERFACE_DEFINED__
  638. /* interface ISession */
  639. /* [unique][helpstring][dual][uuid][object] */ 
  640. EXTERN_C const IID IID_ISession;
  641. #if defined(__cplusplus) && !defined(CINTERFACE)
  642.     
  643.     MIDL_INTERFACE("0E064AEB-9D99-11D0-ABE5-00AA0064D470")
  644.     ISession : public IDispatch
  645.     {
  646.     public:
  647.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( 
  648.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication) = 0;
  649.         
  650.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  651.             /* [retval][out] */ VARIANT __RPC_FAR *varParent) = 0;
  652.         
  653.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Session( 
  654.             /* [retval][out] */ VARIANT __RPC_FAR *varSession) = 0;
  655.         
  656.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Class( 
  657.             /* [retval][out] */ long __RPC_FAR *varClass) = 0;
  658.         
  659.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version( 
  660.             /* [retval][out] */ BSTR __RPC_FAR *varVersion) = 0;
  661.         
  662.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  663.             /* [retval][out] */ BSTR __RPC_FAR *varName) = 0;
  664.         
  665.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Inbox( 
  666.             /* [retval][out] */ VARIANT __RPC_FAR *varInbox) = 0;
  667.         
  668.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Outbox( 
  669.             /* [retval][out] */ VARIANT __RPC_FAR *varOutbox) = 0;
  670.         
  671.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MessageFormat( 
  672.             /* [retval][out] */ long __RPC_FAR *pMessageFormat) = 0;
  673.         
  674.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MessageFormat( 
  675.             /* [in] */ long varMessageFormat) = 0;
  676.         
  677.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogonSMTP( 
  678.             /* [in] */ VARIANT DisplayName,
  679.             /* [in] */ VARIANT Address) = 0;
  680.         
  681.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Logoff( void) = 0;
  682.         
  683.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultFolder( 
  684.             /* [in] */ VARIANT Type,
  685.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  686.         
  687.         virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessage( 
  688.             /* [in] */ VARIANT MessageID,
  689.             /* [optional][in] */ VARIANT StoreID,
  690.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  691.         
  692.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLocaleIDs( 
  693.             /* [in] */ long CodePageID) = 0;
  694.         
  695.         virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE SetReserved( 
  696.             /* [in] */ VARIANT var1,
  697.             /* [in] */ VARIANT var2) = 0;
  698.         
  699.     };
  700.     
  701. #else  /* C style interface */
  702.     typedef struct ISessionVtbl
  703.     {
  704.         BEGIN_INTERFACE
  705.         
  706.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  707.             ISession __RPC_FAR * This,
  708.             /* [in] */ REFIID riid,
  709.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  710.         
  711.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  712.             ISession __RPC_FAR * This);
  713.         
  714.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  715.             ISession __RPC_FAR * This);
  716.         
  717.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  718.             ISession __RPC_FAR * This,
  719.             /* [out] */ UINT __RPC_FAR *pctinfo);
  720.         
  721.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  722.             ISession __RPC_FAR * This,
  723.             /* [in] */ UINT iTInfo,
  724.             /* [in] */ LCID lcid,
  725.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  726.         
  727.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  728.             ISession __RPC_FAR * This,
  729.             /* [in] */ REFIID riid,
  730.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  731.             /* [in] */ UINT cNames,
  732.             /* [in] */ LCID lcid,
  733.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  734.         
  735.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  736.             ISession __RPC_FAR * This,
  737.             /* [in] */ DISPID dispIdMember,
  738.             /* [in] */ REFIID riid,
  739.             /* [in] */ LCID lcid,
  740.             /* [in] */ WORD wFlags,
  741.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  742.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  743.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  744.             /* [out] */ UINT __RPC_FAR *puArgErr);
  745.         
  746.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )( 
  747.             ISession __RPC_FAR * This,
  748.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  749.         
  750.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )( 
  751.             ISession __RPC_FAR * This,
  752.             /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  753.         
  754.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Session )( 
  755.             ISession __RPC_FAR * This,
  756.             /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  757.         
  758.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Class )( 
  759.             ISession __RPC_FAR * This,
  760.             /* [retval][out] */ long __RPC_FAR *varClass);
  761.         
  762.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Version )( 
  763.             ISession __RPC_FAR * This,
  764.             /* [retval][out] */ BSTR __RPC_FAR *varVersion);
  765.         
  766.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )( 
  767.             ISession __RPC_FAR * This,
  768.             /* [retval][out] */ BSTR __RPC_FAR *varName);
  769.         
  770.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Inbox )( 
  771.             ISession __RPC_FAR * This,
  772.             /* [retval][out] */ VARIANT __RPC_FAR *varInbox);
  773.         
  774.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Outbox )( 
  775.             ISession __RPC_FAR * This,
  776.             /* [retval][out] */ VARIANT __RPC_FAR *varOutbox);
  777.         
  778.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessageFormat )( 
  779.             ISession __RPC_FAR * This,
  780.             /* [retval][out] */ long __RPC_FAR *pMessageFormat);
  781.         
  782.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessageFormat )( 
  783.             ISession __RPC_FAR * This,
  784.             /* [in] */ long varMessageFormat);
  785.         
  786.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LogonSMTP )( 
  787.             ISession __RPC_FAR * This,
  788.             /* [in] */ VARIANT DisplayName,
  789.             /* [in] */ VARIANT Address);
  790.         
  791.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )( 
  792.             ISession __RPC_FAR * This);
  793.         
  794.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultFolder )( 
  795.             ISession __RPC_FAR * This,
  796.             /* [in] */ VARIANT Type,
  797.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  798.         
  799.         /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMessage )( 
  800.             ISession __RPC_FAR * This,
  801.             /* [in] */ VARIANT MessageID,
  802.             /* [optional][in] */ VARIANT StoreID,
  803.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  804.         
  805.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLocaleIDs )( 
  806.             ISession __RPC_FAR * This,
  807.             /* [in] */ long CodePageID);
  808.         
  809.         /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetReserved )( 
  810.             ISession __RPC_FAR * This,
  811.             /* [in] */ VARIANT var1,
  812.             /* [in] */ VARIANT var2);
  813.         
  814.         END_INTERFACE
  815.     } ISessionVtbl;
  816.     interface ISession
  817.     {
  818.         CONST_VTBL struct ISessionVtbl __RPC_FAR *lpVtbl;
  819.     };
  820.     
  821. #ifdef COBJMACROS
  822. #define ISession_QueryInterface(This,riid,ppvObject)
  823.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  824. #define ISession_AddRef(This)
  825.     (This)->lpVtbl -> AddRef(This)
  826. #define ISession_Release(This)
  827.     (This)->lpVtbl -> Release(This)
  828. #define ISession_GetTypeInfoCount(This,pctinfo)
  829.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  830. #define ISession_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  831.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  832. #define ISession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  833.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  834. #define ISession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  835.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  836. #define ISession_get_Application(This,varApplication)
  837.     (This)->lpVtbl -> get_Application(This,varApplication)
  838. #define ISession_get_Parent(This,varParent)
  839.     (This)->lpVtbl -> get_Parent(This,varParent)
  840. #define ISession_get_Session(This,varSession)
  841.     (This)->lpVtbl -> get_Session(This,varSession)
  842. #define ISession_get_Class(This,varClass)
  843.     (This)->lpVtbl -> get_Class(This,varClass)
  844. #define ISession_get_Version(This,varVersion)
  845.     (This)->lpVtbl -> get_Version(This,varVersion)
  846. #define ISession_get_Name(This,varName)
  847.     (This)->lpVtbl -> get_Name(This,varName)
  848. #define ISession_get_Inbox(This,varInbox)
  849.     (This)->lpVtbl -> get_Inbox(This,varInbox)
  850. #define ISession_get_Outbox(This,varOutbox)
  851.     (This)->lpVtbl -> get_Outbox(This,varOutbox)
  852. #define ISession_get_MessageFormat(This,pMessageFormat)
  853.     (This)->lpVtbl -> get_MessageFormat(This,pMessageFormat)
  854. #define ISession_put_MessageFormat(This,varMessageFormat)
  855.     (This)->lpVtbl -> put_MessageFormat(This,varMessageFormat)
  856. #define ISession_LogonSMTP(This,DisplayName,Address)
  857.     (This)->lpVtbl -> LogonSMTP(This,DisplayName,Address)
  858. #define ISession_Logoff(This)
  859.     (This)->lpVtbl -> Logoff(This)
  860. #define ISession_GetDefaultFolder(This,Type,pvarResult)
  861.     (This)->lpVtbl -> GetDefaultFolder(This,Type,pvarResult)
  862. #define ISession_GetMessage(This,MessageID,StoreID,pvarResult)
  863.     (This)->lpVtbl -> GetMessage(This,MessageID,StoreID,pvarResult)
  864. #define ISession_SetLocaleIDs(This,CodePageID)
  865.     (This)->lpVtbl -> SetLocaleIDs(This,CodePageID)
  866. #define ISession_SetReserved(This,var1,var2)
  867.     (This)->lpVtbl -> SetReserved(This,var1,var2)
  868. #endif /* COBJMACROS */
  869. #endif  /* C style interface */
  870. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Application_Proxy( 
  871.     ISession __RPC_FAR * This,
  872.     /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  873. void __RPC_STUB ISession_get_Application_Stub(
  874.     IRpcStubBuffer *This,
  875.     IRpcChannelBuffer *_pRpcChannelBuffer,
  876.     PRPC_MESSAGE _pRpcMessage,
  877.     DWORD *_pdwStubPhase);
  878. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Parent_Proxy( 
  879.     ISession __RPC_FAR * This,
  880.     /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  881. void __RPC_STUB ISession_get_Parent_Stub(
  882.     IRpcStubBuffer *This,
  883.     IRpcChannelBuffer *_pRpcChannelBuffer,
  884.     PRPC_MESSAGE _pRpcMessage,
  885.     DWORD *_pdwStubPhase);
  886. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Session_Proxy( 
  887.     ISession __RPC_FAR * This,
  888.     /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  889. void __RPC_STUB ISession_get_Session_Stub(
  890.     IRpcStubBuffer *This,
  891.     IRpcChannelBuffer *_pRpcChannelBuffer,
  892.     PRPC_MESSAGE _pRpcMessage,
  893.     DWORD *_pdwStubPhase);
  894. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Class_Proxy( 
  895.     ISession __RPC_FAR * This,
  896.     /* [retval][out] */ long __RPC_FAR *varClass);
  897. void __RPC_STUB ISession_get_Class_Stub(
  898.     IRpcStubBuffer *This,
  899.     IRpcChannelBuffer *_pRpcChannelBuffer,
  900.     PRPC_MESSAGE _pRpcMessage,
  901.     DWORD *_pdwStubPhase);
  902. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Version_Proxy( 
  903.     ISession __RPC_FAR * This,
  904.     /* [retval][out] */ BSTR __RPC_FAR *varVersion);
  905. void __RPC_STUB ISession_get_Version_Stub(
  906.     IRpcStubBuffer *This,
  907.     IRpcChannelBuffer *_pRpcChannelBuffer,
  908.     PRPC_MESSAGE _pRpcMessage,
  909.     DWORD *_pdwStubPhase);
  910. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Name_Proxy( 
  911.     ISession __RPC_FAR * This,
  912.     /* [retval][out] */ BSTR __RPC_FAR *varName);
  913. void __RPC_STUB ISession_get_Name_Stub(
  914.     IRpcStubBuffer *This,
  915.     IRpcChannelBuffer *_pRpcChannelBuffer,
  916.     PRPC_MESSAGE _pRpcMessage,
  917.     DWORD *_pdwStubPhase);
  918. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Inbox_Proxy( 
  919.     ISession __RPC_FAR * This,
  920.     /* [retval][out] */ VARIANT __RPC_FAR *varInbox);
  921. void __RPC_STUB ISession_get_Inbox_Stub(
  922.     IRpcStubBuffer *This,
  923.     IRpcChannelBuffer *_pRpcChannelBuffer,
  924.     PRPC_MESSAGE _pRpcMessage,
  925.     DWORD *_pdwStubPhase);
  926. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_Outbox_Proxy( 
  927.     ISession __RPC_FAR * This,
  928.     /* [retval][out] */ VARIANT __RPC_FAR *varOutbox);
  929. void __RPC_STUB ISession_get_Outbox_Stub(
  930.     IRpcStubBuffer *This,
  931.     IRpcChannelBuffer *_pRpcChannelBuffer,
  932.     PRPC_MESSAGE _pRpcMessage,
  933.     DWORD *_pdwStubPhase);
  934. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ISession_get_MessageFormat_Proxy( 
  935.     ISession __RPC_FAR * This,
  936.     /* [retval][out] */ long __RPC_FAR *pMessageFormat);
  937. void __RPC_STUB ISession_get_MessageFormat_Stub(
  938.     IRpcStubBuffer *This,
  939.     IRpcChannelBuffer *_pRpcChannelBuffer,
  940.     PRPC_MESSAGE _pRpcMessage,
  941.     DWORD *_pdwStubPhase);
  942. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ISession_put_MessageFormat_Proxy( 
  943.     ISession __RPC_FAR * This,
  944.     /* [in] */ long varMessageFormat);
  945. void __RPC_STUB ISession_put_MessageFormat_Stub(
  946.     IRpcStubBuffer *This,
  947.     IRpcChannelBuffer *_pRpcChannelBuffer,
  948.     PRPC_MESSAGE _pRpcMessage,
  949.     DWORD *_pdwStubPhase);
  950. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_LogonSMTP_Proxy( 
  951.     ISession __RPC_FAR * This,
  952.     /* [in] */ VARIANT DisplayName,
  953.     /* [in] */ VARIANT Address);
  954. void __RPC_STUB ISession_LogonSMTP_Stub(
  955.     IRpcStubBuffer *This,
  956.     IRpcChannelBuffer *_pRpcChannelBuffer,
  957.     PRPC_MESSAGE _pRpcMessage,
  958.     DWORD *_pdwStubPhase);
  959. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_Logoff_Proxy( 
  960.     ISession __RPC_FAR * This);
  961. void __RPC_STUB ISession_Logoff_Stub(
  962.     IRpcStubBuffer *This,
  963.     IRpcChannelBuffer *_pRpcChannelBuffer,
  964.     PRPC_MESSAGE _pRpcMessage,
  965.     DWORD *_pdwStubPhase);
  966. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_GetDefaultFolder_Proxy( 
  967.     ISession __RPC_FAR * This,
  968.     /* [in] */ VARIANT Type,
  969.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  970. void __RPC_STUB ISession_GetDefaultFolder_Stub(
  971.     IRpcStubBuffer *This,
  972.     IRpcChannelBuffer *_pRpcChannelBuffer,
  973.     PRPC_MESSAGE _pRpcMessage,
  974.     DWORD *_pdwStubPhase);
  975. /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_GetMessage_Proxy( 
  976.     ISession __RPC_FAR * This,
  977.     /* [in] */ VARIANT MessageID,
  978.     /* [optional][in] */ VARIANT StoreID,
  979.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  980. void __RPC_STUB ISession_GetMessage_Stub(
  981.     IRpcStubBuffer *This,
  982.     IRpcChannelBuffer *_pRpcChannelBuffer,
  983.     PRPC_MESSAGE _pRpcMessage,
  984.     DWORD *_pdwStubPhase);
  985. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_SetLocaleIDs_Proxy( 
  986.     ISession __RPC_FAR * This,
  987.     /* [in] */ long CodePageID);
  988. void __RPC_STUB ISession_SetLocaleIDs_Stub(
  989.     IRpcStubBuffer *This,
  990.     IRpcChannelBuffer *_pRpcChannelBuffer,
  991.     PRPC_MESSAGE _pRpcMessage,
  992.     DWORD *_pdwStubPhase);
  993. /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE ISession_SetReserved_Proxy( 
  994.     ISession __RPC_FAR * This,
  995.     /* [in] */ VARIANT var1,
  996.     /* [in] */ VARIANT var2);
  997. void __RPC_STUB ISession_SetReserved_Stub(
  998.     IRpcStubBuffer *This,
  999.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1000.     PRPC_MESSAGE _pRpcMessage,
  1001.     DWORD *_pdwStubPhase);
  1002. #endif  /* __ISession_INTERFACE_DEFINED__ */
  1003. #ifndef __Folder_INTERFACE_DEFINED__
  1004. #define __Folder_INTERFACE_DEFINED__
  1005. /* interface Folder */
  1006. /* [unique][helpstring][dual][uuid][object] */ 
  1007. EXTERN_C const IID IID_Folder;
  1008. #if defined(__cplusplus) && !defined(CINTERFACE)
  1009.     
  1010.     MIDL_INTERFACE("0E064A01-9D99-11D0-ABE5-00AA0064D470")
  1011.     Folder : public IDispatch
  1012.     {
  1013.     public:
  1014.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( 
  1015.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication) = 0;
  1016.         
  1017.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  1018.             /* [retval][out] */ VARIANT __RPC_FAR *varParent) = 0;
  1019.         
  1020.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Session( 
  1021.             /* [retval][out] */ VARIANT __RPC_FAR *varSession) = 0;
  1022.         
  1023.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Class( 
  1024.             /* [retval][out] */ long __RPC_FAR *varClass) = 0;
  1025.         
  1026.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1027.             /* [retval][out] */ BSTR __RPC_FAR *varName) = 0;
  1028.         
  1029.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Messages( 
  1030.             /* [retval][out] */ VARIANT __RPC_FAR *varMessages) = 0;
  1031.         
  1032.     };
  1033.     
  1034. #else  /* C style interface */
  1035.     typedef struct FolderVtbl
  1036.     {
  1037.         BEGIN_INTERFACE
  1038.         
  1039.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1040.             Folder __RPC_FAR * This,
  1041.             /* [in] */ REFIID riid,
  1042.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1043.         
  1044.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1045.             Folder __RPC_FAR * This);
  1046.         
  1047.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1048.             Folder __RPC_FAR * This);
  1049.         
  1050.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1051.             Folder __RPC_FAR * This,
  1052.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1053.         
  1054.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1055.             Folder __RPC_FAR * This,
  1056.             /* [in] */ UINT iTInfo,
  1057.             /* [in] */ LCID lcid,
  1058.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1059.         
  1060.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1061.             Folder __RPC_FAR * This,
  1062.             /* [in] */ REFIID riid,
  1063.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1064.             /* [in] */ UINT cNames,
  1065.             /* [in] */ LCID lcid,
  1066.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1067.         
  1068.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1069.             Folder __RPC_FAR * This,
  1070.             /* [in] */ DISPID dispIdMember,
  1071.             /* [in] */ REFIID riid,
  1072.             /* [in] */ LCID lcid,
  1073.             /* [in] */ WORD wFlags,
  1074.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1075.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1076.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1077.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1078.         
  1079.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )( 
  1080.             Folder __RPC_FAR * This,
  1081.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  1082.         
  1083.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )( 
  1084.             Folder __RPC_FAR * This,
  1085.             /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  1086.         
  1087.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Session )( 
  1088.             Folder __RPC_FAR * This,
  1089.             /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  1090.         
  1091.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Class )( 
  1092.             Folder __RPC_FAR * This,
  1093.             /* [retval][out] */ long __RPC_FAR *varClass);
  1094.         
  1095.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )( 
  1096.             Folder __RPC_FAR * This,
  1097.             /* [retval][out] */ BSTR __RPC_FAR *varName);
  1098.         
  1099.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Messages )( 
  1100.             Folder __RPC_FAR * This,
  1101.             /* [retval][out] */ VARIANT __RPC_FAR *varMessages);
  1102.         
  1103.         END_INTERFACE
  1104.     } FolderVtbl;
  1105.     interface Folder
  1106.     {
  1107.         CONST_VTBL struct FolderVtbl __RPC_FAR *lpVtbl;
  1108.     };
  1109.     
  1110. #ifdef COBJMACROS
  1111. #define Folder_QueryInterface(This,riid,ppvObject)
  1112.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1113. #define Folder_AddRef(This)
  1114.     (This)->lpVtbl -> AddRef(This)
  1115. #define Folder_Release(This)
  1116.     (This)->lpVtbl -> Release(This)
  1117. #define Folder_GetTypeInfoCount(This,pctinfo)
  1118.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1119. #define Folder_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1120.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1121. #define Folder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1122.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1123. #define Folder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1124.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1125. #define Folder_get_Application(This,varApplication)
  1126.     (This)->lpVtbl -> get_Application(This,varApplication)
  1127. #define Folder_get_Parent(This,varParent)
  1128.     (This)->lpVtbl -> get_Parent(This,varParent)
  1129. #define Folder_get_Session(This,varSession)
  1130.     (This)->lpVtbl -> get_Session(This,varSession)
  1131. #define Folder_get_Class(This,varClass)
  1132.     (This)->lpVtbl -> get_Class(This,varClass)
  1133. #define Folder_get_Name(This,varName)
  1134.     (This)->lpVtbl -> get_Name(This,varName)
  1135. #define Folder_get_Messages(This,varMessages)
  1136.     (This)->lpVtbl -> get_Messages(This,varMessages)
  1137. #endif /* COBJMACROS */
  1138. #endif  /* C style interface */
  1139. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Application_Proxy( 
  1140.     Folder __RPC_FAR * This,
  1141.     /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  1142. void __RPC_STUB Folder_get_Application_Stub(
  1143.     IRpcStubBuffer *This,
  1144.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1145.     PRPC_MESSAGE _pRpcMessage,
  1146.     DWORD *_pdwStubPhase);
  1147. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Parent_Proxy( 
  1148.     Folder __RPC_FAR * This,
  1149.     /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  1150. void __RPC_STUB Folder_get_Parent_Stub(
  1151.     IRpcStubBuffer *This,
  1152.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1153.     PRPC_MESSAGE _pRpcMessage,
  1154.     DWORD *_pdwStubPhase);
  1155. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Session_Proxy( 
  1156.     Folder __RPC_FAR * This,
  1157.     /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  1158. void __RPC_STUB Folder_get_Session_Stub(
  1159.     IRpcStubBuffer *This,
  1160.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1161.     PRPC_MESSAGE _pRpcMessage,
  1162.     DWORD *_pdwStubPhase);
  1163. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Class_Proxy( 
  1164.     Folder __RPC_FAR * This,
  1165.     /* [retval][out] */ long __RPC_FAR *varClass);
  1166. void __RPC_STUB Folder_get_Class_Stub(
  1167.     IRpcStubBuffer *This,
  1168.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1169.     PRPC_MESSAGE _pRpcMessage,
  1170.     DWORD *_pdwStubPhase);
  1171. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Name_Proxy( 
  1172.     Folder __RPC_FAR * This,
  1173.     /* [retval][out] */ BSTR __RPC_FAR *varName);
  1174. void __RPC_STUB Folder_get_Name_Stub(
  1175.     IRpcStubBuffer *This,
  1176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1177.     PRPC_MESSAGE _pRpcMessage,
  1178.     DWORD *_pdwStubPhase);
  1179. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Folder_get_Messages_Proxy( 
  1180.     Folder __RPC_FAR * This,
  1181.     /* [retval][out] */ VARIANT __RPC_FAR *varMessages);
  1182. void __RPC_STUB Folder_get_Messages_Stub(
  1183.     IRpcStubBuffer *This,
  1184.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1185.     PRPC_MESSAGE _pRpcMessage,
  1186.     DWORD *_pdwStubPhase);
  1187. #endif  /* __Folder_INTERFACE_DEFINED__ */
  1188. #ifndef __Messages_INTERFACE_DEFINED__
  1189. #define __Messages_INTERFACE_DEFINED__
  1190. /* interface Messages */
  1191. /* [unique][helpstring][dual][uuid][object] */ 
  1192. EXTERN_C const IID IID_Messages;
  1193. #if defined(__cplusplus) && !defined(CINTERFACE)
  1194.     
  1195.     MIDL_INTERFACE("0E064A02-9D99-11D0-ABE5-00AA0064D470")
  1196.     Messages : public IDispatch
  1197.     {
  1198.     public:
  1199.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( 
  1200.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication) = 0;
  1201.         
  1202.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  1203.             /* [retval][out] */ VARIANT __RPC_FAR *varParent) = 0;
  1204.         
  1205.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Session( 
  1206.             /* [retval][out] */ VARIANT __RPC_FAR *varSession) = 0;
  1207.         
  1208.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Class( 
  1209.             /* [retval][out] */ long __RPC_FAR *varClass) = 0;
  1210.         
  1211.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
  1212.             /* [retval][out] */ long __RPC_FAR *varCount) = 0;
  1213.         
  1214.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( 
  1215.             /* [in] */ VARIANT __RPC_FAR *var,
  1216.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1217.         
  1218.         virtual /* [helpstring][propget][hidden][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  1219.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkResult) = 0;
  1220.         
  1221.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( 
  1222.             /* [optional][in] */ VARIANT Subject,
  1223.             /* [optional][in] */ VARIANT Text,
  1224.             /* [optional][in] */ VARIANT Importance,
  1225.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1226.         
  1227.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1228.         
  1229.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFirst( 
  1230.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1231.         
  1232.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNext( 
  1233.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1234.         
  1235.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLast( 
  1236.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1237.         
  1238.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPrevious( 
  1239.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult) = 0;
  1240.         
  1241.     };
  1242.     
  1243. #else  /* C style interface */
  1244.     typedef struct MessagesVtbl
  1245.     {
  1246.         BEGIN_INTERFACE
  1247.         
  1248.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1249.             Messages __RPC_FAR * This,
  1250.             /* [in] */ REFIID riid,
  1251.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1252.         
  1253.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1254.             Messages __RPC_FAR * This);
  1255.         
  1256.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1257.             Messages __RPC_FAR * This);
  1258.         
  1259.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1260.             Messages __RPC_FAR * This,
  1261.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1262.         
  1263.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1264.             Messages __RPC_FAR * This,
  1265.             /* [in] */ UINT iTInfo,
  1266.             /* [in] */ LCID lcid,
  1267.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1268.         
  1269.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1270.             Messages __RPC_FAR * This,
  1271.             /* [in] */ REFIID riid,
  1272.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1273.             /* [in] */ UINT cNames,
  1274.             /* [in] */ LCID lcid,
  1275.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1276.         
  1277.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1278.             Messages __RPC_FAR * This,
  1279.             /* [in] */ DISPID dispIdMember,
  1280.             /* [in] */ REFIID riid,
  1281.             /* [in] */ LCID lcid,
  1282.             /* [in] */ WORD wFlags,
  1283.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1284.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1285.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1286.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1287.         
  1288.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )( 
  1289.             Messages __RPC_FAR * This,
  1290.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  1291.         
  1292.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )( 
  1293.             Messages __RPC_FAR * This,
  1294.             /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  1295.         
  1296.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Session )( 
  1297.             Messages __RPC_FAR * This,
  1298.             /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  1299.         
  1300.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Class )( 
  1301.             Messages __RPC_FAR * This,
  1302.             /* [retval][out] */ long __RPC_FAR *varClass);
  1303.         
  1304.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )( 
  1305.             Messages __RPC_FAR * This,
  1306.             /* [retval][out] */ long __RPC_FAR *varCount);
  1307.         
  1308.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Item )( 
  1309.             Messages __RPC_FAR * This,
  1310.             /* [in] */ VARIANT __RPC_FAR *var,
  1311.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1312.         
  1313.         /* [helpstring][propget][hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )( 
  1314.             Messages __RPC_FAR * This,
  1315.             /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkResult);
  1316.         
  1317.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )( 
  1318.             Messages __RPC_FAR * This,
  1319.             /* [optional][in] */ VARIANT Subject,
  1320.             /* [optional][in] */ VARIANT Text,
  1321.             /* [optional][in] */ VARIANT Importance,
  1322.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1323.         
  1324.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )( 
  1325.             Messages __RPC_FAR * This);
  1326.         
  1327.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFirst )( 
  1328.             Messages __RPC_FAR * This,
  1329.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1330.         
  1331.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNext )( 
  1332.             Messages __RPC_FAR * This,
  1333.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1334.         
  1335.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLast )( 
  1336.             Messages __RPC_FAR * This,
  1337.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1338.         
  1339.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPrevious )( 
  1340.             Messages __RPC_FAR * This,
  1341.             /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1342.         
  1343.         END_INTERFACE
  1344.     } MessagesVtbl;
  1345.     interface Messages
  1346.     {
  1347.         CONST_VTBL struct MessagesVtbl __RPC_FAR *lpVtbl;
  1348.     };
  1349.     
  1350. #ifdef COBJMACROS
  1351. #define Messages_QueryInterface(This,riid,ppvObject)
  1352.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1353. #define Messages_AddRef(This)
  1354.     (This)->lpVtbl -> AddRef(This)
  1355. #define Messages_Release(This)
  1356.     (This)->lpVtbl -> Release(This)
  1357. #define Messages_GetTypeInfoCount(This,pctinfo)
  1358.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1359. #define Messages_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1360.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1361. #define Messages_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1362.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1363. #define Messages_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1364.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1365. #define Messages_get_Application(This,varApplication)
  1366.     (This)->lpVtbl -> get_Application(This,varApplication)
  1367. #define Messages_get_Parent(This,varParent)
  1368.     (This)->lpVtbl -> get_Parent(This,varParent)
  1369. #define Messages_get_Session(This,varSession)
  1370.     (This)->lpVtbl -> get_Session(This,varSession)
  1371. #define Messages_get_Class(This,varClass)
  1372.     (This)->lpVtbl -> get_Class(This,varClass)
  1373. #define Messages_get_Count(This,varCount)
  1374.     (This)->lpVtbl -> get_Count(This,varCount)
  1375. #define Messages_get_Item(This,var,pvarResult)
  1376.     (This)->lpVtbl -> get_Item(This,var,pvarResult)
  1377. #define Messages_get__NewEnum(This,ppunkResult)
  1378.     (This)->lpVtbl -> get__NewEnum(This,ppunkResult)
  1379. #define Messages_Add(This,Subject,Text,Importance,pvarResult)
  1380.     (This)->lpVtbl -> Add(This,Subject,Text,Importance,pvarResult)
  1381. #define Messages_Delete(This)
  1382.     (This)->lpVtbl -> Delete(This)
  1383. #define Messages_GetFirst(This,pvarResult)
  1384.     (This)->lpVtbl -> GetFirst(This,pvarResult)
  1385. #define Messages_GetNext(This,pvarResult)
  1386.     (This)->lpVtbl -> GetNext(This,pvarResult)
  1387. #define Messages_GetLast(This,pvarResult)
  1388.     (This)->lpVtbl -> GetLast(This,pvarResult)
  1389. #define Messages_GetPrevious(This,pvarResult)
  1390.     (This)->lpVtbl -> GetPrevious(This,pvarResult)
  1391. #endif /* COBJMACROS */
  1392. #endif  /* C style interface */
  1393. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Application_Proxy( 
  1394.     Messages __RPC_FAR * This,
  1395.     /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  1396. void __RPC_STUB Messages_get_Application_Stub(
  1397.     IRpcStubBuffer *This,
  1398.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1399.     PRPC_MESSAGE _pRpcMessage,
  1400.     DWORD *_pdwStubPhase);
  1401. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Parent_Proxy( 
  1402.     Messages __RPC_FAR * This,
  1403.     /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  1404. void __RPC_STUB Messages_get_Parent_Stub(
  1405.     IRpcStubBuffer *This,
  1406.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1407.     PRPC_MESSAGE _pRpcMessage,
  1408.     DWORD *_pdwStubPhase);
  1409. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Session_Proxy( 
  1410.     Messages __RPC_FAR * This,
  1411.     /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  1412. void __RPC_STUB Messages_get_Session_Stub(
  1413.     IRpcStubBuffer *This,
  1414.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1415.     PRPC_MESSAGE _pRpcMessage,
  1416.     DWORD *_pdwStubPhase);
  1417. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Class_Proxy( 
  1418.     Messages __RPC_FAR * This,
  1419.     /* [retval][out] */ long __RPC_FAR *varClass);
  1420. void __RPC_STUB Messages_get_Class_Stub(
  1421.     IRpcStubBuffer *This,
  1422.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1423.     PRPC_MESSAGE _pRpcMessage,
  1424.     DWORD *_pdwStubPhase);
  1425. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Count_Proxy( 
  1426.     Messages __RPC_FAR * This,
  1427.     /* [retval][out] */ long __RPC_FAR *varCount);
  1428. void __RPC_STUB Messages_get_Count_Stub(
  1429.     IRpcStubBuffer *This,
  1430.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1431.     PRPC_MESSAGE _pRpcMessage,
  1432.     DWORD *_pdwStubPhase);
  1433. /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE Messages_get_Item_Proxy( 
  1434.     Messages __RPC_FAR * This,
  1435.     /* [in] */ VARIANT __RPC_FAR *var,
  1436.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1437. void __RPC_STUB Messages_get_Item_Stub(
  1438.     IRpcStubBuffer *This,
  1439.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1440.     PRPC_MESSAGE _pRpcMessage,
  1441.     DWORD *_pdwStubPhase);
  1442. /* [helpstring][propget][hidden][id] */ HRESULT STDMETHODCALLTYPE Messages_get__NewEnum_Proxy( 
  1443.     Messages __RPC_FAR * This,
  1444.     /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkResult);
  1445. void __RPC_STUB Messages_get__NewEnum_Stub(
  1446.     IRpcStubBuffer *This,
  1447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1448.     PRPC_MESSAGE _pRpcMessage,
  1449.     DWORD *_pdwStubPhase);
  1450. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_Add_Proxy( 
  1451.     Messages __RPC_FAR * This,
  1452.     /* [optional][in] */ VARIANT Subject,
  1453.     /* [optional][in] */ VARIANT Text,
  1454.     /* [optional][in] */ VARIANT Importance,
  1455.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1456. void __RPC_STUB Messages_Add_Stub(
  1457.     IRpcStubBuffer *This,
  1458.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1459.     PRPC_MESSAGE _pRpcMessage,
  1460.     DWORD *_pdwStubPhase);
  1461. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_Delete_Proxy( 
  1462.     Messages __RPC_FAR * This);
  1463. void __RPC_STUB Messages_Delete_Stub(
  1464.     IRpcStubBuffer *This,
  1465.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1466.     PRPC_MESSAGE _pRpcMessage,
  1467.     DWORD *_pdwStubPhase);
  1468. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_GetFirst_Proxy( 
  1469.     Messages __RPC_FAR * This,
  1470.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1471. void __RPC_STUB Messages_GetFirst_Stub(
  1472.     IRpcStubBuffer *This,
  1473.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1474.     PRPC_MESSAGE _pRpcMessage,
  1475.     DWORD *_pdwStubPhase);
  1476. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_GetNext_Proxy( 
  1477.     Messages __RPC_FAR * This,
  1478.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1479. void __RPC_STUB Messages_GetNext_Stub(
  1480.     IRpcStubBuffer *This,
  1481.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1482.     PRPC_MESSAGE _pRpcMessage,
  1483.     DWORD *_pdwStubPhase);
  1484. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_GetLast_Proxy( 
  1485.     Messages __RPC_FAR * This,
  1486.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1487. void __RPC_STUB Messages_GetLast_Stub(
  1488.     IRpcStubBuffer *This,
  1489.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1490.     PRPC_MESSAGE _pRpcMessage,
  1491.     DWORD *_pdwStubPhase);
  1492. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Messages_GetPrevious_Proxy( 
  1493.     Messages __RPC_FAR * This,
  1494.     /* [retval][out] */ VARIANT __RPC_FAR *pvarResult);
  1495. void __RPC_STUB Messages_GetPrevious_Stub(
  1496.     IRpcStubBuffer *This,
  1497.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1498.     PRPC_MESSAGE _pRpcMessage,
  1499.     DWORD *_pdwStubPhase);
  1500. #endif  /* __Messages_INTERFACE_DEFINED__ */
  1501. #ifndef __Message_INTERFACE_DEFINED__
  1502. #define __Message_INTERFACE_DEFINED__
  1503. /* interface Message */
  1504. /* [unique][helpstring][dual][uuid][object] */ 
  1505. EXTERN_C const IID IID_Message;
  1506. #if defined(__cplusplus) && !defined(CINTERFACE)
  1507.     
  1508.     MIDL_INTERFACE("0E064A03-9D99-11D0-ABE5-00AA0064D470")
  1509.     Message : public IDispatch
  1510.     {
  1511.     public:
  1512.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( 
  1513.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication) = 0;
  1514.         
  1515.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent( 
  1516.             /* [retval][out] */ VARIANT __RPC_FAR *varParent) = 0;
  1517.         
  1518.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Session( 
  1519.             /* [retval][out] */ VARIANT __RPC_FAR *varSession) = 0;
  1520.         
  1521.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Class( 
  1522.             /* [retval][out] */ long __RPC_FAR *varClass) = 0;
  1523.         
  1524.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Size( 
  1525.             /* [retval][out] */ long __RPC_FAR *varSize) = 0;
  1526.         
  1527.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Importance( 
  1528.             /* [retval][out] */ long __RPC_FAR *pImportance) = 0;
  1529.         
  1530.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Importance( 
  1531.             /* [in] */ long varImportance) = 0;
  1532.         
  1533.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Subject( 
  1534.             /* [retval][out] */ BSTR __RPC_FAR *pSubject) = 0;
  1535.         
  1536.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Subject( 
  1537.             /* [in] */ BSTR varSubject) = 0;
  1538.         
  1539.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Sender( 
  1540.             /* [retval][out] */ VARIANT __RPC_FAR *varSender) = 0;
  1541.         
  1542.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TimeSent( 
  1543.             /* [retval][out] */ VARIANT __RPC_FAR *varTimeSent) = 0;
  1544.         
  1545.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_TimeSent( 
  1546.             /* [in] */ VARIANT varTimeSent) = 0;
  1547.         
  1548.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TimeReceived( 
  1549.             /* [retval][out] */ VARIANT __RPC_FAR *varTimeReceived) = 0;
  1550.         
  1551.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_TimeReceived( 
  1552.             /* [in] */ VARIANT varTimeReceived) = 0;
  1553.         
  1554.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Text( 
  1555.             /* [retval][out] */ VARIANT __RPC_FAR *varText) = 0;
  1556.         
  1557.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Text( 
  1558.             /* [in] */ VARIANT varText) = 0;
  1559.         
  1560.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_HTMLText( 
  1561.             /* [retval][out] */ VARIANT __RPC_FAR *varHTMLText) = 0;
  1562.         
  1563.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_HTMLText( 
  1564.             /* [in] */ VARIANT varHTMLText) = 0;
  1565.         
  1566.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Recipients( 
  1567.             /* [retval][out] */ VARIANT __RPC_FAR *varRecipients) = 0;
  1568.         
  1569.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Recipients( 
  1570.             /* [in] */ VARIANT varRecipients) = 0;
  1571.         
  1572.         virtual /* [readonly][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Attachments( 
  1573.             /* [retval][out] */ VARIANT __RPC_FAR *varAttachments) = 0;
  1574.         
  1575.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MessageFormat( 
  1576.             /* [in] */ long __MIDL_0011) = 0;
  1577.         
  1578.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentLocation( 
  1579.             /* [retval][out] */ VARIANT __RPC_FAR *varContentLocation) = 0;
  1580.         
  1581.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentLocation( 
  1582.             /* [in] */ VARIANT varContentLocation) = 0;
  1583.         
  1584.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentBase( 
  1585.             /* [retval][out] */ VARIANT __RPC_FAR *varContentBase) = 0;
  1586.         
  1587.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentBase( 
  1588.             /* [in] */ VARIANT varContentBase) = 0;
  1589.         
  1590.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ContentID( 
  1591.             /* [retval][out] */ VARIANT __RPC_FAR *varContentID) = 0;
  1592.         
  1593.         virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ContentID( 
  1594.             /* [in] */ VARIANT varContentID) = 0;
  1595.         
  1596.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1597.         
  1598.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Send( void) = 0;
  1599.         
  1600.     };
  1601.     
  1602. #else  /* C style interface */
  1603.     typedef struct MessageVtbl
  1604.     {
  1605.         BEGIN_INTERFACE
  1606.         
  1607.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1608.             Message __RPC_FAR * This,
  1609.             /* [in] */ REFIID riid,
  1610.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1611.         
  1612.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1613.             Message __RPC_FAR * This);
  1614.         
  1615.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1616.             Message __RPC_FAR * This);
  1617.         
  1618.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  1619.             Message __RPC_FAR * This,
  1620.             /* [out] */ UINT __RPC_FAR *pctinfo);
  1621.         
  1622.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  1623.             Message __RPC_FAR * This,
  1624.             /* [in] */ UINT iTInfo,
  1625.             /* [in] */ LCID lcid,
  1626.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1627.         
  1628.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  1629.             Message __RPC_FAR * This,
  1630.             /* [in] */ REFIID riid,
  1631.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1632.             /* [in] */ UINT cNames,
  1633.             /* [in] */ LCID lcid,
  1634.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1635.         
  1636.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  1637.             Message __RPC_FAR * This,
  1638.             /* [in] */ DISPID dispIdMember,
  1639.             /* [in] */ REFIID riid,
  1640.             /* [in] */ LCID lcid,
  1641.             /* [in] */ WORD wFlags,
  1642.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1643.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1644.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1645.             /* [out] */ UINT __RPC_FAR *puArgErr);
  1646.         
  1647.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )( 
  1648.             Message __RPC_FAR * This,
  1649.             /* [retval][out] */ VARIANT __RPC_FAR *varApplication);
  1650.         
  1651.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )( 
  1652.             Message __RPC_FAR * This,
  1653.             /* [retval][out] */ VARIANT __RPC_FAR *varParent);
  1654.         
  1655.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Session )( 
  1656.             Message __RPC_FAR * This,
  1657.             /* [retval][out] */ VARIANT __RPC_FAR *varSession);
  1658.         
  1659.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Class )( 
  1660.             Message __RPC_FAR * This,
  1661.             /* [retval][out] */ long __RPC_FAR *varClass);
  1662.         
  1663.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Size )( 
  1664.             Message __RPC_FAR * This,
  1665.             /* [retval][out] */ long __RPC_FAR *varSize);
  1666.         
  1667.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Importance )( 
  1668.             Message __RPC_FAR * This,
  1669.             /* [retval][out] */ long __RPC_FAR *pImportance);
  1670.         
  1671.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Importance )( 
  1672.             Message __RPC_FAR * This,
  1673.             /* [in] */ long varImportance);
  1674.         
  1675.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Subject )( 
  1676.             Message __RPC_FAR * This,
  1677.             /* [retval][out] */ BSTR __RPC_FAR *pSubject);
  1678.         
  1679.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Subject )( 
  1680.             Message __RPC_FAR * This,
  1681.             /* [in] */ BSTR varSubject);
  1682.         
  1683.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Sender )( 
  1684.             Message __RPC_FAR * This,
  1685.             /* [retval][out] */ VARIANT __RPC_FAR *varSender);
  1686.         
  1687.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TimeSent )( 
  1688.             Message __RPC_FAR * This,
  1689.             /* [retval][out] */ VARIANT __RPC_FAR *varTimeSent);
  1690.         
  1691.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TimeSent )( 
  1692.             Message __RPC_FAR * This,
  1693.             /* [in] */ VARIANT varTimeSent);
  1694.         
  1695.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TimeReceived )( 
  1696.             Message __RPC_FAR * This,
  1697.             /* [retval][out] */ VARIANT __RPC_FAR *varTimeReceived);
  1698.         
  1699.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TimeReceived )( 
  1700.             Message __RPC_FAR * This,
  1701.             /* [in] */ VARIANT varTimeReceived);
  1702.         
  1703.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Text )( 
  1704.             Message __RPC_FAR * This,
  1705.             /* [retval][out] */ VARIANT __RPC_FAR *varText);
  1706.         
  1707.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Text )( 
  1708.             Message __RPC_FAR * This,
  1709.             /* [in] */ VARIANT varText);
  1710.         
  1711.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HTMLText )( 
  1712.             Message __RPC_FAR * This,
  1713.             /* [retval][out] */ VARIANT __RPC_FAR *varHTMLText);
  1714.         
  1715.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_HTMLText )( 
  1716.             Message __RPC_FAR * This,
  1717.             /* [in] */ VARIANT varHTMLText);
  1718.         
  1719.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Recipients )( 
  1720.             Message __RPC_FAR * This,
  1721.             /* [retval][out] */ VARIANT __RPC_FAR *varRecipients);
  1722.         
  1723.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Recipients )( 
  1724.             Message __RPC_FAR * This,
  1725.             /* [in] */ VARIANT varRecipients);
  1726.         
  1727.         /* [readonly][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Attachments )( 
  1728.             Message __RPC_FAR * This,
  1729.             /* [retval][out] */ VARIANT __RPC_FAR *varAttachments);
  1730.         
  1731.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessageFormat )( 
  1732.             Message __RPC_FAR * This,
  1733.             /* [in] */ long __MIDL_0011);
  1734.         
  1735.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ContentLocation )( 
  1736.             Message __RPC_FAR * This,
  1737.             /* [retval][out] */ VARIANT __RPC_FAR *varContentLocation);
  1738.         
  1739.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ContentLocation )( 
  1740.             Message __RPC_FAR * This,
  1741.             /* [in] */ VARIANT varContentLocation);
  1742.         
  1743.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ContentBase )( 
  1744.             Message __RPC_FAR * This,
  1745.             /* [retval][out] */ VARIANT __RPC_FAR *varContentBase);
  1746.         
  1747.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ContentBase )( 
  1748.             Message __RPC_FAR * This,
  1749.             /* [in] */ VARIANT varContentBase);
  1750.         
  1751.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ContentID )( 
  1752.             Message __RPC_FAR * This,
  1753.             /* [retval][out] */ VARIANT __RPC_FAR *varContentID);
  1754.         
  1755.         /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ContentID )( 
  1756.             Message __RPC_FAR * This,
  1757.             /* [in] */ VARIANT varContentID);
  1758.         
  1759.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )( 
  1760.             Message __RPC_FAR * This);
  1761.         
  1762.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Send )( 
  1763.             Message __RPC_FAR * This);
  1764.         
  1765.         END_INTERFACE
  1766.     } MessageVtbl;
  1767.     interface Message
  1768.     {
  1769.         CONST_VTBL struct MessageVtbl __RPC_FAR *lpVtbl;
  1770.     };
  1771.     
  1772. #ifdef COBJMACROS
  1773. #define Message_QueryInterface(This,riid,ppvObject)
  1774.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1775. #define Message_AddRef(This)
  1776.     (This)->lpVtbl -> AddRef(This)
  1777. #define Message_Release(This)
  1778.     (This)->lpVtbl -> Release(This)
  1779. #define Message_GetTypeInfoCount(This,pctinfo)
  1780.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1781. #define Message_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1782.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1783. #define Message_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1784.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1785. #define Message_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1786.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1787. #define Message_get_Application(This,varApplication)
  1788.     (This)->lpVtbl -> get_Application(This,varApplication)
  1789. #define Message_get_Parent(This,varParent)
  1790.     (This)->lpVtbl -> get_Parent(This,varParent)
  1791. #define Message_get_Session(This,varSession)
  1792.     (This)->lpVtbl -> get_Session(This,varSession)
  1793. #define Message_get_Class(This,varClass)
  1794.     (This)->lpVtbl -> get_Class(This,varClass)
  1795. #define Message_get_Size(This,varSize)
  1796.     (This)->lpVtbl -> get_Size(This,varSize)
  1797. #define Message_get_Importance(This,pImportance)
  1798.     (This)->lpVtbl -> get_Importance(This,pImportance)
  1799. #define Message_put_Importance(This,varImportance)
  1800.     (This)->lpVtbl -> put_Importance(This,varImportance)