msimcsdk.h 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  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. #include "rpc.h"
  10. #include "rpcndr.h"
  11. #ifndef __msimcsdk_h__
  12. #define __msimcsdk_h__
  13. #ifndef __IMSIMHost_FWD_DEFINED__
  14. #define __IMSIMHost_FWD_DEFINED__
  15. typedef struct IMSIMHost IMSIMHost;
  16. #endif
  17. #ifndef __DMSIMHostEvents_FWD_DEFINED__
  18. #define __DMSIMHostEvents_FWD_DEFINED__
  19. typedef struct DMSIMHostEvents DMSIMHostEvents;
  20. #endif
  21. #ifndef __IMSIMWindow_FWD_DEFINED__
  22. #define __IMSIMWindow_FWD_DEFINED__
  23. typedef struct IMSIMWindow IMSIMWindow;
  24. #endif
  25. #ifndef __DMSIMWindowEvents_FWD_DEFINED__
  26. #define __DMSIMWindowEvents_FWD_DEFINED__
  27. typedef struct DMSIMWindowEvents DMSIMWindowEvents;
  28. #endif
  29. #ifndef __IIMService_FWD_DEFINED__
  30. #define __IIMService_FWD_DEFINED__
  31. typedef struct IIMService IIMService;
  32. #endif
  33. #ifndef __DIMServiceEvents_FWD_DEFINED__
  34. #define __DIMServiceEvents_FWD_DEFINED__
  35. typedef struct DIMServiceEvents DIMServiceEvents;
  36. #endif
  37. #ifndef __IIMContact_FWD_DEFINED__
  38. #define __IIMContact_FWD_DEFINED__
  39. typedef struct IIMContact IIMContact;
  40. #endif
  41. #ifndef __IIMContacts_FWD_DEFINED__
  42. #define __IIMContacts_FWD_DEFINED__
  43. typedef struct IIMContacts IIMContacts;
  44. #endif
  45. #ifndef __IIMSession_FWD_DEFINED__
  46. #define __IIMSession_FWD_DEFINED__
  47. typedef struct IIMSession IIMSession;
  48. #endif
  49. #ifndef __IIMSessions_FWD_DEFINED__
  50. #define __IIMSessions_FWD_DEFINED__
  51. typedef struct IIMSessions IIMSessions;
  52. #endif
  53. #ifndef __MSIMHost_FWD_DEFINED__
  54. #define __MSIMHost_FWD_DEFINED__
  55. #ifdef __cplusplus
  56. typedef class MSIMHost MSIMHost;
  57. #else
  58. typedef struct MSIMHost MSIMHost;
  59. #endif
  60. #endif
  61. #ifndef __MSIMService_FWD_DEFINED__
  62. #define __MSIMService_FWD_DEFINED__
  63. #ifdef __cplusplus
  64. typedef class MSIMService MSIMService;
  65. #else
  66. typedef struct MSIMService MSIMService;
  67. #endif
  68. #endif
  69. #ifndef __MSIMWindow_FWD_DEFINED__
  70. #define __MSIMWindow_FWD_DEFINED__
  71. #ifdef __cplusplus
  72. typedef class MSIMWindow MSIMWindow;
  73. #else
  74. typedef struct MSIMWindow MSIMWindow;
  75. #endif
  76. #endif
  77. #ifndef __MSIMHostOption_FWD_DEFINED__
  78. #define __MSIMHostOption_FWD_DEFINED__
  79. #ifdef __cplusplus
  80. typedef class MSIMHostOption MSIMHostOption;
  81. #else
  82. typedef struct MSIMHostOption MSIMHostOption;
  83. #endif
  84. #endif
  85. #ifndef __MSIMHostProfiles_FWD_DEFINED__
  86. #define __MSIMHostProfiles_FWD_DEFINED__
  87. #ifdef __cplusplus
  88. typedef class MSIMHostProfiles MSIMHostProfiles;
  89. #else
  90. typedef struct MSIMHostProfiles MSIMHostProfiles;
  91. #endif
  92. #endif
  93. #include "oaidl.h"
  94. #include "ocidl.h"
  95. #ifdef __cplusplus
  96. extern "C" {
  97. #endif
  98. #ifndef __MIDL_user_allocate_free_DEFINED__
  99. #define __MIDL_user_allocate_free_DEFINED__
  100. void *__RPC_API MIDL_user_allocate(size_t);
  101. void __RPC_API MIDL_user_free(void *);
  102. #endif
  103. #define MSIM_DISPID_ONLOGONRESULT 0x0E00
  104. #define MSIM_DISPID_ONLOGOFF 0x0E01
  105. #define MSIM_DISPID_ONLISTADDRESULT 0x0E02
  106. #define MSIM_DISPID_ONLISTREMOVERESULT 0x0E03
  107. #define MSIM_DISPID_ONFRIENDLYNAMECHANGERESULT 0x0E04
  108. #define MSIM_DISPID_ONCONTACTSTATECHANGED 0x0E05
  109. #define MSIM_DISPID_ONTEXTRECEIVED 0x0E06
  110. #define MSIM_DISPID_ONLOCALFRIENDLYNAMECHANGERESULT 0x0E07
  111. #define MSIM_DISPID_ONLOCALSTATECHANGERESULT 0x0E08
  112. #define MSIM_DISPID_ONSENDRESULT 0x0E09
  113. #define MSIM_DISPID_ONFINDRESULT 0x0E0A
  114. #define MSIM_DISPID_ONSESSIONSTATECHANGE 0x0E0B
  115. #define MSIM_DISPID_ONNEWSESSIONMEMBER 0x0E0C
  116. #define MSIM_DISPID_ONSESSIONMEMBERLEAVE 0x0E0D
  117. #define MSIM_DISPID_ONNEWSESSIONREQUEST 0x0E0F
  118. #define MSIM_DISPID_ONINVITECONTACT 0x0E10
  119. #define MSIM_DISPID_ONAPPSHUTDOWN 0x0E12
  120. #define MSIM_DISPID_ON_NM_INVITERECEIVED 0x0E13
  121. #define MSIM_DISPID_ON_NM_ACCEPTED 0x0E14
  122. #define MSIM_DISPID_ON_NM_CANCELLED 0x0E15
  123. #define MSIMWND_DISPID_ONMOVE 0x00E0
  124. #define MSIMWND_DISPID_ONCLOSE 0x00E1
  125. #define MSIMWND_DISPID_ONRESIZE 0x00E2
  126. #define MSIMWND_DISPID_ONSHOW 0x00E3
  127. #define MSIMWND_DISPID_ONFOCUS 0x00E4
  128. #define MSIMHOSTEVENTS_DISPID_ONDOUBLECLICK 0xD
  129. #define MSIMHOSTEVENTS_DISPID_ONSHUTDOWN 0xE
  130. #define MSIMHOSTEVENTS_DISPID_ONCLICKUSERNOTIFY 0xF
  131. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0001 {
  132. IM_E_CONNECT = 0x81000300 + 0x1,IM_E_INVALID_SERVER_NAME = 0x81000300 + 0x2,IM_E_INVALID_PASSWORD = 0x81000300 + 0x3,
  133. IM_E_ALREADY_LOGGED_ON = 0x81000300 + 0x4,IM_E_SERVER_VERSION = 0x81000300 + 0x5,IM_E_LOGON_TIMEOUT = 0x81000300 + 0x6,
  134. IM_E_LIST_FULL = 0x81000300 + 0x7,IM_E_AI_REJECT = 0x81000300 + 0x8,IM_E_AI_REJECT_NOT_INST = 0x81000300 + 0x9,
  135. IM_E_USER_NOT_FOUND = 0x81000300 + 0xa,IM_E_ALREADY_IN_LIST = 0x81000300 + 0xb,IM_E_DISCONNECTED = 0x81000300 + 0xc,
  136. IM_E_UNEXPECTED = 0x81000300 + 0xd,IM_E_SERVER_TOO_BUSY = 0x81000300 + 0xe,IM_E_INVALID_AUTH_PACKAGES = 0x81000300 + 0xf,
  137. IM_E_NEWER_CLIENT_AVAILABLE = 0x81000300 + 0x10,IM_E_AI_TIMEOUT = 0x81000300 + 0x11,IM_E_CANCEL = 0x81000300 + 0x12,
  138. IM_E_TOO_MANY_MATCHES = 0x81000300 + 0x13,IM_E_SERVER_UNAVAILABLE = 0x81000300 + 0x14,IM_E_LOGON_UI_ACTIVE = 0x81000300 + 0x15,
  139. IM_E_OPTION_UI_ACTIVE = 0x81000300 + 0x16,IM_E_CONTACT_UI_ACTIVE = 0x81000300 + 0x17,IM_E_LOGGED_ON = 0x81000300 + 0x19,
  140. IM_E_CONNECT_PROXY = 0x81000300 + 0x1a,IM_E_PROXY_AUTH = 0x81000300 + 0x1b,IM_E_PROXY_AUTH_TYPE = 0x81000300 + 0x1c,
  141. IM_E_INVALID_PROXY_NAME = 0x81000300 + 0x1d,IM_E_NOT_PRIMARY_SERVICE = 0x81000300 + 0x20,IM_E_TOO_MANY_SESSIONS = 0x81000300 + 0x21,
  142. IM_E_TOO_MANY_MESSAGES = 0x81000300 + 0x22,IM_E_REMOTE_LOGIN = 0x81000300 + 0x23,IM_E_INVALID_FRIENDLY_NAME = 0x81000300 + 0x24,
  143. IM_E_SESSION_FULL = 0x81000300 + 0x25,IM_E_NOT_ALLOWING_NEW_USERS = 0x81000300 + 0x26,IM_E_INVALID_DOMAIN = 0x81000300 + 0x27,
  144. IM_E_TCP_ERROR = 0x81000300 + 0x28,IM_E_SESSION_TIMEOUT = 0x81000300 + 0x29,IM_E_MULTIPOINT_SESSION_BEGIN_TIMEOUT = 0x81000300 + 0x2a,
  145. IM_E_MULTIPOINT_SESSION_END_TIMEOUT = 0x81000300 + 0x2b,IM_E_REVERSE_LIST_FULL = 0x81000300 + 0x2c,IM_E_SERVER_ERROR = 0x81000300 + 0x2d,
  146. IM_E_SYSTEM_CONFIG = 0x81000300 + 0x2e,IM_E_NO_DIRECTORY = 0x81000300 + 0x2f,IM_E_USER_CANCELED_LOGON = 0x81000300 + 0x50,
  147. IM_E_ALREADY_EXISTS = 0x81000300 + 0x51,IM_E_DOES_NOT_EXIST = 0x81000300 + 0x52,IM_S_LOGGED_ON = 0x1000300 + 0x19,
  148. IM_S_ALREADY_IN_THE_MODE = 0x1000300 + 0x1
  149. } IM_RESULTS;
  150. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0002 {
  151. IM_MSG_TYPE_NO_RESULT = 0,IM_MSG_TYPE_ERRORS_ONLY = 1,IM_MSG_TYPE_ALL_RESULTS = 2
  152. } IM_MSG_TYPE;
  153. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0003 {
  154. IM_INVITE_TYPE_REQUEST_LAUNCH = 0x1,IM_INVITE_TYPE_REQUEST_IP = 0x4,IM_INVITE_TYPE_PROVIDE_IP = 0x8
  155. } IM_INVITE_FLAGS;
  156. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0004 {
  157. IM_STATE_UNKNOWN = 0,IM_STATE_OFFLINE = 0x1,IM_STATE_ONLINE = 0x2,IM_STATE_INVISIBLE = 0x6,IM_STATE_BUSY = 0xa,IM_STATE_BE_RIGHT_BACK = 0xe,IM_STATE_IDLE = 0x12,IM_STATE_AWAY = 0x22,IM_STATE_ON_THE_PHONE = 0x32,IM_STATE_OUT_TO_LUNCH = 0x42,IM_STATE_LOCAL_FINDING_SERVER = 0x100,IM_STATE_LOCAL_CONNECTING_TO_SERVER = 0x200,IM_STATE_LOCAL_SYNCHRONIZING_WITH_SERVER = 0x300,IM_STATE_LOCAL_DISCONNECTING_FROM_SERVER = 0x400
  158. } IM_STATE;
  159. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0005 {
  160. IM_SSTATE_DISCONNECTED = 0,IM_SSTATE_CONNECTING = 1,IM_SSTATE_CONNECTED = 2,IM_SSTATE_DISCONNECTING = 3,IM_SSTATE_ERROR = 4
  161. } IM_SSTATE;
  162. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0006 {
  163. MSIM_LIST_CONTACT = 0x1,MSIM_LIST_ALLOW = 0x2,MSIM_LIST_BLOCK = 0x4,MSIM_LIST_REVERSE = 0x8,MSIM_LIST_NOREF = 0x10,
  164. MSIM_LIST_SAVE = 0x20,MSIM_LIST_SYSTEM = 0x80
  165. } MSIM_LIST_TYPE;
  166. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0007 {
  167. MSIMWND_WS_OVERLAPPED = 0,MSIMWND_WS_TOOL = 1,MSIMWND_WS_POPUP = 2,MSIMWND_WS_DIALOG = 3,MSIMWND_WS_SIZEBOX = 4
  168. } MSIMWND_STYLES;
  169. typedef enum __MIDL___MIDL_itf_msimcsdk_0000_0008 {
  170. MSIMWND_SIZE_MAXHIDE = 1,MSIMWND_SIZE_MAXIMIZED = 2,MSIMWND_SIZE_MAXSHOW = 3,MSIMWND_SIZE_MINIMIZED = 4,MSIMWND_SIZE_RESTORED = 5
  171. } MSIMWND_SIZE_TYPE;
  172. #define MSIM_LIST_CONTACT 0x00000001
  173. #define MSIM_LIST_ALLOW 0x00000002
  174. #define MSIM_LIST_BLOCK 0x00000004
  175. #define MSIM_LIST_REVERSE 0x00000008
  176. #define MSIM_LIST_NOREF 0x00000010
  177. #define MSIM_LIST_SAVE 0x00000020
  178. #define MSIM_LIST_SYSTEM 0x00000080
  179. #define MSIM_LIST_CONTACT_STR L"$$Messenger\\Contact"
  180. #define MSIM_LIST_ALLOW_STR L"$$Messenger\\Allow"
  181. #define MSIM_LIST_BLOCK_STR L"$$Messenger\\Block"
  182. #define MSIM_LIST_REVERSE_STR L"$$Messenger\\Reverse"
  183. extern RPC_IF_HANDLE __MIDL_itf_msimcsdk_0000_v0_0_c_ifspec;
  184. extern RPC_IF_HANDLE __MIDL_itf_msimcsdk_0000_v0_0_s_ifspec;
  185. #ifndef __MSIMCliSDKLib_LIBRARY_DEFINED__
  186. #define __MSIMCliSDKLib_LIBRARY_DEFINED__
  187. EXTERN_C const IID LIBID_MSIMCliSDKLib;
  188. #ifndef __IMSIMHost_INTERFACE_DEFINED__
  189. #define __IMSIMHost_INTERFACE_DEFINED__
  190. EXTERN_C const IID IID_IMSIMHost;
  191. #if defined(__cplusplus) && !defined(CINTERFACE)
  192. struct IMSIMHost : public IDispatch {
  193. public:
  194. virtual HRESULT WINAPI CreateContext(VARIANT Profile,VARIANT Flags,IDispatch **ppInterface) = 0;
  195. virtual HRESULT WINAPI ShowOptions(void) = 0;
  196. virtual HRESULT WINAPI get_Profiles(IDispatch **pProfile) = 0;
  197. virtual HRESULT WINAPI HostWindow(BSTR bstrControl,__LONG32 lStyle,VARIANT_BOOL fShowOnTaskbar,IDispatch **ppMSIMWnd) = 0;
  198. virtual HRESULT WINAPI CreateProfile(BSTR bstrProfile,IDispatch **ppProfile) = 0;
  199. virtual HRESULT WINAPI PopupMessage(BSTR bstrMessage,__LONG32 nTimeout,VARIANT_BOOL fClick,__LONG32 *plCookie) = 0;
  200. virtual HRESULT WINAPI HostWindowEx(BSTR bstrControl,__LONG32 lStyle,__LONG32 lExStyle,IStream *pStream,IMSIMWindow **ppMSIMWindow,IUnknown **ppUnk,REFIID iidAdvise,IUnknown *punkSink) = 0;
  201. };
  202. #else
  203. typedef struct IMSIMHostVtbl {
  204. BEGIN_INTERFACE
  205. HRESULT (WINAPI *QueryInterface)(IMSIMHost *This,REFIID riid,void **ppvObject);
  206. ULONG (WINAPI *AddRef)(IMSIMHost *This);
  207. ULONG (WINAPI *Release)(IMSIMHost *This);
  208. HRESULT (WINAPI *GetTypeInfoCount)(IMSIMHost *This,UINT *pctinfo);
  209. HRESULT (WINAPI *GetTypeInfo)(IMSIMHost *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  210. HRESULT (WINAPI *GetIDsOfNames)(IMSIMHost *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  211. HRESULT (WINAPI *Invoke)(IMSIMHost *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  212. HRESULT (WINAPI *CreateContext)(IMSIMHost *This,VARIANT Profile,VARIANT Flags,IDispatch **ppInterface);
  213. HRESULT (WINAPI *ShowOptions)(IMSIMHost *This);
  214. HRESULT (WINAPI *get_Profiles)(IMSIMHost *This,IDispatch **pProfile);
  215. HRESULT (WINAPI *HostWindow)(IMSIMHost *This,BSTR bstrControl,__LONG32 lStyle,VARIANT_BOOL fShowOnTaskbar,IDispatch **ppMSIMWnd);
  216. HRESULT (WINAPI *CreateProfile)(IMSIMHost *This,BSTR bstrProfile,IDispatch **ppProfile);
  217. HRESULT (WINAPI *PopupMessage)(IMSIMHost *This,BSTR bstrMessage,__LONG32 nTimeout,VARIANT_BOOL fClick,__LONG32 *plCookie);
  218. HRESULT (WINAPI *HostWindowEx)(IMSIMHost *This,BSTR bstrControl,__LONG32 lStyle,__LONG32 lExStyle,IStream *pStream,IMSIMWindow **ppMSIMWindow,IUnknown **ppUnk,REFIID iidAdvise,IUnknown *punkSink);
  219. END_INTERFACE
  220. } IMSIMHostVtbl;
  221. struct IMSIMHost {
  222. CONST_VTBL struct IMSIMHostVtbl *lpVtbl;
  223. };
  224. #ifdef COBJMACROS
  225. #define IMSIMHost_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  226. #define IMSIMHost_AddRef(This) (This)->lpVtbl->AddRef(This)
  227. #define IMSIMHost_Release(This) (This)->lpVtbl->Release(This)
  228. #define IMSIMHost_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  229. #define IMSIMHost_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  230. #define IMSIMHost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  231. #define IMSIMHost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  232. #define IMSIMHost_CreateContext(This,Profile,Flags,ppInterface) (This)->lpVtbl->CreateContext(This,Profile,Flags,ppInterface)
  233. #define IMSIMHost_ShowOptions(This) (This)->lpVtbl->ShowOptions(This)
  234. #define IMSIMHost_get_Profiles(This,pProfile) (This)->lpVtbl->get_Profiles(This,pProfile)
  235. #define IMSIMHost_HostWindow(This,bstrControl,lStyle,fShowOnTaskbar,ppMSIMWnd) (This)->lpVtbl->HostWindow(This,bstrControl,lStyle,fShowOnTaskbar,ppMSIMWnd)
  236. #define IMSIMHost_CreateProfile(This,bstrProfile,ppProfile) (This)->lpVtbl->CreateProfile(This,bstrProfile,ppProfile)
  237. #define IMSIMHost_PopupMessage(This,bstrMessage,nTimeout,fClick,plCookie) (This)->lpVtbl->PopupMessage(This,bstrMessage,nTimeout,fClick,plCookie)
  238. #define IMSIMHost_HostWindowEx(This,bstrControl,lStyle,lExStyle,pStream,ppMSIMWindow,ppUnk,iidAdvise,punkSink) (This)->lpVtbl->HostWindowEx(This,bstrControl,lStyle,lExStyle,pStream,ppMSIMWindow,ppUnk,iidAdvise,punkSink)
  239. #endif
  240. #endif
  241. HRESULT WINAPI IMSIMHost_CreateContext_Proxy(IMSIMHost *This,VARIANT Profile,VARIANT Flags,IDispatch **ppInterface);
  242. void __RPC_STUB IMSIMHost_CreateContext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  243. HRESULT WINAPI IMSIMHost_ShowOptions_Proxy(IMSIMHost *This);
  244. void __RPC_STUB IMSIMHost_ShowOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  245. HRESULT WINAPI IMSIMHost_get_Profiles_Proxy(IMSIMHost *This,IDispatch **pProfile);
  246. void __RPC_STUB IMSIMHost_get_Profiles_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  247. HRESULT WINAPI IMSIMHost_HostWindow_Proxy(IMSIMHost *This,BSTR bstrControl,__LONG32 lStyle,VARIANT_BOOL fShowOnTaskbar,IDispatch **ppMSIMWnd);
  248. void __RPC_STUB IMSIMHost_HostWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  249. HRESULT WINAPI IMSIMHost_CreateProfile_Proxy(IMSIMHost *This,BSTR bstrProfile,IDispatch **ppProfile);
  250. void __RPC_STUB IMSIMHost_CreateProfile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  251. HRESULT WINAPI IMSIMHost_PopupMessage_Proxy(IMSIMHost *This,BSTR bstrMessage,__LONG32 nTimeout,VARIANT_BOOL fClick,__LONG32 *plCookie);
  252. void __RPC_STUB IMSIMHost_PopupMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  253. HRESULT WINAPI IMSIMHost_HostWindowEx_Proxy(IMSIMHost *This,BSTR bstrControl,__LONG32 lStyle,__LONG32 lExStyle,IStream *pStream,IMSIMWindow **ppMSIMWindow,IUnknown **ppUnk,REFIID iidAdvise,IUnknown *punkSink);
  254. void __RPC_STUB IMSIMHost_HostWindowEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  255. #endif
  256. #ifndef __DMSIMHostEvents_DISPINTERFACE_DEFINED__
  257. #define __DMSIMHostEvents_DISPINTERFACE_DEFINED__
  258. EXTERN_C const IID DIID_DMSIMHostEvents;
  259. #if defined(__cplusplus) && !defined(CINTERFACE)
  260. struct DMSIMHostEvents : public IDispatch {
  261. };
  262. #else
  263. typedef struct DMSIMHostEventsVtbl {
  264. BEGIN_INTERFACE
  265. HRESULT (WINAPI *QueryInterface)(DMSIMHostEvents *This,REFIID riid,void **ppvObject);
  266. ULONG (WINAPI *AddRef)(DMSIMHostEvents *This);
  267. ULONG (WINAPI *Release)(DMSIMHostEvents *This);
  268. HRESULT (WINAPI *GetTypeInfoCount)(DMSIMHostEvents *This,UINT *pctinfo);
  269. HRESULT (WINAPI *GetTypeInfo)(DMSIMHostEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  270. HRESULT (WINAPI *GetIDsOfNames)(DMSIMHostEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  271. HRESULT (WINAPI *Invoke)(DMSIMHostEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  272. END_INTERFACE
  273. } DMSIMHostEventsVtbl;
  274. struct DMSIMHostEvents {
  275. CONST_VTBL struct DMSIMHostEventsVtbl *lpVtbl;
  276. };
  277. #ifdef COBJMACROS
  278. #define DMSIMHostEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  279. #define DMSIMHostEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  280. #define DMSIMHostEvents_Release(This) (This)->lpVtbl->Release(This)
  281. #define DMSIMHostEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  282. #define DMSIMHostEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  283. #define DMSIMHostEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  284. #define DMSIMHostEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  285. #endif
  286. #endif
  287. #endif
  288. #ifndef __IMSIMWindow_INTERFACE_DEFINED__
  289. #define __IMSIMWindow_INTERFACE_DEFINED__
  290. EXTERN_C const IID IID_IMSIMWindow;
  291. #if defined(__cplusplus) && !defined(CINTERFACE)
  292. struct IMSIMWindow : public IDispatch {
  293. public:
  294. virtual HRESULT WINAPI get_Object(IDispatch **ppDisp) = 0;
  295. virtual HRESULT WINAPI Move(__LONG32 nX,__LONG32 nY,__LONG32 nWidth,__LONG32 nHeight) = 0;
  296. virtual HRESULT WINAPI Focus(void) = 0;
  297. virtual HRESULT WINAPI Show(void) = 0;
  298. virtual HRESULT WINAPI Hide(void) = 0;
  299. virtual HRESULT WINAPI get_Title(BSTR *pVal) = 0;
  300. virtual HRESULT WINAPI put_Title(BSTR newVal) = 0;
  301. virtual HRESULT WINAPI Close(void) = 0;
  302. virtual HRESULT WINAPI get_HasFocus(VARIANT_BOOL *pVal) = 0;
  303. virtual HRESULT WINAPI get_IsVisible(VARIANT_BOOL *pVal) = 0;
  304. virtual HRESULT WINAPI GetPosition(VARIANT *pvarX,VARIANT *pvarY,VARIANT *pvarWidth,VARIANT *pvarHeight) = 0;
  305. virtual HRESULT WINAPI get_TopMost(VARIANT_BOOL *pVal) = 0;
  306. virtual HRESULT WINAPI put_TopMost(VARIANT_BOOL newVal) = 0;
  307. virtual HRESULT WINAPI get_Window(__LONG32 *pVal) = 0;
  308. };
  309. #else
  310. typedef struct IMSIMWindowVtbl {
  311. BEGIN_INTERFACE
  312. HRESULT (WINAPI *QueryInterface)(IMSIMWindow *This,REFIID riid,void **ppvObject);
  313. ULONG (WINAPI *AddRef)(IMSIMWindow *This);
  314. ULONG (WINAPI *Release)(IMSIMWindow *This);
  315. HRESULT (WINAPI *GetTypeInfoCount)(IMSIMWindow *This,UINT *pctinfo);
  316. HRESULT (WINAPI *GetTypeInfo)(IMSIMWindow *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  317. HRESULT (WINAPI *GetIDsOfNames)(IMSIMWindow *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  318. HRESULT (WINAPI *Invoke)(IMSIMWindow *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  319. HRESULT (WINAPI *get_Object)(IMSIMWindow *This,IDispatch **ppDisp);
  320. HRESULT (WINAPI *Move)(IMSIMWindow *This,__LONG32 nX,__LONG32 nY,__LONG32 nWidth,__LONG32 nHeight);
  321. HRESULT (WINAPI *Focus)(IMSIMWindow *This);
  322. HRESULT (WINAPI *Show)(IMSIMWindow *This);
  323. HRESULT (WINAPI *Hide)(IMSIMWindow *This);
  324. HRESULT (WINAPI *get_Title)(IMSIMWindow *This,BSTR *pVal);
  325. HRESULT (WINAPI *put_Title)(IMSIMWindow *This,BSTR newVal);
  326. HRESULT (WINAPI *Close)(IMSIMWindow *This);
  327. HRESULT (WINAPI *get_HasFocus)(IMSIMWindow *This,VARIANT_BOOL *pVal);
  328. HRESULT (WINAPI *get_IsVisible)(IMSIMWindow *This,VARIANT_BOOL *pVal);
  329. HRESULT (WINAPI *GetPosition)(IMSIMWindow *This,VARIANT *pvarX,VARIANT *pvarY,VARIANT *pvarWidth,VARIANT *pvarHeight);
  330. HRESULT (WINAPI *get_TopMost)(IMSIMWindow *This,VARIANT_BOOL *pVal);
  331. HRESULT (WINAPI *put_TopMost)(IMSIMWindow *This,VARIANT_BOOL newVal);
  332. HRESULT (WINAPI *get_Window)(IMSIMWindow *This,__LONG32 *pVal);
  333. END_INTERFACE
  334. } IMSIMWindowVtbl;
  335. struct IMSIMWindow {
  336. CONST_VTBL struct IMSIMWindowVtbl *lpVtbl;
  337. };
  338. #ifdef COBJMACROS
  339. #define IMSIMWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  340. #define IMSIMWindow_AddRef(This) (This)->lpVtbl->AddRef(This)
  341. #define IMSIMWindow_Release(This) (This)->lpVtbl->Release(This)
  342. #define IMSIMWindow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  343. #define IMSIMWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  344. #define IMSIMWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  345. #define IMSIMWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  346. #define IMSIMWindow_get_Object(This,ppDisp) (This)->lpVtbl->get_Object(This,ppDisp)
  347. #define IMSIMWindow_Move(This,nX,nY,nWidth,nHeight) (This)->lpVtbl->Move(This,nX,nY,nWidth,nHeight)
  348. #define IMSIMWindow_Focus(This) (This)->lpVtbl->Focus(This)
  349. #define IMSIMWindow_Show(This) (This)->lpVtbl->Show(This)
  350. #define IMSIMWindow_Hide(This) (This)->lpVtbl->Hide(This)
  351. #define IMSIMWindow_get_Title(This,pVal) (This)->lpVtbl->get_Title(This,pVal)
  352. #define IMSIMWindow_put_Title(This,newVal) (This)->lpVtbl->put_Title(This,newVal)
  353. #define IMSIMWindow_Close(This) (This)->lpVtbl->Close(This)
  354. #define IMSIMWindow_get_HasFocus(This,pVal) (This)->lpVtbl->get_HasFocus(This,pVal)
  355. #define IMSIMWindow_get_IsVisible(This,pVal) (This)->lpVtbl->get_IsVisible(This,pVal)
  356. #define IMSIMWindow_GetPosition(This,pvarX,pvarY,pvarWidth,pvarHeight) (This)->lpVtbl->GetPosition(This,pvarX,pvarY,pvarWidth,pvarHeight)
  357. #define IMSIMWindow_get_TopMost(This,pVal) (This)->lpVtbl->get_TopMost(This,pVal)
  358. #define IMSIMWindow_put_TopMost(This,newVal) (This)->lpVtbl->put_TopMost(This,newVal)
  359. #define IMSIMWindow_get_Window(This,pVal) (This)->lpVtbl->get_Window(This,pVal)
  360. #endif
  361. #endif
  362. HRESULT WINAPI IMSIMWindow_get_Object_Proxy(IMSIMWindow *This,IDispatch **ppDisp);
  363. void __RPC_STUB IMSIMWindow_get_Object_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  364. HRESULT WINAPI IMSIMWindow_Move_Proxy(IMSIMWindow *This,__LONG32 nX,__LONG32 nY,__LONG32 nWidth,__LONG32 nHeight);
  365. void __RPC_STUB IMSIMWindow_Move_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  366. HRESULT WINAPI IMSIMWindow_Focus_Proxy(IMSIMWindow *This);
  367. void __RPC_STUB IMSIMWindow_Focus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  368. HRESULT WINAPI IMSIMWindow_Show_Proxy(IMSIMWindow *This);
  369. void __RPC_STUB IMSIMWindow_Show_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  370. HRESULT WINAPI IMSIMWindow_Hide_Proxy(IMSIMWindow *This);
  371. void __RPC_STUB IMSIMWindow_Hide_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  372. HRESULT WINAPI IMSIMWindow_get_Title_Proxy(IMSIMWindow *This,BSTR *pVal);
  373. void __RPC_STUB IMSIMWindow_get_Title_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  374. HRESULT WINAPI IMSIMWindow_put_Title_Proxy(IMSIMWindow *This,BSTR newVal);
  375. void __RPC_STUB IMSIMWindow_put_Title_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  376. HRESULT WINAPI IMSIMWindow_Close_Proxy(IMSIMWindow *This);
  377. void __RPC_STUB IMSIMWindow_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  378. HRESULT WINAPI IMSIMWindow_get_HasFocus_Proxy(IMSIMWindow *This,VARIANT_BOOL *pVal);
  379. void __RPC_STUB IMSIMWindow_get_HasFocus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  380. HRESULT WINAPI IMSIMWindow_get_IsVisible_Proxy(IMSIMWindow *This,VARIANT_BOOL *pVal);
  381. void __RPC_STUB IMSIMWindow_get_IsVisible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  382. HRESULT WINAPI IMSIMWindow_GetPosition_Proxy(IMSIMWindow *This,VARIANT *pvarX,VARIANT *pvarY,VARIANT *pvarWidth,VARIANT *pvarHeight);
  383. void __RPC_STUB IMSIMWindow_GetPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  384. HRESULT WINAPI IMSIMWindow_get_TopMost_Proxy(IMSIMWindow *This,VARIANT_BOOL *pVal);
  385. void __RPC_STUB IMSIMWindow_get_TopMost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  386. HRESULT WINAPI IMSIMWindow_put_TopMost_Proxy(IMSIMWindow *This,VARIANT_BOOL newVal);
  387. void __RPC_STUB IMSIMWindow_put_TopMost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  388. HRESULT WINAPI IMSIMWindow_get_Window_Proxy(IMSIMWindow *This,__LONG32 *pVal);
  389. void __RPC_STUB IMSIMWindow_get_Window_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  390. #endif
  391. #ifndef __DMSIMWindowEvents_DISPINTERFACE_DEFINED__
  392. #define __DMSIMWindowEvents_DISPINTERFACE_DEFINED__
  393. EXTERN_C const IID DIID_DMSIMWindowEvents;
  394. #if defined(__cplusplus) && !defined(CINTERFACE)
  395. struct DMSIMWindowEvents : public IDispatch {
  396. };
  397. #else
  398. typedef struct DMSIMWindowEventsVtbl {
  399. BEGIN_INTERFACE
  400. HRESULT (WINAPI *QueryInterface)(DMSIMWindowEvents *This,REFIID riid,void **ppvObject);
  401. ULONG (WINAPI *AddRef)(DMSIMWindowEvents *This);
  402. ULONG (WINAPI *Release)(DMSIMWindowEvents *This);
  403. HRESULT (WINAPI *GetTypeInfoCount)(DMSIMWindowEvents *This,UINT *pctinfo);
  404. HRESULT (WINAPI *GetTypeInfo)(DMSIMWindowEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  405. HRESULT (WINAPI *GetIDsOfNames)(DMSIMWindowEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  406. HRESULT (WINAPI *Invoke)(DMSIMWindowEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  407. END_INTERFACE
  408. } DMSIMWindowEventsVtbl;
  409. struct DMSIMWindowEvents {
  410. CONST_VTBL struct DMSIMWindowEventsVtbl *lpVtbl;
  411. };
  412. #ifdef COBJMACROS
  413. #define DMSIMWindowEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  414. #define DMSIMWindowEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  415. #define DMSIMWindowEvents_Release(This) (This)->lpVtbl->Release(This)
  416. #define DMSIMWindowEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  417. #define DMSIMWindowEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  418. #define DMSIMWindowEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  419. #define DMSIMWindowEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  420. #endif
  421. #endif
  422. #endif
  423. #ifndef __IIMService_INTERFACE_DEFINED__
  424. #define __IIMService_INTERFACE_DEFINED__
  425. EXTERN_C const IID IID_IIMService;
  426. #if defined(__cplusplus) && !defined(CINTERFACE)
  427. struct IIMService : public IDispatch {
  428. public:
  429. virtual HRESULT WINAPI get_Server(BSTR *pbstrName) = 0;
  430. virtual HRESULT WINAPI get_IMAddress(BSTR *pbstrName) = 0;
  431. virtual HRESULT WINAPI put_FriendlyName(BSTR bstrName) = 0;
  432. virtual HRESULT WINAPI get_FriendlyName(BSTR *pbstrName) = 0;
  433. virtual HRESULT WINAPI Logoff(void) = 0;
  434. virtual HRESULT WINAPI FindContact(BSTR bstrFirstName,BSTR bstrLastName,BSTR bstrAlias,BSTR bstrCity,BSTR bstrState,BSTR bstrCountry,LONG *plCookie) = 0;
  435. virtual HRESULT WINAPI Logon(VARIANT varParameter) = 0;
  436. virtual HRESULT WINAPI CreateContact(BSTR bstrAlias,IDispatch **ppContact) = 0;
  437. virtual HRESULT WINAPI SetLocalState(__LONG32 lState,BSTR bstrDescription,VARIANT varData) = 0;
  438. virtual HRESULT WINAPI GetLocalState(VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData) = 0;
  439. virtual HRESULT WINAPI CreateIMSession(VARIANT varIMContact,IDispatch **ppIMSession) = 0;
  440. virtual HRESULT WINAPI get_IMSessions(IDispatch **ppIMSessions) = 0;
  441. virtual HRESULT WINAPI NewList(BSTR bstrListName,__LONG32 bfProperties,IDispatch **ppList) = 0;
  442. virtual HRESULT WINAPI List(BSTR bstrListName,IDispatch **ppList) = 0;
  443. virtual HRESULT WINAPI RemoveList(BSTR bstrListName) = 0;
  444. virtual HRESULT WINAPI SendNetMeetingInvite(VARIANT varContact,__LONG32 lInviteCookie,__LONG32 *plSendCookie) = 0;
  445. virtual HRESULT WINAPI SendNetMeetingAccept(VARIANT varContact,__LONG32 lInviteCookie,__LONG32 lInviteType,__LONG32 *plSendCookie) = 0;
  446. virtual HRESULT WINAPI SendNetMeetingCancel(VARIANT varContact,__LONG32 lInviteCookie,__LONG32 hrReason,__LONG32 *plSendCookie) = 0;
  447. virtual HRESULT WINAPI get_BlockByDefault(VARIANT_BOOL *pVal) = 0;
  448. virtual HRESULT WINAPI put_BlockByDefault(VARIANT_BOOL newVal) = 0;
  449. };
  450. #else
  451. typedef struct IIMServiceVtbl {
  452. BEGIN_INTERFACE
  453. HRESULT (WINAPI *QueryInterface)(IIMService *This,REFIID riid,void **ppvObject);
  454. ULONG (WINAPI *AddRef)(IIMService *This);
  455. ULONG (WINAPI *Release)(IIMService *This);
  456. HRESULT (WINAPI *GetTypeInfoCount)(IIMService *This,UINT *pctinfo);
  457. HRESULT (WINAPI *GetTypeInfo)(IIMService *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  458. HRESULT (WINAPI *GetIDsOfNames)(IIMService *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  459. HRESULT (WINAPI *Invoke)(IIMService *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  460. HRESULT (WINAPI *get_Server)(IIMService *This,BSTR *pbstrName);
  461. HRESULT (WINAPI *get_IMAddress)(IIMService *This,BSTR *pbstrName);
  462. HRESULT (WINAPI *put_FriendlyName)(IIMService *This,BSTR bstrName);
  463. HRESULT (WINAPI *get_FriendlyName)(IIMService *This,BSTR *pbstrName);
  464. HRESULT (WINAPI *Logoff)(IIMService *This);
  465. HRESULT (WINAPI *FindContact)(IIMService *This,BSTR bstrFirstName,BSTR bstrLastName,BSTR bstrAlias,BSTR bstrCity,BSTR bstrState,BSTR bstrCountry,LONG *plCookie);
  466. HRESULT (WINAPI *Logon)(IIMService *This,VARIANT varParameter);
  467. HRESULT (WINAPI *CreateContact)(IIMService *This,BSTR bstrAlias,IDispatch **ppContact);
  468. HRESULT (WINAPI *SetLocalState)(IIMService *This,__LONG32 lState,BSTR bstrDescription,VARIANT varData);
  469. HRESULT (WINAPI *GetLocalState)(IIMService *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  470. HRESULT (WINAPI *CreateIMSession)(IIMService *This,VARIANT varIMContact,IDispatch **ppIMSession);
  471. HRESULT (WINAPI *get_IMSessions)(IIMService *This,IDispatch **ppIMSessions);
  472. HRESULT (WINAPI *NewList)(IIMService *This,BSTR bstrListName,__LONG32 bfProperties,IDispatch **ppList);
  473. HRESULT (WINAPI *List)(IIMService *This,BSTR bstrListName,IDispatch **ppList);
  474. HRESULT (WINAPI *RemoveList)(IIMService *This,BSTR bstrListName);
  475. HRESULT (WINAPI *SendNetMeetingInvite)(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 *plSendCookie);
  476. HRESULT (WINAPI *SendNetMeetingAccept)(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 lInviteType,__LONG32 *plSendCookie);
  477. HRESULT (WINAPI *SendNetMeetingCancel)(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 hrReason,__LONG32 *plSendCookie);
  478. HRESULT (WINAPI *get_BlockByDefault)(IIMService *This,VARIANT_BOOL *pVal);
  479. HRESULT (WINAPI *put_BlockByDefault)(IIMService *This,VARIANT_BOOL newVal);
  480. END_INTERFACE
  481. } IIMServiceVtbl;
  482. struct IIMService {
  483. CONST_VTBL struct IIMServiceVtbl *lpVtbl;
  484. };
  485. #ifdef COBJMACROS
  486. #define IIMService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  487. #define IIMService_AddRef(This) (This)->lpVtbl->AddRef(This)
  488. #define IIMService_Release(This) (This)->lpVtbl->Release(This)
  489. #define IIMService_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  490. #define IIMService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  491. #define IIMService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  492. #define IIMService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  493. #define IIMService_get_Server(This,pbstrName) (This)->lpVtbl->get_Server(This,pbstrName)
  494. #define IIMService_get_IMAddress(This,pbstrName) (This)->lpVtbl->get_IMAddress(This,pbstrName)
  495. #define IIMService_put_FriendlyName(This,bstrName) (This)->lpVtbl->put_FriendlyName(This,bstrName)
  496. #define IIMService_get_FriendlyName(This,pbstrName) (This)->lpVtbl->get_FriendlyName(This,pbstrName)
  497. #define IIMService_Logoff(This) (This)->lpVtbl->Logoff(This)
  498. #define IIMService_FindContact(This,bstrFirstName,bstrLastName,bstrAlias,bstrCity,bstrState,bstrCountry,plCookie) (This)->lpVtbl->FindContact(This,bstrFirstName,bstrLastName,bstrAlias,bstrCity,bstrState,bstrCountry,plCookie)
  499. #define IIMService_Logon(This,varParameter) (This)->lpVtbl->Logon(This,varParameter)
  500. #define IIMService_CreateContact(This,bstrAlias,ppContact) (This)->lpVtbl->CreateContact(This,bstrAlias,ppContact)
  501. #define IIMService_SetLocalState(This,lState,bstrDescription,varData) (This)->lpVtbl->SetLocalState(This,lState,bstrDescription,varData)
  502. #define IIMService_GetLocalState(This,pvarState,pvarDescription,pvarData) (This)->lpVtbl->GetLocalState(This,pvarState,pvarDescription,pvarData)
  503. #define IIMService_CreateIMSession(This,varIMContact,ppIMSession) (This)->lpVtbl->CreateIMSession(This,varIMContact,ppIMSession)
  504. #define IIMService_get_IMSessions(This,ppIMSessions) (This)->lpVtbl->get_IMSessions(This,ppIMSessions)
  505. #define IIMService_NewList(This,bstrListName,bfProperties,ppList) (This)->lpVtbl->NewList(This,bstrListName,bfProperties,ppList)
  506. #define IIMService_List(This,bstrListName,ppList) (This)->lpVtbl->List(This,bstrListName,ppList)
  507. #define IIMService_RemoveList(This,bstrListName) (This)->lpVtbl->RemoveList(This,bstrListName)
  508. #define IIMService_SendNetMeetingInvite(This,varContact,lInviteCookie,plSendCookie) (This)->lpVtbl->SendNetMeetingInvite(This,varContact,lInviteCookie,plSendCookie)
  509. #define IIMService_SendNetMeetingAccept(This,varContact,lInviteCookie,lInviteType,plSendCookie) (This)->lpVtbl->SendNetMeetingAccept(This,varContact,lInviteCookie,lInviteType,plSendCookie)
  510. #define IIMService_SendNetMeetingCancel(This,varContact,lInviteCookie,hrReason,plSendCookie) (This)->lpVtbl->SendNetMeetingCancel(This,varContact,lInviteCookie,hrReason,plSendCookie)
  511. #define IIMService_get_BlockByDefault(This,pVal) (This)->lpVtbl->get_BlockByDefault(This,pVal)
  512. #define IIMService_put_BlockByDefault(This,newVal) (This)->lpVtbl->put_BlockByDefault(This,newVal)
  513. #endif
  514. #endif
  515. HRESULT WINAPI IIMService_get_Server_Proxy(IIMService *This,BSTR *pbstrName);
  516. void __RPC_STUB IIMService_get_Server_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  517. HRESULT WINAPI IIMService_get_IMAddress_Proxy(IIMService *This,BSTR *pbstrName);
  518. void __RPC_STUB IIMService_get_IMAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  519. HRESULT WINAPI IIMService_put_FriendlyName_Proxy(IIMService *This,BSTR bstrName);
  520. void __RPC_STUB IIMService_put_FriendlyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  521. HRESULT WINAPI IIMService_get_FriendlyName_Proxy(IIMService *This,BSTR *pbstrName);
  522. void __RPC_STUB IIMService_get_FriendlyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  523. HRESULT WINAPI IIMService_Logoff_Proxy(IIMService *This);
  524. void __RPC_STUB IIMService_Logoff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  525. HRESULT WINAPI IIMService_FindContact_Proxy(IIMService *This,BSTR bstrFirstName,BSTR bstrLastName,BSTR bstrAlias,BSTR bstrCity,BSTR bstrState,BSTR bstrCountry,LONG *plCookie);
  526. void __RPC_STUB IIMService_FindContact_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  527. HRESULT WINAPI IIMService_Logon_Proxy(IIMService *This,VARIANT varParameter);
  528. void __RPC_STUB IIMService_Logon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  529. HRESULT WINAPI IIMService_CreateContact_Proxy(IIMService *This,BSTR bstrAlias,IDispatch **ppContact);
  530. void __RPC_STUB IIMService_CreateContact_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  531. HRESULT WINAPI IIMService_SetLocalState_Proxy(IIMService *This,__LONG32 lState,BSTR bstrDescription,VARIANT varData);
  532. void __RPC_STUB IIMService_SetLocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  533. HRESULT WINAPI IIMService_GetLocalState_Proxy(IIMService *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  534. void __RPC_STUB IIMService_GetLocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  535. HRESULT WINAPI IIMService_CreateIMSession_Proxy(IIMService *This,VARIANT varIMContact,IDispatch **ppIMSession);
  536. void __RPC_STUB IIMService_CreateIMSession_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  537. HRESULT WINAPI IIMService_get_IMSessions_Proxy(IIMService *This,IDispatch **ppIMSessions);
  538. void __RPC_STUB IIMService_get_IMSessions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  539. HRESULT WINAPI IIMService_NewList_Proxy(IIMService *This,BSTR bstrListName,__LONG32 bfProperties,IDispatch **ppList);
  540. void __RPC_STUB IIMService_NewList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  541. HRESULT WINAPI IIMService_List_Proxy(IIMService *This,BSTR bstrListName,IDispatch **ppList);
  542. void __RPC_STUB IIMService_List_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  543. HRESULT WINAPI IIMService_RemoveList_Proxy(IIMService *This,BSTR bstrListName);
  544. void __RPC_STUB IIMService_RemoveList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  545. HRESULT WINAPI IIMService_SendNetMeetingInvite_Proxy(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 *plSendCookie);
  546. void __RPC_STUB IIMService_SendNetMeetingInvite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  547. HRESULT WINAPI IIMService_SendNetMeetingAccept_Proxy(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 lInviteType,__LONG32 *plSendCookie);
  548. void __RPC_STUB IIMService_SendNetMeetingAccept_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  549. HRESULT WINAPI IIMService_SendNetMeetingCancel_Proxy(IIMService *This,VARIANT varContact,__LONG32 lInviteCookie,__LONG32 hrReason,__LONG32 *plSendCookie);
  550. void __RPC_STUB IIMService_SendNetMeetingCancel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  551. HRESULT WINAPI IIMService_get_BlockByDefault_Proxy(IIMService *This,VARIANT_BOOL *pVal);
  552. void __RPC_STUB IIMService_get_BlockByDefault_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  553. HRESULT WINAPI IIMService_put_BlockByDefault_Proxy(IIMService *This,VARIANT_BOOL newVal);
  554. void __RPC_STUB IIMService_put_BlockByDefault_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  555. #endif
  556. #ifndef __DIMServiceEvents_DISPINTERFACE_DEFINED__
  557. #define __DIMServiceEvents_DISPINTERFACE_DEFINED__
  558. EXTERN_C const IID DIID_DIMServiceEvents;
  559. #if defined(__cplusplus) && !defined(CINTERFACE)
  560. struct DIMServiceEvents : public IDispatch {
  561. };
  562. #else
  563. typedef struct DIMServiceEventsVtbl {
  564. BEGIN_INTERFACE
  565. HRESULT (WINAPI *QueryInterface)(DIMServiceEvents *This,REFIID riid,void **ppvObject);
  566. ULONG (WINAPI *AddRef)(DIMServiceEvents *This);
  567. ULONG (WINAPI *Release)(DIMServiceEvents *This);
  568. HRESULT (WINAPI *GetTypeInfoCount)(DIMServiceEvents *This,UINT *pctinfo);
  569. HRESULT (WINAPI *GetTypeInfo)(DIMServiceEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  570. HRESULT (WINAPI *GetIDsOfNames)(DIMServiceEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  571. HRESULT (WINAPI *Invoke)(DIMServiceEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  572. END_INTERFACE
  573. } DIMServiceEventsVtbl;
  574. struct DIMServiceEvents {
  575. CONST_VTBL struct DIMServiceEventsVtbl *lpVtbl;
  576. };
  577. #ifdef COBJMACROS
  578. #define DIMServiceEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  579. #define DIMServiceEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  580. #define DIMServiceEvents_Release(This) (This)->lpVtbl->Release(This)
  581. #define DIMServiceEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  582. #define DIMServiceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  583. #define DIMServiceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  584. #define DIMServiceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  585. #endif
  586. #endif
  587. #endif
  588. #ifndef __IIMContact_INTERFACE_DEFINED__
  589. #define __IIMContact_INTERFACE_DEFINED__
  590. EXTERN_C const IID IID_IIMContact;
  591. #if defined(__cplusplus) && !defined(CINTERFACE)
  592. struct IIMContact : public IDispatch {
  593. public:
  594. virtual HRESULT WINAPI put_FriendlyName(BSTR bstrFriendlyName) = 0;
  595. virtual HRESULT WINAPI get_FriendlyName(BSTR *pbstrFriendlyName) = 0;
  596. virtual HRESULT WINAPI get_EmailAddress(BSTR *pbstrEmailAddress) = 0;
  597. virtual HRESULT WINAPI get_State(IM_STATE *pmState) = 0;
  598. virtual HRESULT WINAPI get_LogonName(BSTR *pbstrLogonName) = 0;
  599. virtual HRESULT WINAPI SendText(BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie) = 0;
  600. virtual HRESULT WINAPI get_Service(IDispatch **ppService) = 0;
  601. };
  602. #else
  603. typedef struct IIMContactVtbl {
  604. BEGIN_INTERFACE
  605. HRESULT (WINAPI *QueryInterface)(IIMContact *This,REFIID riid,void **ppvObject);
  606. ULONG (WINAPI *AddRef)(IIMContact *This);
  607. ULONG (WINAPI *Release)(IIMContact *This);
  608. HRESULT (WINAPI *GetTypeInfoCount)(IIMContact *This,UINT *pctinfo);
  609. HRESULT (WINAPI *GetTypeInfo)(IIMContact *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  610. HRESULT (WINAPI *GetIDsOfNames)(IIMContact *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  611. HRESULT (WINAPI *Invoke)(IIMContact *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  612. HRESULT (WINAPI *put_FriendlyName)(IIMContact *This,BSTR bstrFriendlyName);
  613. HRESULT (WINAPI *get_FriendlyName)(IIMContact *This,BSTR *pbstrFriendlyName);
  614. HRESULT (WINAPI *get_EmailAddress)(IIMContact *This,BSTR *pbstrEmailAddress);
  615. HRESULT (WINAPI *get_State)(IIMContact *This,IM_STATE *pmState);
  616. HRESULT (WINAPI *get_LogonName)(IIMContact *This,BSTR *pbstrLogonName);
  617. HRESULT (WINAPI *SendText)(IIMContact *This,BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie);
  618. HRESULT (WINAPI *get_Service)(IIMContact *This,IDispatch **ppService);
  619. END_INTERFACE
  620. } IIMContactVtbl;
  621. struct IIMContact {
  622. CONST_VTBL struct IIMContactVtbl *lpVtbl;
  623. };
  624. #ifdef COBJMACROS
  625. #define IIMContact_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  626. #define IIMContact_AddRef(This) (This)->lpVtbl->AddRef(This)
  627. #define IIMContact_Release(This) (This)->lpVtbl->Release(This)
  628. #define IIMContact_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  629. #define IIMContact_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  630. #define IIMContact_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  631. #define IIMContact_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  632. #define IIMContact_put_FriendlyName(This,bstrFriendlyName) (This)->lpVtbl->put_FriendlyName(This,bstrFriendlyName)
  633. #define IIMContact_get_FriendlyName(This,pbstrFriendlyName) (This)->lpVtbl->get_FriendlyName(This,pbstrFriendlyName)
  634. #define IIMContact_get_EmailAddress(This,pbstrEmailAddress) (This)->lpVtbl->get_EmailAddress(This,pbstrEmailAddress)
  635. #define IIMContact_get_State(This,pmState) (This)->lpVtbl->get_State(This,pmState)
  636. #define IIMContact_get_LogonName(This,pbstrLogonName) (This)->lpVtbl->get_LogonName(This,pbstrLogonName)
  637. #define IIMContact_SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie) (This)->lpVtbl->SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie)
  638. #define IIMContact_get_Service(This,ppService) (This)->lpVtbl->get_Service(This,ppService)
  639. #endif
  640. #endif
  641. HRESULT WINAPI IIMContact_put_FriendlyName_Proxy(IIMContact *This,BSTR bstrFriendlyName);
  642. void __RPC_STUB IIMContact_put_FriendlyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  643. HRESULT WINAPI IIMContact_get_FriendlyName_Proxy(IIMContact *This,BSTR *pbstrFriendlyName);
  644. void __RPC_STUB IIMContact_get_FriendlyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  645. HRESULT WINAPI IIMContact_get_EmailAddress_Proxy(IIMContact *This,BSTR *pbstrEmailAddress);
  646. void __RPC_STUB IIMContact_get_EmailAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  647. HRESULT WINAPI IIMContact_get_State_Proxy(IIMContact *This,IM_STATE *pmState);
  648. void __RPC_STUB IIMContact_get_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  649. HRESULT WINAPI IIMContact_get_LogonName_Proxy(IIMContact *This,BSTR *pbstrLogonName);
  650. void __RPC_STUB IIMContact_get_LogonName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  651. HRESULT WINAPI IIMContact_SendText_Proxy(IIMContact *This,BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie);
  652. void __RPC_STUB IIMContact_SendText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  653. HRESULT WINAPI IIMContact_get_Service_Proxy(IIMContact *This,IDispatch **ppService);
  654. void __RPC_STUB IIMContact_get_Service_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  655. #endif
  656. #ifndef __IIMContacts_INTERFACE_DEFINED__
  657. #define __IIMContacts_INTERFACE_DEFINED__
  658. EXTERN_C const IID IID_IIMContacts;
  659. #if defined(__cplusplus) && !defined(CINTERFACE)
  660. struct IIMContacts : public IDispatch {
  661. public:
  662. virtual HRESULT WINAPI Item(VARIANT varItem,IDispatch **ppContact) = 0;
  663. virtual HRESULT WINAPI get_Count(__LONG32 *pVal) = 0;
  664. virtual HRESULT WINAPI Add(IDispatch *pContact) = 0;
  665. virtual HRESULT WINAPI Remove(IDispatch *pContact) = 0;
  666. virtual HRESULT WINAPI get_Name(BSTR *pVal) = 0;
  667. virtual HRESULT WINAPI put_Name(BSTR newVal) = 0;
  668. virtual HRESULT WINAPI get_Properties(__LONG32 *pVal) = 0;
  669. virtual HRESULT WINAPI get_Cookie(__LONG32 *pVal) = 0;
  670. virtual HRESULT WINAPI get__NewEnum(IUnknown **ppVal) = 0;
  671. };
  672. #else
  673. typedef struct IIMContactsVtbl {
  674. BEGIN_INTERFACE
  675. HRESULT (WINAPI *QueryInterface)(IIMContacts *This,REFIID riid,void **ppvObject);
  676. ULONG (WINAPI *AddRef)(IIMContacts *This);
  677. ULONG (WINAPI *Release)(IIMContacts *This);
  678. HRESULT (WINAPI *GetTypeInfoCount)(IIMContacts *This,UINT *pctinfo);
  679. HRESULT (WINAPI *GetTypeInfo)(IIMContacts *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  680. HRESULT (WINAPI *GetIDsOfNames)(IIMContacts *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  681. HRESULT (WINAPI *Invoke)(IIMContacts *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  682. HRESULT (WINAPI *Item)(IIMContacts *This,VARIANT varItem,IDispatch **ppContact);
  683. HRESULT (WINAPI *get_Count)(IIMContacts *This,__LONG32 *pVal);
  684. HRESULT (WINAPI *Add)(IIMContacts *This,IDispatch *pContact);
  685. HRESULT (WINAPI *Remove)(IIMContacts *This,IDispatch *pContact);
  686. HRESULT (WINAPI *get_Name)(IIMContacts *This,BSTR *pVal);
  687. HRESULT (WINAPI *put_Name)(IIMContacts *This,BSTR newVal);
  688. HRESULT (WINAPI *get_Properties)(IIMContacts *This,__LONG32 *pVal);
  689. HRESULT (WINAPI *get_Cookie)(IIMContacts *This,__LONG32 *pVal);
  690. HRESULT (WINAPI *get__NewEnum)(IIMContacts *This,IUnknown **ppVal);
  691. END_INTERFACE
  692. } IIMContactsVtbl;
  693. struct IIMContacts {
  694. CONST_VTBL struct IIMContactsVtbl *lpVtbl;
  695. };
  696. #ifdef COBJMACROS
  697. #define IIMContacts_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  698. #define IIMContacts_AddRef(This) (This)->lpVtbl->AddRef(This)
  699. #define IIMContacts_Release(This) (This)->lpVtbl->Release(This)
  700. #define IIMContacts_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  701. #define IIMContacts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  702. #define IIMContacts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  703. #define IIMContacts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  704. #define IIMContacts_Item(This,varItem,ppContact) (This)->lpVtbl->Item(This,varItem,ppContact)
  705. #define IIMContacts_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
  706. #define IIMContacts_Add(This,pContact) (This)->lpVtbl->Add(This,pContact)
  707. #define IIMContacts_Remove(This,pContact) (This)->lpVtbl->Remove(This,pContact)
  708. #define IIMContacts_get_Name(This,pVal) (This)->lpVtbl->get_Name(This,pVal)
  709. #define IIMContacts_put_Name(This,newVal) (This)->lpVtbl->put_Name(This,newVal)
  710. #define IIMContacts_get_Properties(This,pVal) (This)->lpVtbl->get_Properties(This,pVal)
  711. #define IIMContacts_get_Cookie(This,pVal) (This)->lpVtbl->get_Cookie(This,pVal)
  712. #define IIMContacts_get__NewEnum(This,ppVal) (This)->lpVtbl->get__NewEnum(This,ppVal)
  713. #endif
  714. #endif
  715. HRESULT WINAPI IIMContacts_Item_Proxy(IIMContacts *This,VARIANT varItem,IDispatch **ppContact);
  716. void __RPC_STUB IIMContacts_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  717. HRESULT WINAPI IIMContacts_get_Count_Proxy(IIMContacts *This,__LONG32 *pVal);
  718. void __RPC_STUB IIMContacts_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  719. HRESULT WINAPI IIMContacts_Add_Proxy(IIMContacts *This,IDispatch *pContact);
  720. void __RPC_STUB IIMContacts_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  721. HRESULT WINAPI IIMContacts_Remove_Proxy(IIMContacts *This,IDispatch *pContact);
  722. void __RPC_STUB IIMContacts_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  723. HRESULT WINAPI IIMContacts_get_Name_Proxy(IIMContacts *This,BSTR *pVal);
  724. void __RPC_STUB IIMContacts_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  725. HRESULT WINAPI IIMContacts_put_Name_Proxy(IIMContacts *This,BSTR newVal);
  726. void __RPC_STUB IIMContacts_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  727. HRESULT WINAPI IIMContacts_get_Properties_Proxy(IIMContacts *This,__LONG32 *pVal);
  728. void __RPC_STUB IIMContacts_get_Properties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  729. HRESULT WINAPI IIMContacts_get_Cookie_Proxy(IIMContacts *This,__LONG32 *pVal);
  730. void __RPC_STUB IIMContacts_get_Cookie_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  731. HRESULT WINAPI IIMContacts_get__NewEnum_Proxy(IIMContacts *This,IUnknown **ppVal);
  732. void __RPC_STUB IIMContacts_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  733. #endif
  734. #ifndef __IIMSession_INTERFACE_DEFINED__
  735. #define __IIMSession_INTERFACE_DEFINED__
  736. EXTERN_C const IID IID_IIMSession;
  737. #if defined(__cplusplus) && !defined(CINTERFACE)
  738. struct IIMSession : public IDispatch {
  739. public:
  740. virtual HRESULT WINAPI get_Members(IDispatch **ppMembers) = 0;
  741. virtual HRESULT WINAPI get_State(IM_SSTATE *psState) = 0;
  742. virtual HRESULT WINAPI get_Service(IDispatch **ppService) = 0;
  743. virtual HRESULT WINAPI get_Invitees(IDispatch **ppInvitees) = 0;
  744. virtual HRESULT WINAPI LeaveSession(void) = 0;
  745. virtual HRESULT WINAPI InviteContact(VARIANT vContact) = 0;
  746. virtual HRESULT WINAPI SendText(BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie) = 0;
  747. };
  748. #else
  749. typedef struct IIMSessionVtbl {
  750. BEGIN_INTERFACE
  751. HRESULT (WINAPI *QueryInterface)(IIMSession *This,REFIID riid,void **ppvObject);
  752. ULONG (WINAPI *AddRef)(IIMSession *This);
  753. ULONG (WINAPI *Release)(IIMSession *This);
  754. HRESULT (WINAPI *GetTypeInfoCount)(IIMSession *This,UINT *pctinfo);
  755. HRESULT (WINAPI *GetTypeInfo)(IIMSession *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  756. HRESULT (WINAPI *GetIDsOfNames)(IIMSession *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  757. HRESULT (WINAPI *Invoke)(IIMSession *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  758. HRESULT (WINAPI *get_Members)(IIMSession *This,IDispatch **ppMembers);
  759. HRESULT (WINAPI *get_State)(IIMSession *This,IM_SSTATE *psState);
  760. HRESULT (WINAPI *get_Service)(IIMSession *This,IDispatch **ppService);
  761. HRESULT (WINAPI *get_Invitees)(IIMSession *This,IDispatch **ppInvitees);
  762. HRESULT (WINAPI *LeaveSession)(IIMSession *This);
  763. HRESULT (WINAPI *InviteContact)(IIMSession *This,VARIANT vContact);
  764. HRESULT (WINAPI *SendText)(IIMSession *This,BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie);
  765. END_INTERFACE
  766. } IIMSessionVtbl;
  767. struct IIMSession {
  768. CONST_VTBL struct IIMSessionVtbl *lpVtbl;
  769. };
  770. #ifdef COBJMACROS
  771. #define IIMSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  772. #define IIMSession_AddRef(This) (This)->lpVtbl->AddRef(This)
  773. #define IIMSession_Release(This) (This)->lpVtbl->Release(This)
  774. #define IIMSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  775. #define IIMSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  776. #define IIMSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  777. #define IIMSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  778. #define IIMSession_get_Members(This,ppMembers) (This)->lpVtbl->get_Members(This,ppMembers)
  779. #define IIMSession_get_State(This,psState) (This)->lpVtbl->get_State(This,psState)
  780. #define IIMSession_get_Service(This,ppService) (This)->lpVtbl->get_Service(This,ppService)
  781. #define IIMSession_get_Invitees(This,ppInvitees) (This)->lpVtbl->get_Invitees(This,ppInvitees)
  782. #define IIMSession_LeaveSession(This) (This)->lpVtbl->LeaveSession(This)
  783. #define IIMSession_InviteContact(This,vContact) (This)->lpVtbl->InviteContact(This,vContact)
  784. #define IIMSession_SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie) (This)->lpVtbl->SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie)
  785. #endif
  786. #endif
  787. HRESULT WINAPI IIMSession_get_Members_Proxy(IIMSession *This,IDispatch **ppMembers);
  788. void __RPC_STUB IIMSession_get_Members_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  789. HRESULT WINAPI IIMSession_get_State_Proxy(IIMSession *This,IM_SSTATE *psState);
  790. void __RPC_STUB IIMSession_get_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  791. HRESULT WINAPI IIMSession_get_Service_Proxy(IIMSession *This,IDispatch **ppService);
  792. void __RPC_STUB IIMSession_get_Service_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  793. HRESULT WINAPI IIMSession_get_Invitees_Proxy(IIMSession *This,IDispatch **ppInvitees);
  794. void __RPC_STUB IIMSession_get_Invitees_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  795. HRESULT WINAPI IIMSession_LeaveSession_Proxy(IIMSession *This);
  796. void __RPC_STUB IIMSession_LeaveSession_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  797. HRESULT WINAPI IIMSession_InviteContact_Proxy(IIMSession *This,VARIANT vContact);
  798. void __RPC_STUB IIMSession_InviteContact_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  799. HRESULT WINAPI IIMSession_SendText_Proxy(IIMSession *This,BSTR bstrMsgHeader,BSTR bstrMsgText,IM_MSG_TYPE MsgType,LONG *plCookie);
  800. void __RPC_STUB IIMSession_SendText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  801. #endif
  802. #ifndef __IIMSessions_INTERFACE_DEFINED__
  803. #define __IIMSessions_INTERFACE_DEFINED__
  804. EXTERN_C const IID IID_IIMSessions;
  805. #if defined(__cplusplus) && !defined(CINTERFACE)
  806. struct IIMSessions : public IDispatch {
  807. public:
  808. virtual HRESULT WINAPI get_Count(__LONG32 *pcSessions) = 0;
  809. virtual HRESULT WINAPI Item(__LONG32 Index,IDispatch **ppIMSession) = 0;
  810. virtual HRESULT WINAPI get__NewEnum(IUnknown **ppUnknown) = 0;
  811. };
  812. #else
  813. typedef struct IIMSessionsVtbl {
  814. BEGIN_INTERFACE
  815. HRESULT (WINAPI *QueryInterface)(IIMSessions *This,REFIID riid,void **ppvObject);
  816. ULONG (WINAPI *AddRef)(IIMSessions *This);
  817. ULONG (WINAPI *Release)(IIMSessions *This);
  818. HRESULT (WINAPI *GetTypeInfoCount)(IIMSessions *This,UINT *pctinfo);
  819. HRESULT (WINAPI *GetTypeInfo)(IIMSessions *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  820. HRESULT (WINAPI *GetIDsOfNames)(IIMSessions *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  821. HRESULT (WINAPI *Invoke)(IIMSessions *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  822. HRESULT (WINAPI *get_Count)(IIMSessions *This,__LONG32 *pcSessions);
  823. HRESULT (WINAPI *Item)(IIMSessions *This,__LONG32 Index,IDispatch **ppIMSession);
  824. HRESULT (WINAPI *get__NewEnum)(IIMSessions *This,IUnknown **ppUnknown);
  825. END_INTERFACE
  826. } IIMSessionsVtbl;
  827. struct IIMSessions {
  828. CONST_VTBL struct IIMSessionsVtbl *lpVtbl;
  829. };
  830. #ifdef COBJMACROS
  831. #define IIMSessions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  832. #define IIMSessions_AddRef(This) (This)->lpVtbl->AddRef(This)
  833. #define IIMSessions_Release(This) (This)->lpVtbl->Release(This)
  834. #define IIMSessions_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  835. #define IIMSessions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  836. #define IIMSessions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  837. #define IIMSessions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  838. #define IIMSessions_get_Count(This,pcSessions) (This)->lpVtbl->get_Count(This,pcSessions)
  839. #define IIMSessions_Item(This,Index,ppIMSession) (This)->lpVtbl->Item(This,Index,ppIMSession)
  840. #define IIMSessions_get__NewEnum(This,ppUnknown) (This)->lpVtbl->get__NewEnum(This,ppUnknown)
  841. #endif
  842. #endif
  843. HRESULT WINAPI IIMSessions_get_Count_Proxy(IIMSessions *This,__LONG32 *pcSessions);
  844. void __RPC_STUB IIMSessions_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  845. HRESULT WINAPI IIMSessions_Item_Proxy(IIMSessions *This,__LONG32 Index,IDispatch **ppIMSession);
  846. void __RPC_STUB IIMSessions_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  847. HRESULT WINAPI IIMSessions_get__NewEnum_Proxy(IIMSessions *This,IUnknown **ppUnknown);
  848. void __RPC_STUB IIMSessions_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  849. #endif
  850. EXTERN_C const CLSID CLSID_MSIMHost;
  851. #ifdef __cplusplus
  852. class MSIMHost;
  853. #endif
  854. EXTERN_C const CLSID CLSID_MSIMService;
  855. #ifdef __cplusplus
  856. class MSIMService;
  857. #endif
  858. EXTERN_C const CLSID CLSID_MSIMWindow;
  859. #ifdef __cplusplus
  860. class MSIMWindow;
  861. #endif
  862. EXTERN_C const CLSID CLSID_MSIMHostOption;
  863. #ifdef __cplusplus
  864. class MSIMHostOption;
  865. #endif
  866. EXTERN_C const CLSID CLSID_MSIMHostProfiles;
  867. #ifdef __cplusplus
  868. class MSIMHostProfiles;
  869. #endif
  870. #endif
  871. #ifdef __cplusplus
  872. }
  873. #endif
  874. #endif