Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 440
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __RPCNDR_H_VERSION__
     14 #error this stub requires an updated version of <rpcndr.h>
     15 #endif
     16 
     17 #ifndef COM_NO_WINDOWS_H
     18 #include "windows.h"
     19 #include "ole2.h"
     20 #endif
     21 
     22 #ifndef __cdonts_h__
     23 #define __cdonts_h__
     24 
     25 #ifndef __INewMail_FWD_DEFINED__
     26 #define __INewMail_FWD_DEFINED__
     27 typedef struct INewMail INewMail;
     28 #endif
     29 
     30 #ifndef __ISession_FWD_DEFINED__
     31 #define __ISession_FWD_DEFINED__
     32 typedef struct ISession ISession;
     33 #endif
     34 
     35 #ifndef __Folder_FWD_DEFINED__
     36 #define __Folder_FWD_DEFINED__
     37 typedef struct Folder Folder;
     38 #endif
     39 
     40 #ifndef __Messages_FWD_DEFINED__
     41 #define __Messages_FWD_DEFINED__
     42 typedef struct Messages Messages;
     43 #endif
     44 
     45 #ifndef __Message_FWD_DEFINED__
     46 #define __Message_FWD_DEFINED__
     47 typedef struct Message Message;
     48 #endif
     49 
     50 #ifndef __Recipients_FWD_DEFINED__
     51 #define __Recipients_FWD_DEFINED__
     52 typedef struct Recipients Recipients;
     53 #endif
     54 
     55 #ifndef __Recipient_FWD_DEFINED__
     56 #define __Recipient_FWD_DEFINED__
     57 typedef struct Recipient Recipient;
     58 #endif
     59 
     60 #ifndef __Attachments_FWD_DEFINED__
     61 #define __Attachments_FWD_DEFINED__
     62 typedef struct Attachments Attachments;
     63 #endif
     64 
     65 #ifndef __Attachment_FWD_DEFINED__
     66 #define __Attachment_FWD_DEFINED__
     67 typedef struct Attachment Attachment;
     68 #endif
     69 
     70 #ifndef __AddressEntry_FWD_DEFINED__
     71 #define __AddressEntry_FWD_DEFINED__
     72 typedef struct AddressEntry AddressEntry;
     73 #endif
     74 
     75 #ifndef __NewMail_FWD_DEFINED__
     76 #define __NewMail_FWD_DEFINED__
     77 #ifdef __cplusplus
     78 typedef class NewMail NewMail;
     79 #else
     80 typedef struct NewMail NewMail;
     81 #endif
     82 #endif
     83 
     84 #ifndef __Session_FWD_DEFINED__
     85 #define __Session_FWD_DEFINED__
     86 #ifdef __cplusplus
     87 typedef class Session Session;
     88 #else
     89 typedef struct Session Session;
     90 #endif
     91 #endif
     92 
     93 #ifndef __AddressEntry_FWD_DEFINED__
     94 #define __AddressEntry_FWD_DEFINED__
     95 typedef struct AddressEntry AddressEntry;
     96 #endif
     97 
     98 #ifndef __Attachment_FWD_DEFINED__
     99 #define __Attachment_FWD_DEFINED__
    100 typedef struct Attachment Attachment;
    101 #endif
    102 
    103 #ifndef __Attachments_FWD_DEFINED__
    104 #define __Attachments_FWD_DEFINED__
    105 typedef struct Attachments Attachments;
    106 #endif
    107 
    108 #ifndef __Folder_FWD_DEFINED__
    109 #define __Folder_FWD_DEFINED__
    110 typedef struct Folder Folder;
    111 #endif
    112 
    113 #ifndef __Messages_FWD_DEFINED__
    114 #define __Messages_FWD_DEFINED__
    115 typedef struct Messages Messages;
    116 #endif
    117 
    118 #ifndef __Message_FWD_DEFINED__
    119 #define __Message_FWD_DEFINED__
    120 typedef struct Message Message;
    121 #endif
    122 
    123 #ifndef __Recipient_FWD_DEFINED__
    124 #define __Recipient_FWD_DEFINED__
    125 typedef struct Recipient Recipient;
    126 #endif
    127 
    128 #ifndef __Recipients_FWD_DEFINED__
    129 #define __Recipients_FWD_DEFINED__
    130 typedef struct Recipients Recipients;
    131 #endif
    132 
    133 #include "oaidl.h"
    134 #include "ocidl.h"
    135 
    136 #ifdef __cplusplus
    137 extern "C"{
    138 #endif
    139 
    140 #ifndef __MIDL_user_allocate_free_DEFINED__
    141 #define __MIDL_user_allocate_free_DEFINED__
    142   void *__RPC_API MIDL_user_allocate(size_t);
    143   void __RPC_API MIDL_user_free(void *);
    144 #endif
    145 
    146   typedef enum CdoErrorType {
    147     CdoE_CALL_FAILED = 0x80004005,CdoE_NOT_ENOUGH_MEMORY = 0x8007000e,CdoE_INVALID_PARAMETER = 0x80070057,CdoE_INTERFACE_NOT_SUPPORTED = 0x80004002,
    148     CdoE_NO_ACCESS = 0x80070005,CdoE_NO_SUPPORT = 0x80040102,CdoE_BAD_CHARWIDTH = 0x80040103,CdoE_STRING_TOO_LONG = 0x80040105,
    149     CdoE_UNKNOWN_FLAGS = 0x80040106,CdoE_INVALID_ENTRYID = 0x80040107,CdoE_INVALID_OBJECT = 0x80040108,CdoE_OBJECT_CHANGED = 0x80040109,
    150     CdoE_OBJECT_DELETED = 0x8004010a,CdoE_BUSY = 0x8004010b,CdoE_NOT_ENOUGH_DISK = 0x8004010d,CdoE_NOT_ENOUGH_RESOURCES = 0x8004010e,
    151     CdoE_NOT_FOUND = 0x8004010f,CdoE_VERSION = 0x80040110,CdoE_LOGON_FAILED = 0x80040111,CdoE_SESSION_LIMIT = 0x80040112,CdoE_USER_CANCEL = 0x80040113,
    152     CdoE_UNABLE_TO_ABORT = 0x80040114,CdoE_NETWORK_ERROR = 0x80040115,CdoE_DISK_ERROR = 0x80040116,CdoE_TOO_COMPLEX = 0x80040117,
    153     CdoE_BAD_COLUMN = 0x80040118,CdoE_EXTENDED_ERROR = 0x80040119,CdoE_COMPUTED = 0x8004011a,CdoE_CORRUPT_DATA = 0x8004011b,
    154     CdoE_UNCONFIGURED = 0x8004011c,CdoE_FAILONEPROVIDER = 0x8004011d,CdoE_UNKNOWN_CPID = 0x8004011e,CdoE_UNKNOWN_LCID = 0x8004011f,
    155     CdoE_PASSWORD_CHANGE_REQUIRED = 0x80040120,CdoE_PASSWORD_EXPIRED = 0x80040121,CdoE_INVALID_WORKSTATION_ACCOUNT = 0x80040122,
    156     CdoE_INVALID_ACCESS_TIME = 0x80040123,CdoE_ACCOUNT_DISABLED = 0x80040124,CdoE_END_OF_SESSION = 0x80040200,CdoE_UNKNOWN_ENTRYID = 0x80040201,
    157     CdoE_MISSING_REQUIRED_COLUMN = 0x80040202,CdoW_NO_SERVICE = 0x40203,CdoE_BAD_VALUE = 0x80040301,CdoE_INVALID_TYPE = 0x80040302,
    158     CdoE_TYPE_NO_SUPPORT = 0x80040303,CdoE_UNEXPECTED_TYPE = 0x80040304,CdoE_TOO_BIG = 0x80040305,CdoE_DECLINE_COPY = 0x80040306,
    159     CdoE_UNEXPECTED_ID = 0x80040307,CdoW_ERRORS_RETURNED = 0x40380,CdoE_UNABLE_TO_COMPLETE = 0x80040400,CdoE_TIMEOUT = 0x80040401,
    160     CdoE_TABLE_EMPTY = 0x80040402,CdoE_TABLE_TOO_BIG = 0x80040403,CdoE_INVALID_BOOKMARK = 0x80040405,CdoW_POSITION_CHANGED = 0x40481,
    161     CdoW_APPROX_COUNT = 0x40482,CdoE_WAIT = 0x80040500,CdoE_CANCEL = 0x80040501,CdoE_NOT_ME = 0x80040502,CdoW_CANCEL_MESSAGE = 0x40580,
    162     CdoE_CORRUPT_STORE = 0x80040600,CdoE_NOT_IN_QUEUE = 0x80040601,CdoE_NO_SUPPRESS = 0x80040602,CdoE_COLLISION = 0x80040604,
    163     CdoE_NOT_INITIALIZED = 0x80040605,CdoE_NON_STANDARD = 0x80040606,CdoE_NO_RECIPIENTS = 0x80040607,CdoE_SUBMITTED = 0x80040608,
    164     CdoE_HAS_FOLDERS = 0x80040609,CdoE_HAS_MESSAGES = 0x8004060a,CdoE_FOLDER_CYCLE = 0x8004060b,CdoW_PARTIAL_COMPLETION = 0x40680,
    165     CdoE_AMBIGUOUS_RECIP = 0x80040700
    166   } CdoErrorType;
    167 
    168   DEFINE_GUID(LIBID_CDONTS,0x0E064ADD,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    169   DEFINE_GUID(CLSID_NewMail,0xAF0EB60E,0x0775,0x11D1,0xA7,0x7D,0x00,0xC0,0x4F,0xC2,0xF5,0xB3);
    170   DEFINE_GUID(CLSID_Session,0x0E064AEC,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    171   DEFINE_GUID(IID_INewMail,0xAF0EB60D,0x0775,0x11D1,0xA7,0x7D,0x00,0xC0,0x4F,0xC2,0xF5,0xB3);
    172   DEFINE_GUID(IID_ISession,0x0E064AEB,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    173   DEFINE_GUID(IID_Folder,0x0E064A01,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    174   DEFINE_GUID(IID_Messages,0x0E064A02,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    175   DEFINE_GUID(IID_Message,0x0E064A03,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    176   DEFINE_GUID(IID_Recipients,0x0E064A04,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    177   DEFINE_GUID(IID_Recipient,0x0E064A05,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    178   DEFINE_GUID(IID_Attachments,0x0E064A06,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    179   DEFINE_GUID(IID_Attachment,0x0E064A07,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    180   DEFINE_GUID(IID_AddressEntry,0x0E064A08,0x9D99,0x11D0,0xAB,0xE5,0x00,0xAA,0x00,0x64,0xD4,0x70);
    181 
    182   extern RPC_IF_HANDLE __MIDL_itf_actmsg_0000_v0_0_c_ifspec;
    183   extern RPC_IF_HANDLE __MIDL_itf_actmsg_0000_v0_0_s_ifspec;
    184 
    185 #ifndef __INewMail_INTERFACE_DEFINED__
    186 #define __INewMail_INTERFACE_DEFINED__
    187   EXTERN_C const IID IID_INewMail;
    188 #if defined(__cplusplus) && !defined(CINTERFACE)
    189   struct INewMail : public IDispatch {
    190   public:
    191     virtual HRESULT WINAPI put_Value(BSTR bstrHeader,BSTR newVal) = 0;
    192     virtual HRESULT WINAPI put_To(BSTR newVal) = 0;
    193     virtual HRESULT WINAPI put_Cc(BSTR newVal) = 0;
    194     virtual HRESULT WINAPI put_Bcc(BSTR newVal) = 0;
    195     virtual HRESULT WINAPI put_Body(VARIANT newVal) = 0;
    196     virtual HRESULT WINAPI put_Importance(__LONG32 newVal) = 0;
    197     virtual HRESULT WINAPI put_BodyFormat(__LONG32 newVal) = 0;
    198     virtual HRESULT WINAPI put_MailFormat(__LONG32 newVal) = 0;
    199     virtual HRESULT WINAPI put_Subject(BSTR newVal) = 0;
    200     virtual HRESULT WINAPI put_From(BSTR newVal) = 0;
    201     virtual HRESULT WINAPI Send(VARIANT From,VARIANT To,VARIANT Subject,VARIANT Body,VARIANT Importance) = 0;
    202     virtual HRESULT WINAPI AttachFile(VARIANT Source,VARIANT FileName,VARIANT EncodingMethod) = 0;
    203     virtual HRESULT WINAPI AttachURL(VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT EncodingMethod) = 0;
    204     virtual HRESULT WINAPI SetLocaleIDs(__LONG32 CodePageID) = 0;
    205     virtual HRESULT WINAPI put_ContentLocation(BSTR newVal) = 0;
    206     virtual HRESULT WINAPI put_ContentBase(BSTR newVal) = 0;
    207     virtual HRESULT WINAPI get_Version(BSTR *Version) = 0;
    208   };
    209 #else
    210   typedef struct INewMailVtbl {
    211     BEGIN_INTERFACE
    212       HRESULT (WINAPI *QueryInterface)(INewMail *This,REFIID riid,void **ppvObject);
    213       ULONG (WINAPI *AddRef)(INewMail *This);
    214       ULONG (WINAPI *Release)(INewMail *This);
    215       HRESULT (WINAPI *GetTypeInfoCount)(INewMail *This,UINT *pctinfo);
    216       HRESULT (WINAPI *GetTypeInfo)(INewMail *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    217       HRESULT (WINAPI *GetIDsOfNames)(INewMail *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    218       HRESULT (WINAPI *Invoke)(INewMail *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    219       HRESULT (WINAPI *put_Value)(INewMail *This,BSTR bstrHeader,BSTR newVal);
    220       HRESULT (WINAPI *put_To)(INewMail *This,BSTR newVal);
    221       HRESULT (WINAPI *put_Cc)(INewMail *This,BSTR newVal);
    222       HRESULT (WINAPI *put_Bcc)(INewMail *This,BSTR newVal);
    223       HRESULT (WINAPI *put_Body)(INewMail *This,VARIANT newVal);
    224       HRESULT (WINAPI *put_Importance)(INewMail *This,__LONG32 newVal);
    225       HRESULT (WINAPI *put_BodyFormat)(INewMail *This,__LONG32 newVal);
    226       HRESULT (WINAPI *put_MailFormat)(INewMail *This,__LONG32 newVal);
    227       HRESULT (WINAPI *put_Subject)(INewMail *This,BSTR newVal);
    228       HRESULT (WINAPI *put_From)(INewMail *This,BSTR newVal);
    229       HRESULT (WINAPI *Send)(INewMail *This,VARIANT From,VARIANT To,VARIANT Subject,VARIANT Body,VARIANT Importance);
    230       HRESULT (WINAPI *AttachFile)(INewMail *This,VARIANT Source,VARIANT FileName,VARIANT EncodingMethod);
    231       HRESULT (WINAPI *AttachURL)(INewMail *This,VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT EncodingMethod);
    232       HRESULT (WINAPI *SetLocaleIDs)(INewMail *This,__LONG32 CodePageID);
    233       HRESULT (WINAPI *put_ContentLocation)(INewMail *This,BSTR newVal);
    234       HRESULT (WINAPI *put_ContentBase)(INewMail *This,BSTR newVal);
    235       HRESULT (WINAPI *get_Version)(INewMail *This,BSTR *Version);
    236     END_INTERFACE
    237   } INewMailVtbl;
    238   struct INewMail {
    239     CONST_VTBL struct INewMailVtbl *lpVtbl;
    240   };
    241 #ifdef COBJMACROS
    242 #define INewMail_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    243 #define INewMail_AddRef(This) (This)->lpVtbl->AddRef(This)
    244 #define INewMail_Release(This) (This)->lpVtbl->Release(This)
    245 #define INewMail_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    246 #define INewMail_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    247 #define INewMail_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    248 #define INewMail_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    249 #define INewMail_put_Value(This,bstrHeader,newVal) (This)->lpVtbl->put_Value(This,bstrHeader,newVal)
    250 #define INewMail_put_To(This,newVal) (This)->lpVtbl->put_To(This,newVal)
    251 #define INewMail_put_Cc(This,newVal) (This)->lpVtbl->put_Cc(This,newVal)
    252 #define INewMail_put_Bcc(This,newVal) (This)->lpVtbl->put_Bcc(This,newVal)
    253 #define INewMail_put_Body(This,newVal) (This)->lpVtbl->put_Body(This,newVal)
    254 #define INewMail_put_Importance(This,newVal) (This)->lpVtbl->put_Importance(This,newVal)
    255 #define INewMail_put_BodyFormat(This,newVal) (This)->lpVtbl->put_BodyFormat(This,newVal)
    256 #define INewMail_put_MailFormat(This,newVal) (This)->lpVtbl->put_MailFormat(This,newVal)
    257 #define INewMail_put_Subject(This,newVal) (This)->lpVtbl->put_Subject(This,newVal)
    258 #define INewMail_put_From(This,newVal) (This)->lpVtbl->put_From(This,newVal)
    259 #define INewMail_Send(This,From,To,Subject,Body,Importance) (This)->lpVtbl->Send(This,From,To,Subject,Body,Importance)
    260 #define INewMail_AttachFile(This,Source,FileName,EncodingMethod) (This)->lpVtbl->AttachFile(This,Source,FileName,EncodingMethod)
    261 #define INewMail_AttachURL(This,Source,ContentLocation,ContentBase,EncodingMethod) (This)->lpVtbl->AttachURL(This,Source,ContentLocation,ContentBase,EncodingMethod)
    262 #define INewMail_SetLocaleIDs(This,CodePageID) (This)->lpVtbl->SetLocaleIDs(This,CodePageID)
    263 #define INewMail_put_ContentLocation(This,newVal) (This)->lpVtbl->put_ContentLocation(This,newVal)
    264 #define INewMail_put_ContentBase(This,newVal) (This)->lpVtbl->put_ContentBase(This,newVal)
    265 #define INewMail_get_Version(This,Version) (This)->lpVtbl->get_Version(This,Version)
    266 #endif
    267 #endif
    268   HRESULT WINAPI INewMail_put_Value_Proxy(INewMail *This,BSTR bstrHeader,BSTR newVal);
    269   void __RPC_STUB INewMail_put_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    270   HRESULT WINAPI INewMail_put_To_Proxy(INewMail *This,BSTR newVal);
    271   void __RPC_STUB INewMail_put_To_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    272   HRESULT WINAPI INewMail_put_Cc_Proxy(INewMail *This,BSTR newVal);
    273   void __RPC_STUB INewMail_put_Cc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    274   HRESULT WINAPI INewMail_put_Bcc_Proxy(INewMail *This,BSTR newVal);
    275   void __RPC_STUB INewMail_put_Bcc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    276   HRESULT WINAPI INewMail_put_Body_Proxy(INewMail *This,VARIANT newVal);
    277   void __RPC_STUB INewMail_put_Body_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    278   HRESULT WINAPI INewMail_put_Importance_Proxy(INewMail *This,__LONG32 newVal);
    279   void __RPC_STUB INewMail_put_Importance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    280   HRESULT WINAPI INewMail_put_BodyFormat_Proxy(INewMail *This,__LONG32 newVal);
    281   void __RPC_STUB INewMail_put_BodyFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    282   HRESULT WINAPI INewMail_put_MailFormat_Proxy(INewMail *This,__LONG32 newVal);
    283   void __RPC_STUB INewMail_put_MailFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    284   HRESULT WINAPI INewMail_put_Subject_Proxy(INewMail *This,BSTR newVal);
    285   void __RPC_STUB INewMail_put_Subject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    286   HRESULT WINAPI INewMail_put_From_Proxy(INewMail *This,BSTR newVal);
    287   void __RPC_STUB INewMail_put_From_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    288   HRESULT WINAPI INewMail_Send_Proxy(INewMail *This,VARIANT From,VARIANT To,VARIANT Subject,VARIANT Body,VARIANT Importance);
    289   void __RPC_STUB INewMail_Send_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    290   HRESULT WINAPI INewMail_AttachFile_Proxy(INewMail *This,VARIANT Source,VARIANT FileName,VARIANT EncodingMethod);
    291   void __RPC_STUB INewMail_AttachFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    292   HRESULT WINAPI INewMail_AttachURL_Proxy(INewMail *This,VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT EncodingMethod);
    293   void __RPC_STUB INewMail_AttachURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    294   HRESULT WINAPI INewMail_SetLocaleIDs_Proxy(INewMail *This,__LONG32 CodePageID);
    295   void __RPC_STUB INewMail_SetLocaleIDs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    296   HRESULT WINAPI INewMail_put_ContentLocation_Proxy(INewMail *This,BSTR newVal);
    297   void __RPC_STUB INewMail_put_ContentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    298   HRESULT WINAPI INewMail_put_ContentBase_Proxy(INewMail *This,BSTR newVal);
    299   void __RPC_STUB INewMail_put_ContentBase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    300   HRESULT WINAPI INewMail_get_Version_Proxy(INewMail *This,BSTR *Version);
    301   void __RPC_STUB INewMail_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    302 #endif
    303 
    304 #ifndef __ISession_INTERFACE_DEFINED__
    305 #define __ISession_INTERFACE_DEFINED__
    306   EXTERN_C const IID IID_ISession;
    307 #if defined(__cplusplus) && !defined(CINTERFACE)
    308   struct ISession : public IDispatch {
    309   public:
    310     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    311     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    312     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    313     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    314     virtual HRESULT WINAPI get_Version(BSTR *varVersion) = 0;
    315     virtual HRESULT WINAPI get_Name(BSTR *varName) = 0;
    316     virtual HRESULT WINAPI get_Inbox(VARIANT *varInbox) = 0;
    317     virtual HRESULT WINAPI get_Outbox(VARIANT *varOutbox) = 0;
    318     virtual HRESULT WINAPI get_MessageFormat(__LONG32 *pMessageFormat) = 0;
    319     virtual HRESULT WINAPI put_MessageFormat(__LONG32 varMessageFormat) = 0;
    320     virtual HRESULT WINAPI LogonSMTP(VARIANT DisplayName,VARIANT Address) = 0;
    321     virtual HRESULT WINAPI Logoff(void) = 0;
    322     virtual HRESULT WINAPI GetDefaultFolder(VARIANT Type,VARIANT *pvarResult) = 0;
    323     virtual HRESULT WINAPI GetMessage(VARIANT MessageID,VARIANT StoreID,VARIANT *pvarResult) = 0;
    324     virtual HRESULT WINAPI SetLocaleIDs(__LONG32 CodePageID) = 0;
    325     virtual HRESULT WINAPI SetReserved(VARIANT var1,VARIANT var2) = 0;
    326   };
    327 #else
    328   typedef struct ISessionVtbl {
    329     BEGIN_INTERFACE
    330       HRESULT (WINAPI *QueryInterface)(ISession *This,REFIID riid,void **ppvObject);
    331       ULONG (WINAPI *AddRef)(ISession *This);
    332       ULONG (WINAPI *Release)(ISession *This);
    333       HRESULT (WINAPI *GetTypeInfoCount)(ISession *This,UINT *pctinfo);
    334       HRESULT (WINAPI *GetTypeInfo)(ISession *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    335       HRESULT (WINAPI *GetIDsOfNames)(ISession *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    336       HRESULT (WINAPI *Invoke)(ISession *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    337       HRESULT (WINAPI *get_Application)(ISession *This,VARIANT *varApplication);
    338       HRESULT (WINAPI *get_Parent)(ISession *This,VARIANT *varParent);
    339       HRESULT (WINAPI *get_Session)(ISession *This,VARIANT *varSession);
    340       HRESULT (WINAPI *get_Class)(ISession *This,__LONG32 *varClass);
    341       HRESULT (WINAPI *get_Version)(ISession *This,BSTR *varVersion);
    342       HRESULT (WINAPI *get_Name)(ISession *This,BSTR *varName);
    343       HRESULT (WINAPI *get_Inbox)(ISession *This,VARIANT *varInbox);
    344       HRESULT (WINAPI *get_Outbox)(ISession *This,VARIANT *varOutbox);
    345       HRESULT (WINAPI *get_MessageFormat)(ISession *This,__LONG32 *pMessageFormat);
    346       HRESULT (WINAPI *put_MessageFormat)(ISession *This,__LONG32 varMessageFormat);
    347       HRESULT (WINAPI *LogonSMTP)(ISession *This,VARIANT DisplayName,VARIANT Address);
    348       HRESULT (WINAPI *Logoff)(ISession *This);
    349       HRESULT (WINAPI *GetDefaultFolder)(ISession *This,VARIANT Type,VARIANT *pvarResult);
    350       HRESULT (WINAPI *GetMessage)(ISession *This,VARIANT MessageID,VARIANT StoreID,VARIANT *pvarResult);
    351       HRESULT (WINAPI *SetLocaleIDs)(ISession *This,__LONG32 CodePageID);
    352       HRESULT (WINAPI *SetReserved)(ISession *This,VARIANT var1,VARIANT var2);
    353     END_INTERFACE
    354   } ISessionVtbl;
    355   struct ISession {
    356     CONST_VTBL struct ISessionVtbl *lpVtbl;
    357   };
    358 #ifdef COBJMACROS
    359 #define ISession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    360 #define ISession_AddRef(This) (This)->lpVtbl->AddRef(This)
    361 #define ISession_Release(This) (This)->lpVtbl->Release(This)
    362 #define ISession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    363 #define ISession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    364 #define ISession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    365 #define ISession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    366 #define ISession_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    367 #define ISession_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    368 #define ISession_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    369 #define ISession_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    370 #define ISession_get_Version(This,varVersion) (This)->lpVtbl->get_Version(This,varVersion)
    371 #define ISession_get_Name(This,varName) (This)->lpVtbl->get_Name(This,varName)
    372 #define ISession_get_Inbox(This,varInbox) (This)->lpVtbl->get_Inbox(This,varInbox)
    373 #define ISession_get_Outbox(This,varOutbox) (This)->lpVtbl->get_Outbox(This,varOutbox)
    374 #define ISession_get_MessageFormat(This,pMessageFormat) (This)->lpVtbl->get_MessageFormat(This,pMessageFormat)
    375 #define ISession_put_MessageFormat(This,varMessageFormat) (This)->lpVtbl->put_MessageFormat(This,varMessageFormat)
    376 #define ISession_LogonSMTP(This,DisplayName,Address) (This)->lpVtbl->LogonSMTP(This,DisplayName,Address)
    377 #define ISession_Logoff(This) (This)->lpVtbl->Logoff(This)
    378 #define ISession_GetDefaultFolder(This,Type,pvarResult) (This)->lpVtbl->GetDefaultFolder(This,Type,pvarResult)
    379 #define ISession_GetMessage(This,MessageID,StoreID,pvarResult) (This)->lpVtbl->GetMessage(This,MessageID,StoreID,pvarResult)
    380 #define ISession_SetLocaleIDs(This,CodePageID) (This)->lpVtbl->SetLocaleIDs(This,CodePageID)
    381 #define ISession_SetReserved(This,var1,var2) (This)->lpVtbl->SetReserved(This,var1,var2)
    382 #endif
    383 #endif
    384   HRESULT WINAPI ISession_get_Application_Proxy(ISession *This,VARIANT *varApplication);
    385   void __RPC_STUB ISession_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    386   HRESULT WINAPI ISession_get_Parent_Proxy(ISession *This,VARIANT *varParent);
    387   void __RPC_STUB ISession_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    388   HRESULT WINAPI ISession_get_Session_Proxy(ISession *This,VARIANT *varSession);
    389   void __RPC_STUB ISession_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    390   HRESULT WINAPI ISession_get_Class_Proxy(ISession *This,__LONG32 *varClass);
    391   void __RPC_STUB ISession_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    392   HRESULT WINAPI ISession_get_Version_Proxy(ISession *This,BSTR *varVersion);
    393   void __RPC_STUB ISession_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    394   HRESULT WINAPI ISession_get_Name_Proxy(ISession *This,BSTR *varName);
    395   void __RPC_STUB ISession_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    396   HRESULT WINAPI ISession_get_Inbox_Proxy(ISession *This,VARIANT *varInbox);
    397   void __RPC_STUB ISession_get_Inbox_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    398   HRESULT WINAPI ISession_get_Outbox_Proxy(ISession *This,VARIANT *varOutbox);
    399   void __RPC_STUB ISession_get_Outbox_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    400   HRESULT WINAPI ISession_get_MessageFormat_Proxy(ISession *This,__LONG32 *pMessageFormat);
    401   void __RPC_STUB ISession_get_MessageFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    402   HRESULT WINAPI ISession_put_MessageFormat_Proxy(ISession *This,__LONG32 varMessageFormat);
    403   void __RPC_STUB ISession_put_MessageFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    404   HRESULT WINAPI ISession_LogonSMTP_Proxy(ISession *This,VARIANT DisplayName,VARIANT Address);
    405   void __RPC_STUB ISession_LogonSMTP_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    406   HRESULT WINAPI ISession_Logoff_Proxy(ISession *This);
    407   void __RPC_STUB ISession_Logoff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    408   HRESULT WINAPI ISession_GetDefaultFolder_Proxy(ISession *This,VARIANT Type,VARIANT *pvarResult);
    409   void __RPC_STUB ISession_GetDefaultFolder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    410   HRESULT WINAPI ISession_GetMessage_Proxy(ISession *This,VARIANT MessageID,VARIANT StoreID,VARIANT *pvarResult);
    411   void __RPC_STUB ISession_GetMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    412   HRESULT WINAPI ISession_SetLocaleIDs_Proxy(ISession *This,__LONG32 CodePageID);
    413   void __RPC_STUB ISession_SetLocaleIDs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    414   HRESULT WINAPI ISession_SetReserved_Proxy(ISession *This,VARIANT var1,VARIANT var2);
    415   void __RPC_STUB ISession_SetReserved_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    416 #endif
    417 
    418 #ifndef __Folder_INTERFACE_DEFINED__
    419 #define __Folder_INTERFACE_DEFINED__
    420   EXTERN_C const IID IID_Folder;
    421 #if defined(__cplusplus) && !defined(CINTERFACE)
    422   struct Folder : public IDispatch {
    423   public:
    424     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    425     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    426     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    427     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    428     virtual HRESULT WINAPI get_Name(BSTR *varName) = 0;
    429     virtual HRESULT WINAPI get_Messages(VARIANT *varMessages) = 0;
    430   };
    431 #else
    432   typedef struct FolderVtbl {
    433     BEGIN_INTERFACE
    434       HRESULT (WINAPI *QueryInterface)(Folder *This,REFIID riid,void **ppvObject);
    435       ULONG (WINAPI *AddRef)(Folder *This);
    436       ULONG (WINAPI *Release)(Folder *This);
    437       HRESULT (WINAPI *GetTypeInfoCount)(Folder *This,UINT *pctinfo);
    438       HRESULT (WINAPI *GetTypeInfo)(Folder *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    439       HRESULT (WINAPI *GetIDsOfNames)(Folder *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    440       HRESULT (WINAPI *Invoke)(Folder *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    441       HRESULT (WINAPI *get_Application)(Folder *This,VARIANT *varApplication);
    442       HRESULT (WINAPI *get_Parent)(Folder *This,VARIANT *varParent);
    443       HRESULT (WINAPI *get_Session)(Folder *This,VARIANT *varSession);
    444       HRESULT (WINAPI *get_Class)(Folder *This,__LONG32 *varClass);
    445       HRESULT (WINAPI *get_Name)(Folder *This,BSTR *varName);
    446       HRESULT (WINAPI *get_Messages)(Folder *This,VARIANT *varMessages);
    447     END_INTERFACE
    448   } FolderVtbl;
    449   struct Folder {
    450     CONST_VTBL struct FolderVtbl *lpVtbl;
    451   };
    452 #ifdef COBJMACROS
    453 #define Folder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    454 #define Folder_AddRef(This) (This)->lpVtbl->AddRef(This)
    455 #define Folder_Release(This) (This)->lpVtbl->Release(This)
    456 #define Folder_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    457 #define Folder_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    458 #define Folder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    459 #define Folder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    460 #define Folder_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    461 #define Folder_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    462 #define Folder_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    463 #define Folder_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    464 #define Folder_get_Name(This,varName) (This)->lpVtbl->get_Name(This,varName)
    465 #define Folder_get_Messages(This,varMessages) (This)->lpVtbl->get_Messages(This,varMessages)
    466 #endif
    467 #endif
    468   HRESULT WINAPI Folder_get_Application_Proxy(Folder *This,VARIANT *varApplication);
    469   void __RPC_STUB Folder_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    470   HRESULT WINAPI Folder_get_Parent_Proxy(Folder *This,VARIANT *varParent);
    471   void __RPC_STUB Folder_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    472   HRESULT WINAPI Folder_get_Session_Proxy(Folder *This,VARIANT *varSession);
    473   void __RPC_STUB Folder_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    474   HRESULT WINAPI Folder_get_Class_Proxy(Folder *This,__LONG32 *varClass);
    475   void __RPC_STUB Folder_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    476   HRESULT WINAPI Folder_get_Name_Proxy(Folder *This,BSTR *varName);
    477   void __RPC_STUB Folder_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    478   HRESULT WINAPI Folder_get_Messages_Proxy(Folder *This,VARIANT *varMessages);
    479   void __RPC_STUB Folder_get_Messages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    480 #endif
    481 
    482 #ifndef __Messages_INTERFACE_DEFINED__
    483 #define __Messages_INTERFACE_DEFINED__
    484   EXTERN_C const IID IID_Messages;
    485 #if defined(__cplusplus) && !defined(CINTERFACE)
    486   struct Messages : public IDispatch {
    487   public:
    488     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    489     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    490     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    491     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    492     virtual HRESULT WINAPI get_Count(__LONG32 *varCount) = 0;
    493     virtual HRESULT WINAPI get_Item(VARIANT *var,VARIANT *pvarResult) = 0;
    494     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppunkResult) = 0;
    495     virtual HRESULT WINAPI Add(VARIANT Subject,VARIANT Text,VARIANT Importance,VARIANT *pvarResult) = 0;
    496     virtual HRESULT WINAPI Delete(void) = 0;
    497     virtual HRESULT WINAPI GetFirst(VARIANT *pvarResult) = 0;
    498     virtual HRESULT WINAPI GetNext(VARIANT *pvarResult) = 0;
    499     virtual HRESULT WINAPI GetLast(VARIANT *pvarResult) = 0;
    500     virtual HRESULT WINAPI GetPrevious(VARIANT *pvarResult) = 0;
    501   };
    502 #else
    503   typedef struct MessagesVtbl {
    504     BEGIN_INTERFACE
    505       HRESULT (WINAPI *QueryInterface)(Messages *This,REFIID riid,void **ppvObject);
    506       ULONG (WINAPI *AddRef)(Messages *This);
    507       ULONG (WINAPI *Release)(Messages *This);
    508       HRESULT (WINAPI *GetTypeInfoCount)(Messages *This,UINT *pctinfo);
    509       HRESULT (WINAPI *GetTypeInfo)(Messages *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    510       HRESULT (WINAPI *GetIDsOfNames)(Messages *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    511       HRESULT (WINAPI *Invoke)(Messages *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    512       HRESULT (WINAPI *get_Application)(Messages *This,VARIANT *varApplication);
    513       HRESULT (WINAPI *get_Parent)(Messages *This,VARIANT *varParent);
    514       HRESULT (WINAPI *get_Session)(Messages *This,VARIANT *varSession);
    515       HRESULT (WINAPI *get_Class)(Messages *This,__LONG32 *varClass);
    516       HRESULT (WINAPI *get_Count)(Messages *This,__LONG32 *varCount);
    517       HRESULT (WINAPI *get_Item)(Messages *This,VARIANT *var,VARIANT *pvarResult);
    518       HRESULT (WINAPI *get__NewEnum)(Messages *This,IUnknown **ppunkResult);
    519       HRESULT (WINAPI *Add)(Messages *This,VARIANT Subject,VARIANT Text,VARIANT Importance,VARIANT *pvarResult);
    520       HRESULT (WINAPI *Delete)(Messages *This);
    521       HRESULT (WINAPI *GetFirst)(Messages *This,VARIANT *pvarResult);
    522       HRESULT (WINAPI *GetNext)(Messages *This,VARIANT *pvarResult);
    523       HRESULT (WINAPI *GetLast)(Messages *This,VARIANT *pvarResult);
    524       HRESULT (WINAPI *GetPrevious)(Messages *This,VARIANT *pvarResult);
    525     END_INTERFACE
    526   } MessagesVtbl;
    527   struct Messages {
    528     CONST_VTBL struct MessagesVtbl *lpVtbl;
    529   };
    530 #ifdef COBJMACROS
    531 #define Messages_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    532 #define Messages_AddRef(This) (This)->lpVtbl->AddRef(This)
    533 #define Messages_Release(This) (This)->lpVtbl->Release(This)
    534 #define Messages_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    535 #define Messages_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    536 #define Messages_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    537 #define Messages_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    538 #define Messages_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    539 #define Messages_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    540 #define Messages_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    541 #define Messages_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    542 #define Messages_get_Count(This,varCount) (This)->lpVtbl->get_Count(This,varCount)
    543 #define Messages_get_Item(This,var,pvarResult) (This)->lpVtbl->get_Item(This,var,pvarResult)
    544 #define Messages_get__NewEnum(This,ppunkResult) (This)->lpVtbl->get__NewEnum(This,ppunkResult)
    545 #define Messages_Add(This,Subject,Text,Importance,pvarResult) (This)->lpVtbl->Add(This,Subject,Text,Importance,pvarResult)
    546 #define Messages_Delete(This) (This)->lpVtbl->Delete(This)
    547 #define Messages_GetFirst(This,pvarResult) (This)->lpVtbl->GetFirst(This,pvarResult)
    548 #define Messages_GetNext(This,pvarResult) (This)->lpVtbl->GetNext(This,pvarResult)
    549 #define Messages_GetLast(This,pvarResult) (This)->lpVtbl->GetLast(This,pvarResult)
    550 #define Messages_GetPrevious(This,pvarResult) (This)->lpVtbl->GetPrevious(This,pvarResult)
    551 #endif
    552 #endif
    553   HRESULT WINAPI Messages_get_Application_Proxy(Messages *This,VARIANT *varApplication);
    554   void __RPC_STUB Messages_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    555   HRESULT WINAPI Messages_get_Parent_Proxy(Messages *This,VARIANT *varParent);
    556   void __RPC_STUB Messages_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    557   HRESULT WINAPI Messages_get_Session_Proxy(Messages *This,VARIANT *varSession);
    558   void __RPC_STUB Messages_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    559   HRESULT WINAPI Messages_get_Class_Proxy(Messages *This,__LONG32 *varClass);
    560   void __RPC_STUB Messages_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    561   HRESULT WINAPI Messages_get_Count_Proxy(Messages *This,__LONG32 *varCount);
    562   void __RPC_STUB Messages_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    563   HRESULT WINAPI Messages_get_Item_Proxy(Messages *This,VARIANT *var,VARIANT *pvarResult);
    564   void __RPC_STUB Messages_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    565   HRESULT WINAPI Messages_get__NewEnum_Proxy(Messages *This,IUnknown **ppunkResult);
    566   void __RPC_STUB Messages_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    567   HRESULT WINAPI Messages_Add_Proxy(Messages *This,VARIANT Subject,VARIANT Text,VARIANT Importance,VARIANT *pvarResult);
    568   void __RPC_STUB Messages_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    569   HRESULT WINAPI Messages_Delete_Proxy(Messages *This);
    570   void __RPC_STUB Messages_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    571   HRESULT WINAPI Messages_GetFirst_Proxy(Messages *This,VARIANT *pvarResult);
    572   void __RPC_STUB Messages_GetFirst_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    573   HRESULT WINAPI Messages_GetNext_Proxy(Messages *This,VARIANT *pvarResult);
    574   void __RPC_STUB Messages_GetNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    575   HRESULT WINAPI Messages_GetLast_Proxy(Messages *This,VARIANT *pvarResult);
    576   void __RPC_STUB Messages_GetLast_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    577   HRESULT WINAPI Messages_GetPrevious_Proxy(Messages *This,VARIANT *pvarResult);
    578   void __RPC_STUB Messages_GetPrevious_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    579 #endif
    580 
    581 #ifndef __Message_INTERFACE_DEFINED__
    582 #define __Message_INTERFACE_DEFINED__
    583   EXTERN_C const IID IID_Message;
    584 #if defined(__cplusplus) && !defined(CINTERFACE)
    585   struct Message : public IDispatch {
    586   public:
    587     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    588     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    589     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    590     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    591     virtual HRESULT WINAPI get_Size(__LONG32 *varSize) = 0;
    592     virtual HRESULT WINAPI get_Importance(__LONG32 *pImportance) = 0;
    593     virtual HRESULT WINAPI put_Importance(__LONG32 varImportance) = 0;
    594     virtual HRESULT WINAPI get_Subject(BSTR *pSubject) = 0;
    595     virtual HRESULT WINAPI put_Subject(BSTR varSubject) = 0;
    596     virtual HRESULT WINAPI get_Sender(VARIANT *varSender) = 0;
    597     virtual HRESULT WINAPI get_TimeSent(VARIANT *varTimeSent) = 0;
    598     virtual HRESULT WINAPI put_TimeSent(VARIANT varTimeSent) = 0;
    599     virtual HRESULT WINAPI get_TimeReceived(VARIANT *varTimeReceived) = 0;
    600     virtual HRESULT WINAPI put_TimeReceived(VARIANT varTimeReceived) = 0;
    601     virtual HRESULT WINAPI get_Text(VARIANT *varText) = 0;
    602     virtual HRESULT WINAPI put_Text(VARIANT varText) = 0;
    603     virtual HRESULT WINAPI get_HTMLText(VARIANT *varHTMLText) = 0;
    604     virtual HRESULT WINAPI put_HTMLText(VARIANT varHTMLText) = 0;
    605     virtual HRESULT WINAPI get_Recipients(VARIANT *varRecipients) = 0;
    606     virtual HRESULT WINAPI put_Recipients(VARIANT varRecipients) = 0;
    607     virtual HRESULT WINAPI get_Attachments(VARIANT *varAttachments) = 0;
    608     virtual HRESULT WINAPI put_MessageFormat(__LONG32 __MIDL_0011) = 0;
    609     virtual HRESULT WINAPI get_ContentLocation(VARIANT *varContentLocation) = 0;
    610     virtual HRESULT WINAPI put_ContentLocation(VARIANT varContentLocation) = 0;
    611     virtual HRESULT WINAPI get_ContentBase(VARIANT *varContentBase) = 0;
    612     virtual HRESULT WINAPI put_ContentBase(VARIANT varContentBase) = 0;
    613     virtual HRESULT WINAPI get_ContentID(VARIANT *varContentID) = 0;
    614     virtual HRESULT WINAPI put_ContentID(VARIANT varContentID) = 0;
    615     virtual HRESULT WINAPI Delete(void) = 0;
    616     virtual HRESULT WINAPI Send(void) = 0;
    617   };
    618 #else
    619   typedef struct MessageVtbl {
    620     BEGIN_INTERFACE
    621       HRESULT (WINAPI *QueryInterface)(Message *This,REFIID riid,void **ppvObject);
    622       ULONG (WINAPI *AddRef)(Message *This);
    623       ULONG (WINAPI *Release)(Message *This);
    624       HRESULT (WINAPI *GetTypeInfoCount)(Message *This,UINT *pctinfo);
    625       HRESULT (WINAPI *GetTypeInfo)(Message *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    626       HRESULT (WINAPI *GetIDsOfNames)(Message *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    627       HRESULT (WINAPI *Invoke)(Message *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    628       HRESULT (WINAPI *get_Application)(Message *This,VARIANT *varApplication);
    629       HRESULT (WINAPI *get_Parent)(Message *This,VARIANT *varParent);
    630       HRESULT (WINAPI *get_Session)(Message *This,VARIANT *varSession);
    631       HRESULT (WINAPI *get_Class)(Message *This,__LONG32 *varClass);
    632       HRESULT (WINAPI *get_Size)(Message *This,__LONG32 *varSize);
    633       HRESULT (WINAPI *get_Importance)(Message *This,__LONG32 *pImportance);
    634       HRESULT (WINAPI *put_Importance)(Message *This,__LONG32 varImportance);
    635       HRESULT (WINAPI *get_Subject)(Message *This,BSTR *pSubject);
    636       HRESULT (WINAPI *put_Subject)(Message *This,BSTR varSubject);
    637       HRESULT (WINAPI *get_Sender)(Message *This,VARIANT *varSender);
    638       HRESULT (WINAPI *get_TimeSent)(Message *This,VARIANT *varTimeSent);
    639       HRESULT (WINAPI *put_TimeSent)(Message *This,VARIANT varTimeSent);
    640       HRESULT (WINAPI *get_TimeReceived)(Message *This,VARIANT *varTimeReceived);
    641       HRESULT (WINAPI *put_TimeReceived)(Message *This,VARIANT varTimeReceived);
    642       HRESULT (WINAPI *get_Text)(Message *This,VARIANT *varText);
    643       HRESULT (WINAPI *put_Text)(Message *This,VARIANT varText);
    644       HRESULT (WINAPI *get_HTMLText)(Message *This,VARIANT *varHTMLText);
    645       HRESULT (WINAPI *put_HTMLText)(Message *This,VARIANT varHTMLText);
    646       HRESULT (WINAPI *get_Recipients)(Message *This,VARIANT *varRecipients);
    647       HRESULT (WINAPI *put_Recipients)(Message *This,VARIANT varRecipients);
    648       HRESULT (WINAPI *get_Attachments)(Message *This,VARIANT *varAttachments);
    649       HRESULT (WINAPI *put_MessageFormat)(Message *This,__LONG32 __MIDL_0011);
    650       HRESULT (WINAPI *get_ContentLocation)(Message *This,VARIANT *varContentLocation);
    651       HRESULT (WINAPI *put_ContentLocation)(Message *This,VARIANT varContentLocation);
    652       HRESULT (WINAPI *get_ContentBase)(Message *This,VARIANT *varContentBase);
    653       HRESULT (WINAPI *put_ContentBase)(Message *This,VARIANT varContentBase);
    654       HRESULT (WINAPI *get_ContentID)(Message *This,VARIANT *varContentID);
    655       HRESULT (WINAPI *put_ContentID)(Message *This,VARIANT varContentID);
    656       HRESULT (WINAPI *Delete)(Message *This);
    657       HRESULT (WINAPI *Send)(Message *This);
    658     END_INTERFACE
    659   } MessageVtbl;
    660   struct Message {
    661     CONST_VTBL struct MessageVtbl *lpVtbl;
    662   };
    663 #ifdef COBJMACROS
    664 #define Message_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    665 #define Message_AddRef(This) (This)->lpVtbl->AddRef(This)
    666 #define Message_Release(This) (This)->lpVtbl->Release(This)
    667 #define Message_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    668 #define Message_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    669 #define Message_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    670 #define Message_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    671 #define Message_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    672 #define Message_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    673 #define Message_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    674 #define Message_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    675 #define Message_get_Size(This,varSize) (This)->lpVtbl->get_Size(This,varSize)
    676 #define Message_get_Importance(This,pImportance) (This)->lpVtbl->get_Importance(This,pImportance)
    677 #define Message_put_Importance(This,varImportance) (This)->lpVtbl->put_Importance(This,varImportance)
    678 #define Message_get_Subject(This,pSubject) (This)->lpVtbl->get_Subject(This,pSubject)
    679 #define Message_put_Subject(This,varSubject) (This)->lpVtbl->put_Subject(This,varSubject)
    680 #define Message_get_Sender(This,varSender) (This)->lpVtbl->get_Sender(This,varSender)
    681 #define Message_get_TimeSent(This,varTimeSent) (This)->lpVtbl->get_TimeSent(This,varTimeSent)
    682 #define Message_put_TimeSent(This,varTimeSent) (This)->lpVtbl->put_TimeSent(This,varTimeSent)
    683 #define Message_get_TimeReceived(This,varTimeReceived) (This)->lpVtbl->get_TimeReceived(This,varTimeReceived)
    684 #define Message_put_TimeReceived(This,varTimeReceived) (This)->lpVtbl->put_TimeReceived(This,varTimeReceived)
    685 #define Message_get_Text(This,varText) (This)->lpVtbl->get_Text(This,varText)
    686 #define Message_put_Text(This,varText) (This)->lpVtbl->put_Text(This,varText)
    687 #define Message_get_HTMLText(This,varHTMLText) (This)->lpVtbl->get_HTMLText(This,varHTMLText)
    688 #define Message_put_HTMLText(This,varHTMLText) (This)->lpVtbl->put_HTMLText(This,varHTMLText)
    689 #define Message_get_Recipients(This,varRecipients) (This)->lpVtbl->get_Recipients(This,varRecipients)
    690 #define Message_put_Recipients(This,varRecipients) (This)->lpVtbl->put_Recipients(This,varRecipients)
    691 #define Message_get_Attachments(This,varAttachments) (This)->lpVtbl->get_Attachments(This,varAttachments)
    692 #define Message_put_MessageFormat(This,__MIDL_0011) (This)->lpVtbl->put_MessageFormat(This,__MIDL_0011)
    693 #define Message_get_ContentLocation(This,varContentLocation) (This)->lpVtbl->get_ContentLocation(This,varContentLocation)
    694 #define Message_put_ContentLocation(This,varContentLocation) (This)->lpVtbl->put_ContentLocation(This,varContentLocation)
    695 #define Message_get_ContentBase(This,varContentBase) (This)->lpVtbl->get_ContentBase(This,varContentBase)
    696 #define Message_put_ContentBase(This,varContentBase) (This)->lpVtbl->put_ContentBase(This,varContentBase)
    697 #define Message_get_ContentID(This,varContentID) (This)->lpVtbl->get_ContentID(This,varContentID)
    698 #define Message_put_ContentID(This,varContentID) (This)->lpVtbl->put_ContentID(This,varContentID)
    699 #define Message_Delete(This) (This)->lpVtbl->Delete(This)
    700 #define Message_Send(This) (This)->lpVtbl->Send(This)
    701 #endif
    702 #endif
    703   HRESULT WINAPI Message_get_Application_Proxy(Message *This,VARIANT *varApplication);
    704   void __RPC_STUB Message_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    705   HRESULT WINAPI Message_get_Parent_Proxy(Message *This,VARIANT *varParent);
    706   void __RPC_STUB Message_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    707   HRESULT WINAPI Message_get_Session_Proxy(Message *This,VARIANT *varSession);
    708   void __RPC_STUB Message_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    709   HRESULT WINAPI Message_get_Class_Proxy(Message *This,__LONG32 *varClass);
    710   void __RPC_STUB Message_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    711   HRESULT WINAPI Message_get_Size_Proxy(Message *This,__LONG32 *varSize);
    712   void __RPC_STUB Message_get_Size_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    713   HRESULT WINAPI Message_get_Importance_Proxy(Message *This,__LONG32 *pImportance);
    714   void __RPC_STUB Message_get_Importance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    715   HRESULT WINAPI Message_put_Importance_Proxy(Message *This,__LONG32 varImportance);
    716   void __RPC_STUB Message_put_Importance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    717   HRESULT WINAPI Message_get_Subject_Proxy(Message *This,BSTR *pSubject);
    718   void __RPC_STUB Message_get_Subject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    719   HRESULT WINAPI Message_put_Subject_Proxy(Message *This,BSTR varSubject);
    720   void __RPC_STUB Message_put_Subject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    721   HRESULT WINAPI Message_get_Sender_Proxy(Message *This,VARIANT *varSender);
    722   void __RPC_STUB Message_get_Sender_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    723   HRESULT WINAPI Message_get_TimeSent_Proxy(Message *This,VARIANT *varTimeSent);
    724   void __RPC_STUB Message_get_TimeSent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    725   HRESULT WINAPI Message_put_TimeSent_Proxy(Message *This,VARIANT varTimeSent);
    726   void __RPC_STUB Message_put_TimeSent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    727   HRESULT WINAPI Message_get_TimeReceived_Proxy(Message *This,VARIANT *varTimeReceived);
    728   void __RPC_STUB Message_get_TimeReceived_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    729   HRESULT WINAPI Message_put_TimeReceived_Proxy(Message *This,VARIANT varTimeReceived);
    730   void __RPC_STUB Message_put_TimeReceived_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    731   HRESULT WINAPI Message_get_Text_Proxy(Message *This,VARIANT *varText);
    732   void __RPC_STUB Message_get_Text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    733   HRESULT WINAPI Message_put_Text_Proxy(Message *This,VARIANT varText);
    734   void __RPC_STUB Message_put_Text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    735   HRESULT WINAPI Message_get_HTMLText_Proxy(Message *This,VARIANT *varHTMLText);
    736   void __RPC_STUB Message_get_HTMLText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    737   HRESULT WINAPI Message_put_HTMLText_Proxy(Message *This,VARIANT varHTMLText);
    738   void __RPC_STUB Message_put_HTMLText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    739   HRESULT WINAPI Message_get_Recipients_Proxy(Message *This,VARIANT *varRecipients);
    740   void __RPC_STUB Message_get_Recipients_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    741   HRESULT WINAPI Message_put_Recipients_Proxy(Message *This,VARIANT varRecipients);
    742   void __RPC_STUB Message_put_Recipients_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    743   HRESULT WINAPI Message_get_Attachments_Proxy(Message *This,VARIANT *varAttachments);
    744   void __RPC_STUB Message_get_Attachments_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    745   HRESULT WINAPI Message_put_MessageFormat_Proxy(Message *This,__LONG32 __MIDL_0011);
    746   void __RPC_STUB Message_put_MessageFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    747   HRESULT WINAPI Message_get_ContentLocation_Proxy(Message *This,VARIANT *varContentLocation);
    748   void __RPC_STUB Message_get_ContentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    749   HRESULT WINAPI Message_put_ContentLocation_Proxy(Message *This,VARIANT varContentLocation);
    750   void __RPC_STUB Message_put_ContentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    751   HRESULT WINAPI Message_get_ContentBase_Proxy(Message *This,VARIANT *varContentBase);
    752   void __RPC_STUB Message_get_ContentBase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    753   HRESULT WINAPI Message_put_ContentBase_Proxy(Message *This,VARIANT varContentBase);
    754   void __RPC_STUB Message_put_ContentBase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    755   HRESULT WINAPI Message_get_ContentID_Proxy(Message *This,VARIANT *varContentID);
    756   void __RPC_STUB Message_get_ContentID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    757   HRESULT WINAPI Message_put_ContentID_Proxy(Message *This,VARIANT varContentID);
    758   void __RPC_STUB Message_put_ContentID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    759   HRESULT WINAPI Message_Delete_Proxy(Message *This);
    760   void __RPC_STUB Message_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    761   HRESULT WINAPI Message_Send_Proxy(Message *This);
    762   void __RPC_STUB Message_Send_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    763 #endif
    764 
    765 #ifndef __Recipients_INTERFACE_DEFINED__
    766 #define __Recipients_INTERFACE_DEFINED__
    767   EXTERN_C const IID IID_Recipients;
    768 #if defined(__cplusplus) && !defined(CINTERFACE)
    769   struct Recipients : public IDispatch {
    770   public:
    771     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    772     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    773     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    774     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    775     virtual HRESULT WINAPI get_Item(VARIANT *var,VARIANT *pvarResult) = 0;
    776     virtual HRESULT WINAPI get_Count(__LONG32 *varCount) = 0;
    777     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppunkResult) = 0;
    778     virtual HRESULT WINAPI Add(VARIANT Name,VARIANT Address,VARIANT Type,VARIANT *pvarResult) = 0;
    779     virtual HRESULT WINAPI Delete(void) = 0;
    780   };
    781 #else
    782   typedef struct RecipientsVtbl {
    783     BEGIN_INTERFACE
    784       HRESULT (WINAPI *QueryInterface)(Recipients *This,REFIID riid,void **ppvObject);
    785       ULONG (WINAPI *AddRef)(Recipients *This);
    786       ULONG (WINAPI *Release)(Recipients *This);
    787       HRESULT (WINAPI *GetTypeInfoCount)(Recipients *This,UINT *pctinfo);
    788       HRESULT (WINAPI *GetTypeInfo)(Recipients *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    789       HRESULT (WINAPI *GetIDsOfNames)(Recipients *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    790       HRESULT (WINAPI *Invoke)(Recipients *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    791       HRESULT (WINAPI *get_Application)(Recipients *This,VARIANT *varApplication);
    792       HRESULT (WINAPI *get_Parent)(Recipients *This,VARIANT *varParent);
    793       HRESULT (WINAPI *get_Session)(Recipients *This,VARIANT *varSession);
    794       HRESULT (WINAPI *get_Class)(Recipients *This,__LONG32 *varClass);
    795       HRESULT (WINAPI *get_Item)(Recipients *This,VARIANT *var,VARIANT *pvarResult);
    796       HRESULT (WINAPI *get_Count)(Recipients *This,__LONG32 *varCount);
    797       HRESULT (WINAPI *get__NewEnum)(Recipients *This,IUnknown **ppunkResult);
    798       HRESULT (WINAPI *Add)(Recipients *This,VARIANT Name,VARIANT Address,VARIANT Type,VARIANT *pvarResult);
    799       HRESULT (WINAPI *Delete)(Recipients *This);
    800     END_INTERFACE
    801   } RecipientsVtbl;
    802   struct Recipients {
    803     CONST_VTBL struct RecipientsVtbl *lpVtbl;
    804   };
    805 #ifdef COBJMACROS
    806 #define Recipients_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    807 #define Recipients_AddRef(This) (This)->lpVtbl->AddRef(This)
    808 #define Recipients_Release(This) (This)->lpVtbl->Release(This)
    809 #define Recipients_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    810 #define Recipients_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    811 #define Recipients_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    812 #define Recipients_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    813 #define Recipients_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    814 #define Recipients_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    815 #define Recipients_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    816 #define Recipients_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    817 #define Recipients_get_Item(This,var,pvarResult) (This)->lpVtbl->get_Item(This,var,pvarResult)
    818 #define Recipients_get_Count(This,varCount) (This)->lpVtbl->get_Count(This,varCount)
    819 #define Recipients_get__NewEnum(This,ppunkResult) (This)->lpVtbl->get__NewEnum(This,ppunkResult)
    820 #define Recipients_Add(This,Name,Address,Type,pvarResult) (This)->lpVtbl->Add(This,Name,Address,Type,pvarResult)
    821 #define Recipients_Delete(This) (This)->lpVtbl->Delete(This)
    822 #endif
    823 #endif
    824   HRESULT WINAPI Recipients_get_Application_Proxy(Recipients *This,VARIANT *varApplication);
    825   void __RPC_STUB Recipients_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    826   HRESULT WINAPI Recipients_get_Parent_Proxy(Recipients *This,VARIANT *varParent);
    827   void __RPC_STUB Recipients_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    828   HRESULT WINAPI Recipients_get_Session_Proxy(Recipients *This,VARIANT *varSession);
    829   void __RPC_STUB Recipients_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    830   HRESULT WINAPI Recipients_get_Class_Proxy(Recipients *This,__LONG32 *varClass);
    831   void __RPC_STUB Recipients_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    832   HRESULT WINAPI Recipients_get_Item_Proxy(Recipients *This,VARIANT *var,VARIANT *pvarResult);
    833   void __RPC_STUB Recipients_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    834   HRESULT WINAPI Recipients_get_Count_Proxy(Recipients *This,__LONG32 *varCount);
    835   void __RPC_STUB Recipients_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    836   HRESULT WINAPI Recipients_get__NewEnum_Proxy(Recipients *This,IUnknown **ppunkResult);
    837   void __RPC_STUB Recipients_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    838   HRESULT WINAPI Recipients_Add_Proxy(Recipients *This,VARIANT Name,VARIANT Address,VARIANT Type,VARIANT *pvarResult);
    839   void __RPC_STUB Recipients_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    840   HRESULT WINAPI Recipients_Delete_Proxy(Recipients *This);
    841   void __RPC_STUB Recipients_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    842 #endif
    843 
    844 #ifndef __Recipient_INTERFACE_DEFINED__
    845 #define __Recipient_INTERFACE_DEFINED__
    846   EXTERN_C const IID IID_Recipient;
    847 #if defined(__cplusplus) && !defined(CINTERFACE)
    848   struct Recipient : public IDispatch {
    849   public:
    850     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    851     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    852     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    853     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    854     virtual HRESULT WINAPI get_Name(BSTR *pbstrName) = 0;
    855     virtual HRESULT WINAPI put_Name(BSTR bstrName) = 0;
    856     virtual HRESULT WINAPI get_Type(__LONG32 *pType) = 0;
    857     virtual HRESULT WINAPI put_Type(__LONG32 varType) = 0;
    858     virtual HRESULT WINAPI get_Address(BSTR *pAddress) = 0;
    859     virtual HRESULT WINAPI put_Address(BSTR varAddress) = 0;
    860     virtual HRESULT WINAPI Delete(void) = 0;
    861   };
    862 #else
    863   typedef struct RecipientVtbl {
    864     BEGIN_INTERFACE
    865       HRESULT (WINAPI *QueryInterface)(Recipient *This,REFIID riid,void **ppvObject);
    866       ULONG (WINAPI *AddRef)(Recipient *This);
    867       ULONG (WINAPI *Release)(Recipient *This);
    868       HRESULT (WINAPI *GetTypeInfoCount)(Recipient *This,UINT *pctinfo);
    869       HRESULT (WINAPI *GetTypeInfo)(Recipient *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    870       HRESULT (WINAPI *GetIDsOfNames)(Recipient *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    871       HRESULT (WINAPI *Invoke)(Recipient *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    872       HRESULT (WINAPI *get_Application)(Recipient *This,VARIANT *varApplication);
    873       HRESULT (WINAPI *get_Parent)(Recipient *This,VARIANT *varParent);
    874       HRESULT (WINAPI *get_Session)(Recipient *This,VARIANT *varSession);
    875       HRESULT (WINAPI *get_Class)(Recipient *This,__LONG32 *varClass);
    876       HRESULT (WINAPI *get_Name)(Recipient *This,BSTR *pbstrName);
    877       HRESULT (WINAPI *put_Name)(Recipient *This,BSTR bstrName);
    878       HRESULT (WINAPI *get_Type)(Recipient *This,__LONG32 *pType);
    879       HRESULT (WINAPI *put_Type)(Recipient *This,__LONG32 varType);
    880       HRESULT (WINAPI *get_Address)(Recipient *This,BSTR *pAddress);
    881       HRESULT (WINAPI *put_Address)(Recipient *This,BSTR varAddress);
    882       HRESULT (WINAPI *Delete)(Recipient *This);
    883     END_INTERFACE
    884   } RecipientVtbl;
    885   struct Recipient {
    886     CONST_VTBL struct RecipientVtbl *lpVtbl;
    887   };
    888 #ifdef COBJMACROS
    889 #define Recipient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    890 #define Recipient_AddRef(This) (This)->lpVtbl->AddRef(This)
    891 #define Recipient_Release(This) (This)->lpVtbl->Release(This)
    892 #define Recipient_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    893 #define Recipient_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    894 #define Recipient_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    895 #define Recipient_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    896 #define Recipient_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    897 #define Recipient_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    898 #define Recipient_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    899 #define Recipient_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    900 #define Recipient_get_Name(This,pbstrName) (This)->lpVtbl->get_Name(This,pbstrName)
    901 #define Recipient_put_Name(This,bstrName) (This)->lpVtbl->put_Name(This,bstrName)
    902 #define Recipient_get_Type(This,pType) (This)->lpVtbl->get_Type(This,pType)
    903 #define Recipient_put_Type(This,varType) (This)->lpVtbl->put_Type(This,varType)
    904 #define Recipient_get_Address(This,pAddress) (This)->lpVtbl->get_Address(This,pAddress)
    905 #define Recipient_put_Address(This,varAddress) (This)->lpVtbl->put_Address(This,varAddress)
    906 #define Recipient_Delete(This) (This)->lpVtbl->Delete(This)
    907 #endif
    908 #endif
    909   HRESULT WINAPI Recipient_get_Application_Proxy(Recipient *This,VARIANT *varApplication);
    910   void __RPC_STUB Recipient_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    911   HRESULT WINAPI Recipient_get_Parent_Proxy(Recipient *This,VARIANT *varParent);
    912   void __RPC_STUB Recipient_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    913   HRESULT WINAPI Recipient_get_Session_Proxy(Recipient *This,VARIANT *varSession);
    914   void __RPC_STUB Recipient_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    915   HRESULT WINAPI Recipient_get_Class_Proxy(Recipient *This,__LONG32 *varClass);
    916   void __RPC_STUB Recipient_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    917   HRESULT WINAPI Recipient_get_Name_Proxy(Recipient *This,BSTR *pbstrName);
    918   void __RPC_STUB Recipient_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    919   HRESULT WINAPI Recipient_put_Name_Proxy(Recipient *This,BSTR bstrName);
    920   void __RPC_STUB Recipient_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    921   HRESULT WINAPI Recipient_get_Type_Proxy(Recipient *This,__LONG32 *pType);
    922   void __RPC_STUB Recipient_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    923   HRESULT WINAPI Recipient_put_Type_Proxy(Recipient *This,__LONG32 varType);
    924   void __RPC_STUB Recipient_put_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    925   HRESULT WINAPI Recipient_get_Address_Proxy(Recipient *This,BSTR *pAddress);
    926   void __RPC_STUB Recipient_get_Address_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    927   HRESULT WINAPI Recipient_put_Address_Proxy(Recipient *This,BSTR varAddress);
    928   void __RPC_STUB Recipient_put_Address_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    929   HRESULT WINAPI Recipient_Delete_Proxy(Recipient *This);
    930   void __RPC_STUB Recipient_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    931 #endif
    932 
    933 #ifndef __Attachments_INTERFACE_DEFINED__
    934 #define __Attachments_INTERFACE_DEFINED__
    935   EXTERN_C const IID IID_Attachments;
    936 #if defined(__cplusplus) && !defined(CINTERFACE)
    937   struct Attachments : public IDispatch {
    938   public:
    939     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
    940     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
    941     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
    942     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
    943     virtual HRESULT WINAPI get_Item(VARIANT *var,VARIANT *pvarResult) = 0;
    944     virtual HRESULT WINAPI get_Count(__LONG32 *varCount) = 0;
    945     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppunkResult) = 0;
    946     virtual HRESULT WINAPI Add(VARIANT Name,VARIANT Type,VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT *pvarResult) = 0;
    947     virtual HRESULT WINAPI Delete(void) = 0;
    948   };
    949 #else
    950   typedef struct AttachmentsVtbl {
    951     BEGIN_INTERFACE
    952       HRESULT (WINAPI *QueryInterface)(Attachments *This,REFIID riid,void **ppvObject);
    953       ULONG (WINAPI *AddRef)(Attachments *This);
    954       ULONG (WINAPI *Release)(Attachments *This);
    955       HRESULT (WINAPI *GetTypeInfoCount)(Attachments *This,UINT *pctinfo);
    956       HRESULT (WINAPI *GetTypeInfo)(Attachments *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    957       HRESULT (WINAPI *GetIDsOfNames)(Attachments *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    958       HRESULT (WINAPI *Invoke)(Attachments *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    959       HRESULT (WINAPI *get_Application)(Attachments *This,VARIANT *varApplication);
    960       HRESULT (WINAPI *get_Parent)(Attachments *This,VARIANT *varParent);
    961       HRESULT (WINAPI *get_Session)(Attachments *This,VARIANT *varSession);
    962       HRESULT (WINAPI *get_Class)(Attachments *This,__LONG32 *varClass);
    963       HRESULT (WINAPI *get_Item)(Attachments *This,VARIANT *var,VARIANT *pvarResult);
    964       HRESULT (WINAPI *get_Count)(Attachments *This,__LONG32 *varCount);
    965       HRESULT (WINAPI *get__NewEnum)(Attachments *This,IUnknown **ppunkResult);
    966       HRESULT (WINAPI *Add)(Attachments *This,VARIANT Name,VARIANT Type,VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT *pvarResult);
    967       HRESULT (WINAPI *Delete)(Attachments *This);
    968     END_INTERFACE
    969   } AttachmentsVtbl;
    970   struct Attachments {
    971     CONST_VTBL struct AttachmentsVtbl *lpVtbl;
    972   };
    973 #ifdef COBJMACROS
    974 #define Attachments_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    975 #define Attachments_AddRef(This) (This)->lpVtbl->AddRef(This)
    976 #define Attachments_Release(This) (This)->lpVtbl->Release(This)
    977 #define Attachments_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    978 #define Attachments_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    979 #define Attachments_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    980 #define Attachments_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    981 #define Attachments_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
    982 #define Attachments_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
    983 #define Attachments_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
    984 #define Attachments_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
    985 #define Attachments_get_Item(This,var,pvarResult) (This)->lpVtbl->get_Item(This,var,pvarResult)
    986 #define Attachments_get_Count(This,varCount) (This)->lpVtbl->get_Count(This,varCount)
    987 #define Attachments_get__NewEnum(This,ppunkResult) (This)->lpVtbl->get__NewEnum(This,ppunkResult)
    988 #define Attachments_Add(This,Name,Type,Source,ContentLocation,ContentBase,pvarResult) (This)->lpVtbl->Add(This,Name,Type,Source,ContentLocation,ContentBase,pvarResult)
    989 #define Attachments_Delete(This) (This)->lpVtbl->Delete(This)
    990 #endif
    991 #endif
    992   HRESULT WINAPI Attachments_get_Application_Proxy(Attachments *This,VARIANT *varApplication);
    993   void __RPC_STUB Attachments_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    994   HRESULT WINAPI Attachments_get_Parent_Proxy(Attachments *This,VARIANT *varParent);
    995   void __RPC_STUB Attachments_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    996   HRESULT WINAPI Attachments_get_Session_Proxy(Attachments *This,VARIANT *varSession);
    997   void __RPC_STUB Attachments_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    998   HRESULT WINAPI Attachments_get_Class_Proxy(Attachments *This,__LONG32 *varClass);
    999   void __RPC_STUB Attachments_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1000   HRESULT WINAPI Attachments_get_Item_Proxy(Attachments *This,VARIANT *var,VARIANT *pvarResult);
   1001   void __RPC_STUB Attachments_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1002   HRESULT WINAPI Attachments_get_Count_Proxy(Attachments *This,__LONG32 *varCount);
   1003   void __RPC_STUB Attachments_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1004   HRESULT WINAPI Attachments_get__NewEnum_Proxy(Attachments *This,IUnknown **ppunkResult);
   1005   void __RPC_STUB Attachments_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1006   HRESULT WINAPI Attachments_Add_Proxy(Attachments *This,VARIANT Name,VARIANT Type,VARIANT Source,VARIANT ContentLocation,VARIANT ContentBase,VARIANT *pvarResult);
   1007   void __RPC_STUB Attachments_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1008   HRESULT WINAPI Attachments_Delete_Proxy(Attachments *This);
   1009   void __RPC_STUB Attachments_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1010 #endif
   1011 
   1012 #ifndef __Attachment_INTERFACE_DEFINED__
   1013 #define __Attachment_INTERFACE_DEFINED__
   1014   EXTERN_C const IID IID_Attachment;
   1015 #if defined(__cplusplus) && !defined(CINTERFACE)
   1016   struct Attachment : public IDispatch {
   1017   public:
   1018     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
   1019     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
   1020     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
   1021     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
   1022     virtual HRESULT WINAPI get_Name(BSTR *pbstrName) = 0;
   1023     virtual HRESULT WINAPI put_Name(BSTR bstrName) = 0;
   1024     virtual HRESULT WINAPI get_Type(__LONG32 *pType) = 0;
   1025     virtual HRESULT WINAPI put_Type(__LONG32 varType) = 0;
   1026     virtual HRESULT WINAPI get_Source(VARIANT *varSource) = 0;
   1027     virtual HRESULT WINAPI put_Source(VARIANT varSource) = 0;
   1028     virtual HRESULT WINAPI get_ContentLocation(VARIANT *varContentLocation) = 0;
   1029     virtual HRESULT WINAPI get_ContentBase(VARIANT *varContentBase) = 0;
   1030     virtual HRESULT WINAPI get_ContentID(VARIANT *varContentID) = 0;
   1031     virtual HRESULT WINAPI Delete(void) = 0;
   1032     virtual HRESULT WINAPI ReadFromFile(BSTR FileName) = 0;
   1033     virtual HRESULT WINAPI WriteToFile(BSTR FileName) = 0;
   1034   };
   1035 #else
   1036   typedef struct AttachmentVtbl {
   1037     BEGIN_INTERFACE
   1038       HRESULT (WINAPI *QueryInterface)(Attachment *This,REFIID riid,void **ppvObject);
   1039       ULONG (WINAPI *AddRef)(Attachment *This);
   1040       ULONG (WINAPI *Release)(Attachment *This);
   1041       HRESULT (WINAPI *GetTypeInfoCount)(Attachment *This,UINT *pctinfo);
   1042       HRESULT (WINAPI *GetTypeInfo)(Attachment *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1043       HRESULT (WINAPI *GetIDsOfNames)(Attachment *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1044       HRESULT (WINAPI *Invoke)(Attachment *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1045       HRESULT (WINAPI *get_Application)(Attachment *This,VARIANT *varApplication);
   1046       HRESULT (WINAPI *get_Parent)(Attachment *This,VARIANT *varParent);
   1047       HRESULT (WINAPI *get_Session)(Attachment *This,VARIANT *varSession);
   1048       HRESULT (WINAPI *get_Class)(Attachment *This,__LONG32 *varClass);
   1049       HRESULT (WINAPI *get_Name)(Attachment *This,BSTR *pbstrName);
   1050       HRESULT (WINAPI *put_Name)(Attachment *This,BSTR bstrName);
   1051       HRESULT (WINAPI *get_Type)(Attachment *This,__LONG32 *pType);
   1052       HRESULT (WINAPI *put_Type)(Attachment *This,__LONG32 varType);
   1053       HRESULT (WINAPI *get_Source)(Attachment *This,VARIANT *varSource);
   1054       HRESULT (WINAPI *put_Source)(Attachment *This,VARIANT varSource);
   1055       HRESULT (WINAPI *get_ContentLocation)(Attachment *This,VARIANT *varContentLocation);
   1056       HRESULT (WINAPI *get_ContentBase)(Attachment *This,VARIANT *varContentBase);
   1057       HRESULT (WINAPI *get_ContentID)(Attachment *This,VARIANT *varContentID);
   1058       HRESULT (WINAPI *Delete)(Attachment *This);
   1059       HRESULT (WINAPI *ReadFromFile)(Attachment *This,BSTR FileName);
   1060       HRESULT (WINAPI *WriteToFile)(Attachment *This,BSTR FileName);
   1061     END_INTERFACE
   1062   } AttachmentVtbl;
   1063   struct Attachment {
   1064     CONST_VTBL struct AttachmentVtbl *lpVtbl;
   1065   };
   1066 #ifdef COBJMACROS
   1067 #define Attachment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1068 #define Attachment_AddRef(This) (This)->lpVtbl->AddRef(This)
   1069 #define Attachment_Release(This) (This)->lpVtbl->Release(This)
   1070 #define Attachment_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1071 #define Attachment_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1072 #define Attachment_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1073 #define Attachment_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1074 #define Attachment_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
   1075 #define Attachment_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
   1076 #define Attachment_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
   1077 #define Attachment_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
   1078 #define Attachment_get_Name(This,pbstrName) (This)->lpVtbl->get_Name(This,pbstrName)
   1079 #define Attachment_put_Name(This,bstrName) (This)->lpVtbl->put_Name(This,bstrName)
   1080 #define Attachment_get_Type(This,pType) (This)->lpVtbl->get_Type(This,pType)
   1081 #define Attachment_put_Type(This,varType) (This)->lpVtbl->put_Type(This,varType)
   1082 #define Attachment_get_Source(This,varSource) (This)->lpVtbl->get_Source(This,varSource)
   1083 #define Attachment_put_Source(This,varSource) (This)->lpVtbl->put_Source(This,varSource)
   1084 #define Attachment_get_ContentLocation(This,varContentLocation) (This)->lpVtbl->get_ContentLocation(This,varContentLocation)
   1085 #define Attachment_get_ContentBase(This,varContentBase) (This)->lpVtbl->get_ContentBase(This,varContentBase)
   1086 #define Attachment_get_ContentID(This,varContentID) (This)->lpVtbl->get_ContentID(This,varContentID)
   1087 #define Attachment_Delete(This) (This)->lpVtbl->Delete(This)
   1088 #define Attachment_ReadFromFile(This,FileName) (This)->lpVtbl->ReadFromFile(This,FileName)
   1089 #define Attachment_WriteToFile(This,FileName) (This)->lpVtbl->WriteToFile(This,FileName)
   1090 #endif
   1091 #endif
   1092   HRESULT WINAPI Attachment_get_Application_Proxy(Attachment *This,VARIANT *varApplication);
   1093   void __RPC_STUB Attachment_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1094   HRESULT WINAPI Attachment_get_Parent_Proxy(Attachment *This,VARIANT *varParent);
   1095   void __RPC_STUB Attachment_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1096   HRESULT WINAPI Attachment_get_Session_Proxy(Attachment *This,VARIANT *varSession);
   1097   void __RPC_STUB Attachment_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1098   HRESULT WINAPI Attachment_get_Class_Proxy(Attachment *This,__LONG32 *varClass);
   1099   void __RPC_STUB Attachment_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1100   HRESULT WINAPI Attachment_get_Name_Proxy(Attachment *This,BSTR *pbstrName);
   1101   void __RPC_STUB Attachment_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1102   HRESULT WINAPI Attachment_put_Name_Proxy(Attachment *This,BSTR bstrName);
   1103   void __RPC_STUB Attachment_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1104   HRESULT WINAPI Attachment_get_Type_Proxy(Attachment *This,__LONG32 *pType);
   1105   void __RPC_STUB Attachment_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1106   HRESULT WINAPI Attachment_put_Type_Proxy(Attachment *This,__LONG32 varType);
   1107   void __RPC_STUB Attachment_put_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1108   HRESULT WINAPI Attachment_get_Source_Proxy(Attachment *This,VARIANT *varSource);
   1109   void __RPC_STUB Attachment_get_Source_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1110   HRESULT WINAPI Attachment_put_Source_Proxy(Attachment *This,VARIANT varSource);
   1111   void __RPC_STUB Attachment_put_Source_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1112   HRESULT WINAPI Attachment_get_ContentLocation_Proxy(Attachment *This,VARIANT *varContentLocation);
   1113   void __RPC_STUB Attachment_get_ContentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1114   HRESULT WINAPI Attachment_get_ContentBase_Proxy(Attachment *This,VARIANT *varContentBase);
   1115   void __RPC_STUB Attachment_get_ContentBase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1116   HRESULT WINAPI Attachment_get_ContentID_Proxy(Attachment *This,VARIANT *varContentID);
   1117   void __RPC_STUB Attachment_get_ContentID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1118   HRESULT WINAPI Attachment_Delete_Proxy(Attachment *This);
   1119   void __RPC_STUB Attachment_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1120   HRESULT WINAPI Attachment_ReadFromFile_Proxy(Attachment *This,BSTR FileName);
   1121   void __RPC_STUB Attachment_ReadFromFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1122   HRESULT WINAPI Attachment_WriteToFile_Proxy(Attachment *This,BSTR FileName);
   1123   void __RPC_STUB Attachment_WriteToFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1124 #endif
   1125 
   1126 #ifndef __AddressEntry_INTERFACE_DEFINED__
   1127 #define __AddressEntry_INTERFACE_DEFINED__
   1128   EXTERN_C const IID IID_AddressEntry;
   1129 #if defined(__cplusplus) && !defined(CINTERFACE)
   1130   struct AddressEntry : public IDispatch {
   1131   public:
   1132     virtual HRESULT WINAPI get_Application(VARIANT *varApplication) = 0;
   1133     virtual HRESULT WINAPI get_Parent(VARIANT *varParent) = 0;
   1134     virtual HRESULT WINAPI get_Session(VARIANT *varSession) = 0;
   1135     virtual HRESULT WINAPI get_Class(__LONG32 *varClass) = 0;
   1136     virtual HRESULT WINAPI get_Name(BSTR *pbstrName) = 0;
   1137     virtual HRESULT WINAPI get_Address(BSTR *varAddress) = 0;
   1138     virtual HRESULT WINAPI get_Type(BSTR *varType) = 0;
   1139   };
   1140 #else
   1141   typedef struct AddressEntryVtbl {
   1142     BEGIN_INTERFACE
   1143       HRESULT (WINAPI *QueryInterface)(AddressEntry *This,REFIID riid,void **ppvObject);
   1144       ULONG (WINAPI *AddRef)(AddressEntry *This);
   1145       ULONG (WINAPI *Release)(AddressEntry *This);
   1146       HRESULT (WINAPI *GetTypeInfoCount)(AddressEntry *This,UINT *pctinfo);
   1147       HRESULT (WINAPI *GetTypeInfo)(AddressEntry *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1148       HRESULT (WINAPI *GetIDsOfNames)(AddressEntry *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1149       HRESULT (WINAPI *Invoke)(AddressEntry *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1150       HRESULT (WINAPI *get_Application)(AddressEntry *This,VARIANT *varApplication);
   1151       HRESULT (WINAPI *get_Parent)(AddressEntry *This,VARIANT *varParent);
   1152       HRESULT (WINAPI *get_Session)(AddressEntry *This,VARIANT *varSession);
   1153       HRESULT (WINAPI *get_Class)(AddressEntry *This,__LONG32 *varClass);
   1154       HRESULT (WINAPI *get_Name)(AddressEntry *This,BSTR *pbstrName);
   1155       HRESULT (WINAPI *get_Address)(AddressEntry *This,BSTR *varAddress);
   1156       HRESULT (WINAPI *get_Type)(AddressEntry *This,BSTR *varType);
   1157     END_INTERFACE
   1158   } AddressEntryVtbl;
   1159   struct AddressEntry {
   1160     CONST_VTBL struct AddressEntryVtbl *lpVtbl;
   1161   };
   1162 #ifdef COBJMACROS
   1163 #define AddressEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1164 #define AddressEntry_AddRef(This) (This)->lpVtbl->AddRef(This)
   1165 #define AddressEntry_Release(This) (This)->lpVtbl->Release(This)
   1166 #define AddressEntry_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1167 #define AddressEntry_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1168 #define AddressEntry_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1169 #define AddressEntry_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1170 #define AddressEntry_get_Application(This,varApplication) (This)->lpVtbl->get_Application(This,varApplication)
   1171 #define AddressEntry_get_Parent(This,varParent) (This)->lpVtbl->get_Parent(This,varParent)
   1172 #define AddressEntry_get_Session(This,varSession) (This)->lpVtbl->get_Session(This,varSession)
   1173 #define AddressEntry_get_Class(This,varClass) (This)->lpVtbl->get_Class(This,varClass)
   1174 #define AddressEntry_get_Name(This,pbstrName) (This)->lpVtbl->get_Name(This,pbstrName)
   1175 #define AddressEntry_get_Address(This,varAddress) (This)->lpVtbl->get_Address(This,varAddress)
   1176 #define AddressEntry_get_Type(This,varType) (This)->lpVtbl->get_Type(This,varType)
   1177 #endif
   1178 #endif
   1179   HRESULT WINAPI AddressEntry_get_Application_Proxy(AddressEntry *This,VARIANT *varApplication);
   1180   void __RPC_STUB AddressEntry_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1181   HRESULT WINAPI AddressEntry_get_Parent_Proxy(AddressEntry *This,VARIANT *varParent);
   1182   void __RPC_STUB AddressEntry_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1183   HRESULT WINAPI AddressEntry_get_Session_Proxy(AddressEntry *This,VARIANT *varSession);
   1184   void __RPC_STUB AddressEntry_get_Session_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1185   HRESULT WINAPI AddressEntry_get_Class_Proxy(AddressEntry *This,__LONG32 *varClass);
   1186   void __RPC_STUB AddressEntry_get_Class_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1187   HRESULT WINAPI AddressEntry_get_Name_Proxy(AddressEntry *This,BSTR *pbstrName);
   1188   void __RPC_STUB AddressEntry_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1189   HRESULT WINAPI AddressEntry_get_Address_Proxy(AddressEntry *This,BSTR *varAddress);
   1190   void __RPC_STUB AddressEntry_get_Address_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1191   HRESULT WINAPI AddressEntry_get_Type_Proxy(AddressEntry *This,BSTR *varType);
   1192   void __RPC_STUB AddressEntry_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1193 #endif
   1194 
   1195 #ifndef __CDONTS_LIBRARY_DEFINED__
   1196 #define __CDONTS_LIBRARY_DEFINED__
   1197   typedef enum CdoRecipientTypes {
   1198     CdoTo = 1,CdoCc = 2,CdoBcc = 3
   1199   } CdoRecipientTypes;
   1200 
   1201   typedef enum CdoImportance {
   1202     CdoLow = 0,CdoNormal = 1,CdoHigh = 2
   1203   } CdoImportance;
   1204 
   1205   typedef enum CdoAttachmentTypes {
   1206     CdoFileData = 1,CdoEmbeddedMessage = 4
   1207   } CdoAttachmentTypes;
   1208 
   1209   typedef enum CdoFolderTypes {
   1210     CdoDefaultFolderInbox = 1,CdoDefaultFolderOutbox = 2
   1211   } CdoFolderTypes;
   1212 
   1213   typedef enum CdoMessageFormats {
   1214     CdoMime = 0,CdoText = 1
   1215   } CdoMessageFormats;
   1216 
   1217   typedef enum CdoMailFormats {
   1218     CdoMailFormatMime = 0,CdoMailFormatText = 1
   1219   } CdoMailFormats;
   1220 
   1221   typedef enum CdoBodyFormats {
   1222     CdoBodyFormatHTML = 0,CdoBodyFormatText = 1
   1223   } CdoBodyFormats;
   1224 
   1225   typedef enum CdoEncodingMethod {
   1226     CdoEncodingUUencode = 0,CdoEncodingBase64 = 1
   1227   } CdoEncodingMethod;
   1228 
   1229   typedef enum __MIDL___MIDL_itf_actmsg_0253_0001 {
   1230     CdoSession = 0,CdoFolder = 2,CdoMsg = 3,CdoRecipient = 4,CdoAttachment = 5,CdoAddressEntry = 8,CdoMessages = 16,CdoRecipients = 17,
   1231     CdoAttachments = 18,CdoClassTotal = 29
   1232   } CdoObjectClass;
   1233 
   1234   EXTERN_C const IID LIBID_CDONTS;
   1235   EXTERN_C const CLSID CLSID_NewMail;
   1236 #ifdef __cplusplus
   1237   class NewMail;
   1238 #endif
   1239   EXTERN_C const CLSID CLSID_Session;
   1240 #ifdef __cplusplus
   1241   class Session;
   1242 #endif
   1243 #endif
   1244 
   1245   ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
   1246   unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
   1247   unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
   1248   void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
   1249   ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
   1250   unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
   1251   unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
   1252   void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
   1253 
   1254 #ifdef __cplusplus
   1255 }
   1256 #endif
   1257 #endif
   1258