msimcntl.h 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034
  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 __msimcntl_h__
  12. #define __msimcntl_h__
  13. #ifndef ___IUseIMBase_FWD_DEFINED__
  14. #define ___IUseIMBase_FWD_DEFINED__
  15. typedef struct _IUseIMBase _IUseIMBase;
  16. #endif
  17. #ifndef __IMSIMContactView_FWD_DEFINED__
  18. #define __IMSIMContactView_FWD_DEFINED__
  19. typedef struct IMSIMContactView IMSIMContactView;
  20. #endif
  21. #ifndef __DMSIMContactViewEvents_FWD_DEFINED__
  22. #define __DMSIMContactViewEvents_FWD_DEFINED__
  23. typedef struct DMSIMContactViewEvents DMSIMContactViewEvents;
  24. #endif
  25. #ifndef __IMSIMMessageView_FWD_DEFINED__
  26. #define __IMSIMMessageView_FWD_DEFINED__
  27. typedef struct IMSIMMessageView IMSIMMessageView;
  28. #endif
  29. #ifndef __DMSIMMessageViewEvents_FWD_DEFINED__
  30. #define __DMSIMMessageViewEvents_FWD_DEFINED__
  31. typedef struct DMSIMMessageViewEvents DMSIMMessageViewEvents;
  32. #endif
  33. #ifndef __MSIMContactView_FWD_DEFINED__
  34. #define __MSIMContactView_FWD_DEFINED__
  35. #ifdef __cplusplus
  36. typedef class MSIMContactView MSIMContactView;
  37. #else
  38. typedef struct MSIMContactView MSIMContactView;
  39. #endif
  40. #endif
  41. #ifndef __MSIMMessageView_FWD_DEFINED__
  42. #define __MSIMMessageView_FWD_DEFINED__
  43. #ifdef __cplusplus
  44. typedef class MSIMMessageView MSIMMessageView;
  45. #else
  46. typedef struct MSIMMessageView MSIMMessageView;
  47. #endif
  48. #endif
  49. #ifndef __IIMSafeContact_FWD_DEFINED__
  50. #define __IIMSafeContact_FWD_DEFINED__
  51. typedef struct IIMSafeContact IIMSafeContact;
  52. #endif
  53. #ifndef __IMSIMContactList_FWD_DEFINED__
  54. #define __IMSIMContactList_FWD_DEFINED__
  55. typedef struct IMSIMContactList IMSIMContactList;
  56. #endif
  57. #ifndef __DIMContactListEvents_FWD_DEFINED__
  58. #define __DIMContactListEvents_FWD_DEFINED__
  59. typedef struct DIMContactListEvents DIMContactListEvents;
  60. #endif
  61. #ifndef __MSIMContactList_FWD_DEFINED__
  62. #define __MSIMContactList_FWD_DEFINED__
  63. #ifdef __cplusplus
  64. typedef class MSIMContactList MSIMContactList;
  65. #else
  66. typedef struct MSIMContactList MSIMContactList;
  67. #endif
  68. #endif
  69. #ifndef __IMSafeContact_FWD_DEFINED__
  70. #define __IMSafeContact_FWD_DEFINED__
  71. #ifdef __cplusplus
  72. typedef class IMSafeContact IMSafeContact;
  73. #else
  74. typedef struct IMSafeContact IMSafeContact;
  75. #endif
  76. #endif
  77. #include "oaidl.h"
  78. #include "ocidl.h"
  79. #include "simpdata.h"
  80. #ifdef __cplusplus
  81. extern "C" {
  82. #endif
  83. #ifndef __MIDL_user_allocate_free_DEFINED__
  84. #define __MIDL_user_allocate_free_DEFINED__
  85. void *__RPC_API MIDL_user_allocate(size_t);
  86. void __RPC_API MIDL_user_free(void *);
  87. #endif
  88. #define DMSIMCONTACTVIEWEVENTS_OnReady 0xD0
  89. #define DMSIMCONTACTVIEWEVENTS_OnLogon 0xD1
  90. #define DMSIMCONTACTVIEWEVENTS_OnLogoff 0xD2
  91. #define DMSIMCONTACTVIEWEVENTS_OnLaunchMessageUI 0xD3
  92. #define DMSIMCONTACTVIEWEVENTS_OnMenuRequest 0xD6
  93. #define DMSIMCONTACTVIEWEVENTS_OnMenuSelect 0xD7
  94. #define DMSIMCONTACTVIEWEVENTS_OnAddResult 0xD8
  95. #define DMSIMCONTACTVIEWEVENTS_OnRemoveResult 0xD9
  96. #define DMSIMCONTACTVIEWEVENTS_OnSelect 0xDA
  97. #define DMSIMCONTACTVIEWEVENTS_OnShutdown 0xDB
  98. #define DMSIMCONTACTVIEWEVENTS_OnEMailContact 0xDC
  99. #define DMSIMCONTACTVIEWEVENTS_OnAddContactUI 0xDD
  100. #define DMSIMCONTACTVIEWEVENTS_OnLocalStateChange 0xDE
  101. #define DMSIMCONTACTVIEWEVENTS_OnExtentsChange 0xDF
  102. #define DMSIMMESSAGEVIEWEVENTS_OnReady 0xD0
  103. #define DMSIMMESSAGEVIEWEVENTS_OnLogon 0xD1
  104. #define DMSIMMESSAGEVIEWEVENTS_OnLogoff 0xD2
  105. #define DMSIMMESSAGEVIEWEVENTS_OnLaunchMessageUI 0xD3
  106. #define DMSIMMESSAGEVIEWEVENTS_OnNewMessage 0xD6
  107. #define DMSIMMESSAGEVIEWEVENTS_OnAddResult 0xD7
  108. #define DMSIMMESSAGEVIEWEVENTS_OnRemoveResult 0xD8
  109. #define DMSIMMESSAGEVIEWEVENTS_OnNewSession 0xD9
  110. #define DMSIMMESSAGEVIEWEVENTS_OnSessionEnd 0xDA
  111. #define DMSIMMESSAGEVIEWEVENTS_OnShutdown 0xDB
  112. #define DMSIMMESSAGEVIEWEVENTS_OnLocalStateChange 0xDC
  113. #define DMSIMCONTACTLISTEVENTS_OnReady 0xD0
  114. #define DMSIMCONTACTLISTEVENTS_OnLogon 0xD1
  115. #define DMSIMCONTACTLISTEVENTS_OnLogoff 0xD2
  116. #define DMSIMCONTACTLISTEVENTS_OnAddResult 0xD3
  117. #define DMSIMCONTACTLISTEVENTS_OnRemoveResult 0xD4
  118. #define DMSIMCONTACTLISTEVENTS_OnShutdown 0xD5
  119. #define DMSIMCONTACTLISTEVENTS_OnChangeContact 0xD6
  120. #define DMSIMCONTACTLISTEVENTS_OnLocalStateChange 0xD7
  121. extern RPC_IF_HANDLE __MIDL_itf_msimcntl_0000_v0_0_c_ifspec;
  122. extern RPC_IF_HANDLE __MIDL_itf_msimcntl_0000_v0_0_s_ifspec;
  123. #ifndef __MSIMCNTLLib_LIBRARY_DEFINED__
  124. #define __MSIMCNTLLib_LIBRARY_DEFINED__
  125. typedef enum __MIDL___MIDL_itf_msimcntl_0000_0001 {
  126. MSIM_PROVIDER_FIRST = 0,MSIM_PROVIDER_ANY = 0,MSIM_PROVIDER_EXCHANGE_HOST = 1,MSIM_PROVIDER_LAST = 1,MSIM_PROVIDER_NONE = 0xffff
  127. } MSIM_PROVIDER;
  128. typedef enum __MIDL___MIDL_itf_msimcntl_0000_0002 {
  129. MSIM_MSG_UI_SESSION = 0,MSIM_MSG_UI_NETMEETING = 1
  130. } MSIM_MSG_UI;
  131. EXTERN_C const IID LIBID_MSIMCNTLLib;
  132. #ifndef ___IUseIMBase_INTERFACE_DEFINED__
  133. #define ___IUseIMBase_INTERFACE_DEFINED__
  134. EXTERN_C const IID IID__IUseIMBase;
  135. #if defined(__cplusplus) && !defined(CINTERFACE)
  136. struct _IUseIMBase : public IDispatch {
  137. public:
  138. virtual HRESULT WINAPI SetService(IDispatch *pService,IDispatch *pApp = 0) = 0;
  139. virtual HRESULT WINAPI get_Service(short *pVal) = 0;
  140. virtual HRESULT WINAPI put_Service(short newVal) = 0;
  141. virtual HRESULT WINAPI get_HasService(VARIANT_BOOL *pVal) = 0;
  142. virtual HRESULT WINAPI get_AutoLogon(VARIANT_BOOL *pVal) = 0;
  143. virtual HRESULT WINAPI put_AutoLogon(VARIANT_BOOL newVal) = 0;
  144. virtual HRESULT WINAPI get_LoggedOn(VARIANT_BOOL *pVal) = 0;
  145. virtual HRESULT WINAPI Logon(BSTR bstrAddress = L"",BSTR bstrName = L"",BSTR bstrPassword = L"",BSTR bstrDomain = L"") = 0;
  146. virtual HRESULT WINAPI Logoff(void) = 0;
  147. virtual HRESULT WINAPI GetLocalState(VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData) = 0;
  148. virtual HRESULT WINAPI SetLocalState(__LONG32 lState,VARIANT varDescription,VARIANT varData) = 0;
  149. };
  150. #else
  151. typedef struct _IUseIMBaseVtbl {
  152. BEGIN_INTERFACE
  153. HRESULT (WINAPI *QueryInterface)(_IUseIMBase *This,REFIID riid,void **ppvObject);
  154. ULONG (WINAPI *AddRef)(_IUseIMBase *This);
  155. ULONG (WINAPI *Release)(_IUseIMBase *This);
  156. HRESULT (WINAPI *GetTypeInfoCount)(_IUseIMBase *This,UINT *pctinfo);
  157. HRESULT (WINAPI *GetTypeInfo)(_IUseIMBase *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  158. HRESULT (WINAPI *GetIDsOfNames)(_IUseIMBase *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  159. HRESULT (WINAPI *Invoke)(_IUseIMBase *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  160. HRESULT (WINAPI *SetService)(_IUseIMBase *This,IDispatch *pService,IDispatch *pApp);
  161. HRESULT (WINAPI *get_Service)(_IUseIMBase *This,short *pVal);
  162. HRESULT (WINAPI *put_Service)(_IUseIMBase *This,short newVal);
  163. HRESULT (WINAPI *get_HasService)(_IUseIMBase *This,VARIANT_BOOL *pVal);
  164. HRESULT (WINAPI *get_AutoLogon)(_IUseIMBase *This,VARIANT_BOOL *pVal);
  165. HRESULT (WINAPI *put_AutoLogon)(_IUseIMBase *This,VARIANT_BOOL newVal);
  166. HRESULT (WINAPI *get_LoggedOn)(_IUseIMBase *This,VARIANT_BOOL *pVal);
  167. HRESULT (WINAPI *Logon)(_IUseIMBase *This,BSTR bstrAddress,BSTR bstrName,BSTR bstrPassword,BSTR bstrDomain);
  168. HRESULT (WINAPI *Logoff)(_IUseIMBase *This);
  169. HRESULT (WINAPI *GetLocalState)(_IUseIMBase *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  170. HRESULT (WINAPI *SetLocalState)(_IUseIMBase *This,__LONG32 lState,VARIANT varDescription,VARIANT varData);
  171. END_INTERFACE
  172. } _IUseIMBaseVtbl;
  173. struct _IUseIMBase {
  174. CONST_VTBL struct _IUseIMBaseVtbl *lpVtbl;
  175. };
  176. #ifdef COBJMACROS
  177. #define _IUseIMBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  178. #define _IUseIMBase_AddRef(This) (This)->lpVtbl->AddRef(This)
  179. #define _IUseIMBase_Release(This) (This)->lpVtbl->Release(This)
  180. #define _IUseIMBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  181. #define _IUseIMBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  182. #define _IUseIMBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  183. #define _IUseIMBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  184. #define _IUseIMBase_SetService(This,pService,pApp) (This)->lpVtbl->SetService(This,pService,pApp)
  185. #define _IUseIMBase_get_Service(This,pVal) (This)->lpVtbl->get_Service(This,pVal)
  186. #define _IUseIMBase_put_Service(This,newVal) (This)->lpVtbl->put_Service(This,newVal)
  187. #define _IUseIMBase_get_HasService(This,pVal) (This)->lpVtbl->get_HasService(This,pVal)
  188. #define _IUseIMBase_get_AutoLogon(This,pVal) (This)->lpVtbl->get_AutoLogon(This,pVal)
  189. #define _IUseIMBase_put_AutoLogon(This,newVal) (This)->lpVtbl->put_AutoLogon(This,newVal)
  190. #define _IUseIMBase_get_LoggedOn(This,pVal) (This)->lpVtbl->get_LoggedOn(This,pVal)
  191. #define _IUseIMBase_Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain) (This)->lpVtbl->Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain)
  192. #define _IUseIMBase_Logoff(This) (This)->lpVtbl->Logoff(This)
  193. #define _IUseIMBase_GetLocalState(This,pvarState,pvarDescription,pvarData) (This)->lpVtbl->GetLocalState(This,pvarState,pvarDescription,pvarData)
  194. #define _IUseIMBase_SetLocalState(This,lState,varDescription,varData) (This)->lpVtbl->SetLocalState(This,lState,varDescription,varData)
  195. #endif
  196. #endif
  197. HRESULT WINAPI _IUseIMBase_SetService_Proxy(_IUseIMBase *This,IDispatch *pService,IDispatch *pApp);
  198. void __RPC_STUB _IUseIMBase_SetService_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  199. HRESULT WINAPI _IUseIMBase_get_Service_Proxy(_IUseIMBase *This,short *pVal);
  200. void __RPC_STUB _IUseIMBase_get_Service_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  201. HRESULT WINAPI _IUseIMBase_put_Service_Proxy(_IUseIMBase *This,short newVal);
  202. void __RPC_STUB _IUseIMBase_put_Service_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  203. HRESULT WINAPI _IUseIMBase_get_HasService_Proxy(_IUseIMBase *This,VARIANT_BOOL *pVal);
  204. void __RPC_STUB _IUseIMBase_get_HasService_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  205. HRESULT WINAPI _IUseIMBase_get_AutoLogon_Proxy(_IUseIMBase *This,VARIANT_BOOL *pVal);
  206. void __RPC_STUB _IUseIMBase_get_AutoLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  207. HRESULT WINAPI _IUseIMBase_put_AutoLogon_Proxy(_IUseIMBase *This,VARIANT_BOOL newVal);
  208. void __RPC_STUB _IUseIMBase_put_AutoLogon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  209. HRESULT WINAPI _IUseIMBase_get_LoggedOn_Proxy(_IUseIMBase *This,VARIANT_BOOL *pVal);
  210. void __RPC_STUB _IUseIMBase_get_LoggedOn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  211. HRESULT WINAPI _IUseIMBase_Logon_Proxy(_IUseIMBase *This,BSTR bstrAddress,BSTR bstrName,BSTR bstrPassword,BSTR bstrDomain);
  212. void __RPC_STUB _IUseIMBase_Logon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  213. HRESULT WINAPI _IUseIMBase_Logoff_Proxy(_IUseIMBase *This);
  214. void __RPC_STUB _IUseIMBase_Logoff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  215. HRESULT WINAPI _IUseIMBase_GetLocalState_Proxy(_IUseIMBase *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  216. void __RPC_STUB _IUseIMBase_GetLocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  217. HRESULT WINAPI _IUseIMBase_SetLocalState_Proxy(_IUseIMBase *This,__LONG32 lState,VARIANT varDescription,VARIANT varData);
  218. void __RPC_STUB _IUseIMBase_SetLocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  219. #endif
  220. #ifndef __IMSIMContactView_INTERFACE_DEFINED__
  221. #define __IMSIMContactView_INTERFACE_DEFINED__
  222. EXTERN_C const IID IID_IMSIMContactView;
  223. #if defined(__cplusplus) && !defined(CINTERFACE)
  224. struct IMSIMContactView : public _IUseIMBase {
  225. public:
  226. virtual HRESULT WINAPI Add(VARIANT vUser) = 0;
  227. virtual HRESULT WINAPI Remove(VARIANT vUser) = 0;
  228. virtual HRESULT WINAPI get_List(VARIANT *pvarList) = 0;
  229. virtual HRESULT WINAPI put_List(VARIANT varList) = 0;
  230. virtual HRESULT WINAPI AddMenuItem(BSTR bstrItem,__LONG32 lPosition,__LONG32 *plCommand) = 0;
  231. virtual HRESULT WINAPI get_SelectedMenuOptions(__LONG32 *pVal) = 0;
  232. virtual HRESULT WINAPI IMSelected(void) = 0;
  233. virtual HRESULT WINAPI EMailSelected(void) = 0;
  234. virtual HRESULT WINAPI InviteSelected(void) = 0;
  235. virtual HRESULT WINAPI BlockSelected(void) = 0;
  236. virtual HRESULT WINAPI UnblockSelected(void) = 0;
  237. virtual HRESULT WINAPI get_ExtentWidth(__LONG32 *pX) = 0;
  238. virtual HRESULT WINAPI get_ExtentHeight(__LONG32 *pY) = 0;
  239. virtual HRESULT WINAPI get_HotTracking(VARIANT_BOOL *pVal) = 0;
  240. virtual HRESULT WINAPI put_HotTracking(VARIANT_BOOL newVal) = 0;
  241. virtual HRESULT WINAPI get_AllowCollapse(VARIANT_BOOL *pVal) = 0;
  242. virtual HRESULT WINAPI put_AllowCollapse(VARIANT_BOOL newVal) = 0;
  243. virtual HRESULT WINAPI get_ShowSelectAlways(VARIANT_BOOL *pVal) = 0;
  244. virtual HRESULT WINAPI put_ShowSelectAlways(VARIANT_BOOL newVal) = 0;
  245. virtual HRESULT WINAPI get_OnlineRootLabel(BSTR *pbstrLabel) = 0;
  246. virtual HRESULT WINAPI put_OnlineRootLabel(BSTR bstrLabel) = 0;
  247. virtual HRESULT WINAPI get_OfflineRootLabel(BSTR *pbstrLabel) = 0;
  248. virtual HRESULT WINAPI put_OfflineRootLabel(BSTR bstrLabel) = 0;
  249. virtual HRESULT WINAPI get_Window(__LONG32 *pVal) = 0;
  250. virtual HRESULT WINAPI get_ShowLogonButton(VARIANT_BOOL *pVal) = 0;
  251. virtual HRESULT WINAPI put_ShowLogonButton(VARIANT_BOOL newVal) = 0;
  252. virtual HRESULT WINAPI get_OnlineCollapsed(VARIANT_BOOL *pVal) = 0;
  253. virtual HRESULT WINAPI put_OnlineCollapsed(VARIANT_BOOL newVal) = 0;
  254. virtual HRESULT WINAPI get_OfflineCollapsed(VARIANT_BOOL *pVal) = 0;
  255. virtual HRESULT WINAPI put_OfflineCollapsed(VARIANT_BOOL newVal) = 0;
  256. virtual HRESULT WINAPI get_Group(VARIANT_BOOL *pVal) = 0;
  257. virtual HRESULT WINAPI put_Group(VARIANT_BOOL newVal) = 0;
  258. virtual HRESULT WINAPI get_FilterOffline(VARIANT_BOOL *pVal) = 0;
  259. virtual HRESULT WINAPI put_FilterOffline(VARIANT_BOOL newVal) = 0;
  260. virtual HRESULT WINAPI get_ShowIcons(VARIANT_BOOL *pVal) = 0;
  261. virtual HRESULT WINAPI put_ShowIcons(VARIANT_BOOL newVal) = 0;
  262. virtual HRESULT WINAPI get_AcceptMessages(VARIANT_BOOL *pVal) = 0;
  263. virtual HRESULT WINAPI put_AcceptMessages(VARIANT_BOOL newVal) = 0;
  264. };
  265. #else
  266. typedef struct IMSIMContactViewVtbl {
  267. BEGIN_INTERFACE
  268. HRESULT (WINAPI *QueryInterface)(IMSIMContactView *This,REFIID riid,void **ppvObject);
  269. ULONG (WINAPI *AddRef)(IMSIMContactView *This);
  270. ULONG (WINAPI *Release)(IMSIMContactView *This);
  271. HRESULT (WINAPI *GetTypeInfoCount)(IMSIMContactView *This,UINT *pctinfo);
  272. HRESULT (WINAPI *GetTypeInfo)(IMSIMContactView *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  273. HRESULT (WINAPI *GetIDsOfNames)(IMSIMContactView *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  274. HRESULT (WINAPI *Invoke)(IMSIMContactView *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  275. HRESULT (WINAPI *SetService)(IMSIMContactView *This,IDispatch *pService,IDispatch *pApp);
  276. HRESULT (WINAPI *get_Service)(IMSIMContactView *This,short *pVal);
  277. HRESULT (WINAPI *put_Service)(IMSIMContactView *This,short newVal);
  278. HRESULT (WINAPI *get_HasService)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  279. HRESULT (WINAPI *get_AutoLogon)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  280. HRESULT (WINAPI *put_AutoLogon)(IMSIMContactView *This,VARIANT_BOOL newVal);
  281. HRESULT (WINAPI *get_LoggedOn)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  282. HRESULT (WINAPI *Logon)(IMSIMContactView *This,BSTR bstrAddress,BSTR bstrName,BSTR bstrPassword,BSTR bstrDomain);
  283. HRESULT (WINAPI *Logoff)(IMSIMContactView *This);
  284. HRESULT (WINAPI *GetLocalState)(IMSIMContactView *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  285. HRESULT (WINAPI *SetLocalState)(IMSIMContactView *This,__LONG32 lState,VARIANT varDescription,VARIANT varData);
  286. HRESULT (WINAPI *Add)(IMSIMContactView *This,VARIANT vUser);
  287. HRESULT (WINAPI *Remove)(IMSIMContactView *This,VARIANT vUser);
  288. HRESULT (WINAPI *get_List)(IMSIMContactView *This,VARIANT *pvarList);
  289. HRESULT (WINAPI *put_List)(IMSIMContactView *This,VARIANT varList);
  290. HRESULT (WINAPI *AddMenuItem)(IMSIMContactView *This,BSTR bstrItem,__LONG32 lPosition,__LONG32 *plCommand);
  291. HRESULT (WINAPI *get_SelectedMenuOptions)(IMSIMContactView *This,__LONG32 *pVal);
  292. HRESULT (WINAPI *IMSelected)(IMSIMContactView *This);
  293. HRESULT (WINAPI *EMailSelected)(IMSIMContactView *This);
  294. HRESULT (WINAPI *InviteSelected)(IMSIMContactView *This);
  295. HRESULT (WINAPI *BlockSelected)(IMSIMContactView *This);
  296. HRESULT (WINAPI *UnblockSelected)(IMSIMContactView *This);
  297. HRESULT (WINAPI *get_ExtentWidth)(IMSIMContactView *This,__LONG32 *pX);
  298. HRESULT (WINAPI *get_ExtentHeight)(IMSIMContactView *This,__LONG32 *pY);
  299. HRESULT (WINAPI *get_HotTracking)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  300. HRESULT (WINAPI *put_HotTracking)(IMSIMContactView *This,VARIANT_BOOL newVal);
  301. HRESULT (WINAPI *get_AllowCollapse)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  302. HRESULT (WINAPI *put_AllowCollapse)(IMSIMContactView *This,VARIANT_BOOL newVal);
  303. HRESULT (WINAPI *get_ShowSelectAlways)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  304. HRESULT (WINAPI *put_ShowSelectAlways)(IMSIMContactView *This,VARIANT_BOOL newVal);
  305. HRESULT (WINAPI *get_OnlineRootLabel)(IMSIMContactView *This,BSTR *pbstrLabel);
  306. HRESULT (WINAPI *put_OnlineRootLabel)(IMSIMContactView *This,BSTR bstrLabel);
  307. HRESULT (WINAPI *get_OfflineRootLabel)(IMSIMContactView *This,BSTR *pbstrLabel);
  308. HRESULT (WINAPI *put_OfflineRootLabel)(IMSIMContactView *This,BSTR bstrLabel);
  309. HRESULT (WINAPI *get_Window)(IMSIMContactView *This,__LONG32 *pVal);
  310. HRESULT (WINAPI *get_ShowLogonButton)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  311. HRESULT (WINAPI *put_ShowLogonButton)(IMSIMContactView *This,VARIANT_BOOL newVal);
  312. HRESULT (WINAPI *get_OnlineCollapsed)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  313. HRESULT (WINAPI *put_OnlineCollapsed)(IMSIMContactView *This,VARIANT_BOOL newVal);
  314. HRESULT (WINAPI *get_OfflineCollapsed)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  315. HRESULT (WINAPI *put_OfflineCollapsed)(IMSIMContactView *This,VARIANT_BOOL newVal);
  316. HRESULT (WINAPI *get_Group)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  317. HRESULT (WINAPI *put_Group)(IMSIMContactView *This,VARIANT_BOOL newVal);
  318. HRESULT (WINAPI *get_FilterOffline)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  319. HRESULT (WINAPI *put_FilterOffline)(IMSIMContactView *This,VARIANT_BOOL newVal);
  320. HRESULT (WINAPI *get_ShowIcons)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  321. HRESULT (WINAPI *put_ShowIcons)(IMSIMContactView *This,VARIANT_BOOL newVal);
  322. HRESULT (WINAPI *get_AcceptMessages)(IMSIMContactView *This,VARIANT_BOOL *pVal);
  323. HRESULT (WINAPI *put_AcceptMessages)(IMSIMContactView *This,VARIANT_BOOL newVal);
  324. END_INTERFACE
  325. } IMSIMContactViewVtbl;
  326. struct IMSIMContactView {
  327. CONST_VTBL struct IMSIMContactViewVtbl *lpVtbl;
  328. };
  329. #ifdef COBJMACROS
  330. #define IMSIMContactView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  331. #define IMSIMContactView_AddRef(This) (This)->lpVtbl->AddRef(This)
  332. #define IMSIMContactView_Release(This) (This)->lpVtbl->Release(This)
  333. #define IMSIMContactView_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  334. #define IMSIMContactView_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  335. #define IMSIMContactView_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  336. #define IMSIMContactView_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  337. #define IMSIMContactView_SetService(This,pService,pApp) (This)->lpVtbl->SetService(This,pService,pApp)
  338. #define IMSIMContactView_get_Service(This,pVal) (This)->lpVtbl->get_Service(This,pVal)
  339. #define IMSIMContactView_put_Service(This,newVal) (This)->lpVtbl->put_Service(This,newVal)
  340. #define IMSIMContactView_get_HasService(This,pVal) (This)->lpVtbl->get_HasService(This,pVal)
  341. #define IMSIMContactView_get_AutoLogon(This,pVal) (This)->lpVtbl->get_AutoLogon(This,pVal)
  342. #define IMSIMContactView_put_AutoLogon(This,newVal) (This)->lpVtbl->put_AutoLogon(This,newVal)
  343. #define IMSIMContactView_get_LoggedOn(This,pVal) (This)->lpVtbl->get_LoggedOn(This,pVal)
  344. #define IMSIMContactView_Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain) (This)->lpVtbl->Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain)
  345. #define IMSIMContactView_Logoff(This) (This)->lpVtbl->Logoff(This)
  346. #define IMSIMContactView_GetLocalState(This,pvarState,pvarDescription,pvarData) (This)->lpVtbl->GetLocalState(This,pvarState,pvarDescription,pvarData)
  347. #define IMSIMContactView_SetLocalState(This,lState,varDescription,varData) (This)->lpVtbl->SetLocalState(This,lState,varDescription,varData)
  348. #define IMSIMContactView_Add(This,vUser) (This)->lpVtbl->Add(This,vUser)
  349. #define IMSIMContactView_Remove(This,vUser) (This)->lpVtbl->Remove(This,vUser)
  350. #define IMSIMContactView_get_List(This,pvarList) (This)->lpVtbl->get_List(This,pvarList)
  351. #define IMSIMContactView_put_List(This,varList) (This)->lpVtbl->put_List(This,varList)
  352. #define IMSIMContactView_AddMenuItem(This,bstrItem,lPosition,plCommand) (This)->lpVtbl->AddMenuItem(This,bstrItem,lPosition,plCommand)
  353. #define IMSIMContactView_get_SelectedMenuOptions(This,pVal) (This)->lpVtbl->get_SelectedMenuOptions(This,pVal)
  354. #define IMSIMContactView_IMSelected(This) (This)->lpVtbl->IMSelected(This)
  355. #define IMSIMContactView_EMailSelected(This) (This)->lpVtbl->EMailSelected(This)
  356. #define IMSIMContactView_InviteSelected(This) (This)->lpVtbl->InviteSelected(This)
  357. #define IMSIMContactView_BlockSelected(This) (This)->lpVtbl->BlockSelected(This)
  358. #define IMSIMContactView_UnblockSelected(This) (This)->lpVtbl->UnblockSelected(This)
  359. #define IMSIMContactView_get_ExtentWidth(This,pX) (This)->lpVtbl->get_ExtentWidth(This,pX)
  360. #define IMSIMContactView_get_ExtentHeight(This,pY) (This)->lpVtbl->get_ExtentHeight(This,pY)
  361. #define IMSIMContactView_get_HotTracking(This,pVal) (This)->lpVtbl->get_HotTracking(This,pVal)
  362. #define IMSIMContactView_put_HotTracking(This,newVal) (This)->lpVtbl->put_HotTracking(This,newVal)
  363. #define IMSIMContactView_get_AllowCollapse(This,pVal) (This)->lpVtbl->get_AllowCollapse(This,pVal)
  364. #define IMSIMContactView_put_AllowCollapse(This,newVal) (This)->lpVtbl->put_AllowCollapse(This,newVal)
  365. #define IMSIMContactView_get_ShowSelectAlways(This,pVal) (This)->lpVtbl->get_ShowSelectAlways(This,pVal)
  366. #define IMSIMContactView_put_ShowSelectAlways(This,newVal) (This)->lpVtbl->put_ShowSelectAlways(This,newVal)
  367. #define IMSIMContactView_get_OnlineRootLabel(This,pbstrLabel) (This)->lpVtbl->get_OnlineRootLabel(This,pbstrLabel)
  368. #define IMSIMContactView_put_OnlineRootLabel(This,bstrLabel) (This)->lpVtbl->put_OnlineRootLabel(This,bstrLabel)
  369. #define IMSIMContactView_get_OfflineRootLabel(This,pbstrLabel) (This)->lpVtbl->get_OfflineRootLabel(This,pbstrLabel)
  370. #define IMSIMContactView_put_OfflineRootLabel(This,bstrLabel) (This)->lpVtbl->put_OfflineRootLabel(This,bstrLabel)
  371. #define IMSIMContactView_get_Window(This,pVal) (This)->lpVtbl->get_Window(This,pVal)
  372. #define IMSIMContactView_get_ShowLogonButton(This,pVal) (This)->lpVtbl->get_ShowLogonButton(This,pVal)
  373. #define IMSIMContactView_put_ShowLogonButton(This,newVal) (This)->lpVtbl->put_ShowLogonButton(This,newVal)
  374. #define IMSIMContactView_get_OnlineCollapsed(This,pVal) (This)->lpVtbl->get_OnlineCollapsed(This,pVal)
  375. #define IMSIMContactView_put_OnlineCollapsed(This,newVal) (This)->lpVtbl->put_OnlineCollapsed(This,newVal)
  376. #define IMSIMContactView_get_OfflineCollapsed(This,pVal) (This)->lpVtbl->get_OfflineCollapsed(This,pVal)
  377. #define IMSIMContactView_put_OfflineCollapsed(This,newVal) (This)->lpVtbl->put_OfflineCollapsed(This,newVal)
  378. #define IMSIMContactView_get_Group(This,pVal) (This)->lpVtbl->get_Group(This,pVal)
  379. #define IMSIMContactView_put_Group(This,newVal) (This)->lpVtbl->put_Group(This,newVal)
  380. #define IMSIMContactView_get_FilterOffline(This,pVal) (This)->lpVtbl->get_FilterOffline(This,pVal)
  381. #define IMSIMContactView_put_FilterOffline(This,newVal) (This)->lpVtbl->put_FilterOffline(This,newVal)
  382. #define IMSIMContactView_get_ShowIcons(This,pVal) (This)->lpVtbl->get_ShowIcons(This,pVal)
  383. #define IMSIMContactView_put_ShowIcons(This,newVal) (This)->lpVtbl->put_ShowIcons(This,newVal)
  384. #define IMSIMContactView_get_AcceptMessages(This,pVal) (This)->lpVtbl->get_AcceptMessages(This,pVal)
  385. #define IMSIMContactView_put_AcceptMessages(This,newVal) (This)->lpVtbl->put_AcceptMessages(This,newVal)
  386. #endif
  387. #endif
  388. HRESULT WINAPI IMSIMContactView_Add_Proxy(IMSIMContactView *This,VARIANT vUser);
  389. void __RPC_STUB IMSIMContactView_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  390. HRESULT WINAPI IMSIMContactView_Remove_Proxy(IMSIMContactView *This,VARIANT vUser);
  391. void __RPC_STUB IMSIMContactView_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  392. HRESULT WINAPI IMSIMContactView_get_List_Proxy(IMSIMContactView *This,VARIANT *pvarList);
  393. void __RPC_STUB IMSIMContactView_get_List_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  394. HRESULT WINAPI IMSIMContactView_put_List_Proxy(IMSIMContactView *This,VARIANT varList);
  395. void __RPC_STUB IMSIMContactView_put_List_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  396. HRESULT WINAPI IMSIMContactView_AddMenuItem_Proxy(IMSIMContactView *This,BSTR bstrItem,__LONG32 lPosition,__LONG32 *plCommand);
  397. void __RPC_STUB IMSIMContactView_AddMenuItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  398. HRESULT WINAPI IMSIMContactView_get_SelectedMenuOptions_Proxy(IMSIMContactView *This,__LONG32 *pVal);
  399. void __RPC_STUB IMSIMContactView_get_SelectedMenuOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  400. HRESULT WINAPI IMSIMContactView_IMSelected_Proxy(IMSIMContactView *This);
  401. void __RPC_STUB IMSIMContactView_IMSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  402. HRESULT WINAPI IMSIMContactView_EMailSelected_Proxy(IMSIMContactView *This);
  403. void __RPC_STUB IMSIMContactView_EMailSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  404. HRESULT WINAPI IMSIMContactView_InviteSelected_Proxy(IMSIMContactView *This);
  405. void __RPC_STUB IMSIMContactView_InviteSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  406. HRESULT WINAPI IMSIMContactView_BlockSelected_Proxy(IMSIMContactView *This);
  407. void __RPC_STUB IMSIMContactView_BlockSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  408. HRESULT WINAPI IMSIMContactView_UnblockSelected_Proxy(IMSIMContactView *This);
  409. void __RPC_STUB IMSIMContactView_UnblockSelected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  410. HRESULT WINAPI IMSIMContactView_get_ExtentWidth_Proxy(IMSIMContactView *This,__LONG32 *pX);
  411. void __RPC_STUB IMSIMContactView_get_ExtentWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  412. HRESULT WINAPI IMSIMContactView_get_ExtentHeight_Proxy(IMSIMContactView *This,__LONG32 *pY);
  413. void __RPC_STUB IMSIMContactView_get_ExtentHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  414. HRESULT WINAPI IMSIMContactView_get_HotTracking_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  415. void __RPC_STUB IMSIMContactView_get_HotTracking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  416. HRESULT WINAPI IMSIMContactView_put_HotTracking_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  417. void __RPC_STUB IMSIMContactView_put_HotTracking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  418. HRESULT WINAPI IMSIMContactView_get_AllowCollapse_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  419. void __RPC_STUB IMSIMContactView_get_AllowCollapse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  420. HRESULT WINAPI IMSIMContactView_put_AllowCollapse_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  421. void __RPC_STUB IMSIMContactView_put_AllowCollapse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  422. HRESULT WINAPI IMSIMContactView_get_ShowSelectAlways_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  423. void __RPC_STUB IMSIMContactView_get_ShowSelectAlways_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  424. HRESULT WINAPI IMSIMContactView_put_ShowSelectAlways_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  425. void __RPC_STUB IMSIMContactView_put_ShowSelectAlways_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  426. HRESULT WINAPI IMSIMContactView_get_OnlineRootLabel_Proxy(IMSIMContactView *This,BSTR *pbstrLabel);
  427. void __RPC_STUB IMSIMContactView_get_OnlineRootLabel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  428. HRESULT WINAPI IMSIMContactView_put_OnlineRootLabel_Proxy(IMSIMContactView *This,BSTR bstrLabel);
  429. void __RPC_STUB IMSIMContactView_put_OnlineRootLabel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  430. HRESULT WINAPI IMSIMContactView_get_OfflineRootLabel_Proxy(IMSIMContactView *This,BSTR *pbstrLabel);
  431. void __RPC_STUB IMSIMContactView_get_OfflineRootLabel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  432. HRESULT WINAPI IMSIMContactView_put_OfflineRootLabel_Proxy(IMSIMContactView *This,BSTR bstrLabel);
  433. void __RPC_STUB IMSIMContactView_put_OfflineRootLabel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  434. HRESULT WINAPI IMSIMContactView_get_Window_Proxy(IMSIMContactView *This,__LONG32 *pVal);
  435. void __RPC_STUB IMSIMContactView_get_Window_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  436. HRESULT WINAPI IMSIMContactView_get_ShowLogonButton_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  437. void __RPC_STUB IMSIMContactView_get_ShowLogonButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  438. HRESULT WINAPI IMSIMContactView_put_ShowLogonButton_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  439. void __RPC_STUB IMSIMContactView_put_ShowLogonButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  440. HRESULT WINAPI IMSIMContactView_get_OnlineCollapsed_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  441. void __RPC_STUB IMSIMContactView_get_OnlineCollapsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  442. HRESULT WINAPI IMSIMContactView_put_OnlineCollapsed_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  443. void __RPC_STUB IMSIMContactView_put_OnlineCollapsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  444. HRESULT WINAPI IMSIMContactView_get_OfflineCollapsed_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  445. void __RPC_STUB IMSIMContactView_get_OfflineCollapsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  446. HRESULT WINAPI IMSIMContactView_put_OfflineCollapsed_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  447. void __RPC_STUB IMSIMContactView_put_OfflineCollapsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  448. HRESULT WINAPI IMSIMContactView_get_Group_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  449. void __RPC_STUB IMSIMContactView_get_Group_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  450. HRESULT WINAPI IMSIMContactView_put_Group_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  451. void __RPC_STUB IMSIMContactView_put_Group_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  452. HRESULT WINAPI IMSIMContactView_get_FilterOffline_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  453. void __RPC_STUB IMSIMContactView_get_FilterOffline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  454. HRESULT WINAPI IMSIMContactView_put_FilterOffline_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  455. void __RPC_STUB IMSIMContactView_put_FilterOffline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  456. HRESULT WINAPI IMSIMContactView_get_ShowIcons_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  457. void __RPC_STUB IMSIMContactView_get_ShowIcons_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  458. HRESULT WINAPI IMSIMContactView_put_ShowIcons_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  459. void __RPC_STUB IMSIMContactView_put_ShowIcons_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  460. HRESULT WINAPI IMSIMContactView_get_AcceptMessages_Proxy(IMSIMContactView *This,VARIANT_BOOL *pVal);
  461. void __RPC_STUB IMSIMContactView_get_AcceptMessages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  462. HRESULT WINAPI IMSIMContactView_put_AcceptMessages_Proxy(IMSIMContactView *This,VARIANT_BOOL newVal);
  463. void __RPC_STUB IMSIMContactView_put_AcceptMessages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  464. #endif
  465. #ifndef __DMSIMContactViewEvents_DISPINTERFACE_DEFINED__
  466. #define __DMSIMContactViewEvents_DISPINTERFACE_DEFINED__
  467. EXTERN_C const IID DIID_DMSIMContactViewEvents;
  468. #if defined(__cplusplus) && !defined(CINTERFACE)
  469. struct DMSIMContactViewEvents : public IDispatch {
  470. };
  471. #else
  472. typedef struct DMSIMContactViewEventsVtbl {
  473. BEGIN_INTERFACE
  474. HRESULT (WINAPI *QueryInterface)(DMSIMContactViewEvents *This,REFIID riid,void **ppvObject);
  475. ULONG (WINAPI *AddRef)(DMSIMContactViewEvents *This);
  476. ULONG (WINAPI *Release)(DMSIMContactViewEvents *This);
  477. HRESULT (WINAPI *GetTypeInfoCount)(DMSIMContactViewEvents *This,UINT *pctinfo);
  478. HRESULT (WINAPI *GetTypeInfo)(DMSIMContactViewEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  479. HRESULT (WINAPI *GetIDsOfNames)(DMSIMContactViewEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  480. HRESULT (WINAPI *Invoke)(DMSIMContactViewEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  481. END_INTERFACE
  482. } DMSIMContactViewEventsVtbl;
  483. struct DMSIMContactViewEvents {
  484. CONST_VTBL struct DMSIMContactViewEventsVtbl *lpVtbl;
  485. };
  486. #ifdef COBJMACROS
  487. #define DMSIMContactViewEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  488. #define DMSIMContactViewEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  489. #define DMSIMContactViewEvents_Release(This) (This)->lpVtbl->Release(This)
  490. #define DMSIMContactViewEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  491. #define DMSIMContactViewEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  492. #define DMSIMContactViewEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  493. #define DMSIMContactViewEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  494. #endif
  495. #endif
  496. #endif
  497. #ifndef __IMSIMMessageView_INTERFACE_DEFINED__
  498. #define __IMSIMMessageView_INTERFACE_DEFINED__
  499. EXTERN_C const IID IID_IMSIMMessageView;
  500. #if defined(__cplusplus) && !defined(CINTERFACE)
  501. struct IMSIMMessageView : public _IUseIMBase {
  502. public:
  503. virtual HRESULT WINAPI get_Window(__LONG32 *phwnd) = 0;
  504. virtual HRESULT WINAPI put_Appearance(short appearance) = 0;
  505. virtual HRESULT WINAPI get_Appearance(short *pappearance) = 0;
  506. virtual HRESULT WINAPI get_ShowParticipants(VARIANT_BOOL *pVal) = 0;
  507. virtual HRESULT WINAPI put_ShowParticipants(VARIANT_BOOL newVal) = 0;
  508. virtual HRESULT WINAPI get_ShowMembers(VARIANT_BOOL *pVal) = 0;
  509. virtual HRESULT WINAPI put_ShowMembers(VARIANT_BOOL newVal) = 0;
  510. virtual HRESULT WINAPI get_ShowAvailable(VARIANT_BOOL *pVal) = 0;
  511. virtual HRESULT WINAPI put_ShowAvailable(VARIANT_BOOL newVal) = 0;
  512. virtual HRESULT WINAPI get_AvailableList(VARIANT *pVal) = 0;
  513. virtual HRESULT WINAPI put_AvailableList(VARIANT newVal) = 0;
  514. virtual HRESULT WINAPI get_ShowMessageHistory(VARIANT_BOOL *pVal) = 0;
  515. virtual HRESULT WINAPI put_ShowMessageHistory(VARIANT_BOOL newVal) = 0;
  516. virtual HRESULT WINAPI get_ShowEdit(VARIANT_BOOL *pVal) = 0;
  517. virtual HRESULT WINAPI put_ShowEdit(VARIANT_BOOL newVal) = 0;
  518. virtual HRESULT WINAPI get_HideStatus(VARIANT_BOOL *pVal) = 0;
  519. virtual HRESULT WINAPI put_HideStatus(VARIANT_BOOL newVal) = 0;
  520. virtual HRESULT WINAPI get_MessageHistory(BSTR *pVal) = 0;
  521. virtual HRESULT WINAPI get_StatusText(BSTR *pVal) = 0;
  522. virtual HRESULT WINAPI put_StatusText(BSTR newVal) = 0;
  523. virtual HRESULT WINAPI get_MessageText(BSTR *pVal) = 0;
  524. virtual HRESULT WINAPI put_MessageText(BSTR newVal) = 0;
  525. virtual HRESULT WINAPI Invite(VARIANT varContact) = 0;
  526. virtual HRESULT WINAPI EndSession(void) = 0;
  527. virtual HRESULT WINAPI AddToAvailable(VARIANT varContact) = 0;
  528. virtual HRESULT WINAPI RemoveFromAvailable(VARIANT varContact) = 0;
  529. virtual HRESULT WINAPI InviteNetMeeting(void) = 0;
  530. virtual HRESULT WINAPI NetMeetingInvite(IDispatch *pIMSession,IDispatch *pContact,__LONG32 lInviteCookie) = 0;
  531. virtual HRESULT WINAPI get_SourceURL(BSTR *pVal) = 0;
  532. virtual HRESULT WINAPI put_SourceURL(BSTR newVal) = 0;
  533. virtual HRESULT WINAPI get_InSession(VARIANT_BOOL *pVal) = 0;
  534. };
  535. #else
  536. typedef struct IMSIMMessageViewVtbl {
  537. BEGIN_INTERFACE
  538. HRESULT (WINAPI *QueryInterface)(IMSIMMessageView *This,REFIID riid,void **ppvObject);
  539. ULONG (WINAPI *AddRef)(IMSIMMessageView *This);
  540. ULONG (WINAPI *Release)(IMSIMMessageView *This);
  541. HRESULT (WINAPI *GetTypeInfoCount)(IMSIMMessageView *This,UINT *pctinfo);
  542. HRESULT (WINAPI *GetTypeInfo)(IMSIMMessageView *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  543. HRESULT (WINAPI *GetIDsOfNames)(IMSIMMessageView *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  544. HRESULT (WINAPI *Invoke)(IMSIMMessageView *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  545. HRESULT (WINAPI *SetService)(IMSIMMessageView *This,IDispatch *pService,IDispatch *pApp);
  546. HRESULT (WINAPI *get_Service)(IMSIMMessageView *This,short *pVal);
  547. HRESULT (WINAPI *put_Service)(IMSIMMessageView *This,short newVal);
  548. HRESULT (WINAPI *get_HasService)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  549. HRESULT (WINAPI *get_AutoLogon)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  550. HRESULT (WINAPI *put_AutoLogon)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  551. HRESULT (WINAPI *get_LoggedOn)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  552. HRESULT (WINAPI *Logon)(IMSIMMessageView *This,BSTR bstrAddress,BSTR bstrName,BSTR bstrPassword,BSTR bstrDomain);
  553. HRESULT (WINAPI *Logoff)(IMSIMMessageView *This);
  554. HRESULT (WINAPI *GetLocalState)(IMSIMMessageView *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  555. HRESULT (WINAPI *SetLocalState)(IMSIMMessageView *This,__LONG32 lState,VARIANT varDescription,VARIANT varData);
  556. HRESULT (WINAPI *get_Window)(IMSIMMessageView *This,__LONG32 *phwnd);
  557. HRESULT (WINAPI *put_Appearance)(IMSIMMessageView *This,short appearance);
  558. HRESULT (WINAPI *get_Appearance)(IMSIMMessageView *This,short *pappearance);
  559. HRESULT (WINAPI *get_ShowParticipants)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  560. HRESULT (WINAPI *put_ShowParticipants)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  561. HRESULT (WINAPI *get_ShowMembers)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  562. HRESULT (WINAPI *put_ShowMembers)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  563. HRESULT (WINAPI *get_ShowAvailable)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  564. HRESULT (WINAPI *put_ShowAvailable)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  565. HRESULT (WINAPI *get_AvailableList)(IMSIMMessageView *This,VARIANT *pVal);
  566. HRESULT (WINAPI *put_AvailableList)(IMSIMMessageView *This,VARIANT newVal);
  567. HRESULT (WINAPI *get_ShowMessageHistory)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  568. HRESULT (WINAPI *put_ShowMessageHistory)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  569. HRESULT (WINAPI *get_ShowEdit)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  570. HRESULT (WINAPI *put_ShowEdit)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  571. HRESULT (WINAPI *get_HideStatus)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  572. HRESULT (WINAPI *put_HideStatus)(IMSIMMessageView *This,VARIANT_BOOL newVal);
  573. HRESULT (WINAPI *get_MessageHistory)(IMSIMMessageView *This,BSTR *pVal);
  574. HRESULT (WINAPI *get_StatusText)(IMSIMMessageView *This,BSTR *pVal);
  575. HRESULT (WINAPI *put_StatusText)(IMSIMMessageView *This,BSTR newVal);
  576. HRESULT (WINAPI *get_MessageText)(IMSIMMessageView *This,BSTR *pVal);
  577. HRESULT (WINAPI *put_MessageText)(IMSIMMessageView *This,BSTR newVal);
  578. HRESULT (WINAPI *Invite)(IMSIMMessageView *This,VARIANT varContact);
  579. HRESULT (WINAPI *EndSession)(IMSIMMessageView *This);
  580. HRESULT (WINAPI *AddToAvailable)(IMSIMMessageView *This,VARIANT varContact);
  581. HRESULT (WINAPI *RemoveFromAvailable)(IMSIMMessageView *This,VARIANT varContact);
  582. HRESULT (WINAPI *InviteNetMeeting)(IMSIMMessageView *This);
  583. HRESULT (WINAPI *NetMeetingInvite)(IMSIMMessageView *This,IDispatch *pIMSession,IDispatch *pContact,__LONG32 lInviteCookie);
  584. HRESULT (WINAPI *get_SourceURL)(IMSIMMessageView *This,BSTR *pVal);
  585. HRESULT (WINAPI *put_SourceURL)(IMSIMMessageView *This,BSTR newVal);
  586. HRESULT (WINAPI *get_InSession)(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  587. END_INTERFACE
  588. } IMSIMMessageViewVtbl;
  589. struct IMSIMMessageView {
  590. CONST_VTBL struct IMSIMMessageViewVtbl *lpVtbl;
  591. };
  592. #ifdef COBJMACROS
  593. #define IMSIMMessageView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  594. #define IMSIMMessageView_AddRef(This) (This)->lpVtbl->AddRef(This)
  595. #define IMSIMMessageView_Release(This) (This)->lpVtbl->Release(This)
  596. #define IMSIMMessageView_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  597. #define IMSIMMessageView_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  598. #define IMSIMMessageView_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  599. #define IMSIMMessageView_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  600. #define IMSIMMessageView_SetService(This,pService,pApp) (This)->lpVtbl->SetService(This,pService,pApp)
  601. #define IMSIMMessageView_get_Service(This,pVal) (This)->lpVtbl->get_Service(This,pVal)
  602. #define IMSIMMessageView_put_Service(This,newVal) (This)->lpVtbl->put_Service(This,newVal)
  603. #define IMSIMMessageView_get_HasService(This,pVal) (This)->lpVtbl->get_HasService(This,pVal)
  604. #define IMSIMMessageView_get_AutoLogon(This,pVal) (This)->lpVtbl->get_AutoLogon(This,pVal)
  605. #define IMSIMMessageView_put_AutoLogon(This,newVal) (This)->lpVtbl->put_AutoLogon(This,newVal)
  606. #define IMSIMMessageView_get_LoggedOn(This,pVal) (This)->lpVtbl->get_LoggedOn(This,pVal)
  607. #define IMSIMMessageView_Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain) (This)->lpVtbl->Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain)
  608. #define IMSIMMessageView_Logoff(This) (This)->lpVtbl->Logoff(This)
  609. #define IMSIMMessageView_GetLocalState(This,pvarState,pvarDescription,pvarData) (This)->lpVtbl->GetLocalState(This,pvarState,pvarDescription,pvarData)
  610. #define IMSIMMessageView_SetLocalState(This,lState,varDescription,varData) (This)->lpVtbl->SetLocalState(This,lState,varDescription,varData)
  611. #define IMSIMMessageView_get_Window(This,phwnd) (This)->lpVtbl->get_Window(This,phwnd)
  612. #define IMSIMMessageView_put_Appearance(This,appearance) (This)->lpVtbl->put_Appearance(This,appearance)
  613. #define IMSIMMessageView_get_Appearance(This,pappearance) (This)->lpVtbl->get_Appearance(This,pappearance)
  614. #define IMSIMMessageView_get_ShowParticipants(This,pVal) (This)->lpVtbl->get_ShowParticipants(This,pVal)
  615. #define IMSIMMessageView_put_ShowParticipants(This,newVal) (This)->lpVtbl->put_ShowParticipants(This,newVal)
  616. #define IMSIMMessageView_get_ShowMembers(This,pVal) (This)->lpVtbl->get_ShowMembers(This,pVal)
  617. #define IMSIMMessageView_put_ShowMembers(This,newVal) (This)->lpVtbl->put_ShowMembers(This,newVal)
  618. #define IMSIMMessageView_get_ShowAvailable(This,pVal) (This)->lpVtbl->get_ShowAvailable(This,pVal)
  619. #define IMSIMMessageView_put_ShowAvailable(This,newVal) (This)->lpVtbl->put_ShowAvailable(This,newVal)
  620. #define IMSIMMessageView_get_AvailableList(This,pVal) (This)->lpVtbl->get_AvailableList(This,pVal)
  621. #define IMSIMMessageView_put_AvailableList(This,newVal) (This)->lpVtbl->put_AvailableList(This,newVal)
  622. #define IMSIMMessageView_get_ShowMessageHistory(This,pVal) (This)->lpVtbl->get_ShowMessageHistory(This,pVal)
  623. #define IMSIMMessageView_put_ShowMessageHistory(This,newVal) (This)->lpVtbl->put_ShowMessageHistory(This,newVal)
  624. #define IMSIMMessageView_get_ShowEdit(This,pVal) (This)->lpVtbl->get_ShowEdit(This,pVal)
  625. #define IMSIMMessageView_put_ShowEdit(This,newVal) (This)->lpVtbl->put_ShowEdit(This,newVal)
  626. #define IMSIMMessageView_get_HideStatus(This,pVal) (This)->lpVtbl->get_HideStatus(This,pVal)
  627. #define IMSIMMessageView_put_HideStatus(This,newVal) (This)->lpVtbl->put_HideStatus(This,newVal)
  628. #define IMSIMMessageView_get_MessageHistory(This,pVal) (This)->lpVtbl->get_MessageHistory(This,pVal)
  629. #define IMSIMMessageView_get_StatusText(This,pVal) (This)->lpVtbl->get_StatusText(This,pVal)
  630. #define IMSIMMessageView_put_StatusText(This,newVal) (This)->lpVtbl->put_StatusText(This,newVal)
  631. #define IMSIMMessageView_get_MessageText(This,pVal) (This)->lpVtbl->get_MessageText(This,pVal)
  632. #define IMSIMMessageView_put_MessageText(This,newVal) (This)->lpVtbl->put_MessageText(This,newVal)
  633. #define IMSIMMessageView_Invite(This,varContact) (This)->lpVtbl->Invite(This,varContact)
  634. #define IMSIMMessageView_EndSession(This) (This)->lpVtbl->EndSession(This)
  635. #define IMSIMMessageView_AddToAvailable(This,varContact) (This)->lpVtbl->AddToAvailable(This,varContact)
  636. #define IMSIMMessageView_RemoveFromAvailable(This,varContact) (This)->lpVtbl->RemoveFromAvailable(This,varContact)
  637. #define IMSIMMessageView_InviteNetMeeting(This) (This)->lpVtbl->InviteNetMeeting(This)
  638. #define IMSIMMessageView_NetMeetingInvite(This,pIMSession,pContact,lInviteCookie) (This)->lpVtbl->NetMeetingInvite(This,pIMSession,pContact,lInviteCookie)
  639. #define IMSIMMessageView_get_SourceURL(This,pVal) (This)->lpVtbl->get_SourceURL(This,pVal)
  640. #define IMSIMMessageView_put_SourceURL(This,newVal) (This)->lpVtbl->put_SourceURL(This,newVal)
  641. #define IMSIMMessageView_get_InSession(This,pVal) (This)->lpVtbl->get_InSession(This,pVal)
  642. #endif
  643. #endif
  644. HRESULT WINAPI IMSIMMessageView_get_Window_Proxy(IMSIMMessageView *This,__LONG32 *phwnd);
  645. void __RPC_STUB IMSIMMessageView_get_Window_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  646. HRESULT WINAPI IMSIMMessageView_put_Appearance_Proxy(IMSIMMessageView *This,short appearance);
  647. void __RPC_STUB IMSIMMessageView_put_Appearance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  648. HRESULT WINAPI IMSIMMessageView_get_Appearance_Proxy(IMSIMMessageView *This,short *pappearance);
  649. void __RPC_STUB IMSIMMessageView_get_Appearance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  650. HRESULT WINAPI IMSIMMessageView_get_ShowParticipants_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  651. void __RPC_STUB IMSIMMessageView_get_ShowParticipants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  652. HRESULT WINAPI IMSIMMessageView_put_ShowParticipants_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  653. void __RPC_STUB IMSIMMessageView_put_ShowParticipants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  654. HRESULT WINAPI IMSIMMessageView_get_ShowMembers_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  655. void __RPC_STUB IMSIMMessageView_get_ShowMembers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  656. HRESULT WINAPI IMSIMMessageView_put_ShowMembers_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  657. void __RPC_STUB IMSIMMessageView_put_ShowMembers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  658. HRESULT WINAPI IMSIMMessageView_get_ShowAvailable_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  659. void __RPC_STUB IMSIMMessageView_get_ShowAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  660. HRESULT WINAPI IMSIMMessageView_put_ShowAvailable_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  661. void __RPC_STUB IMSIMMessageView_put_ShowAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  662. HRESULT WINAPI IMSIMMessageView_get_AvailableList_Proxy(IMSIMMessageView *This,VARIANT *pVal);
  663. void __RPC_STUB IMSIMMessageView_get_AvailableList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  664. HRESULT WINAPI IMSIMMessageView_put_AvailableList_Proxy(IMSIMMessageView *This,VARIANT newVal);
  665. void __RPC_STUB IMSIMMessageView_put_AvailableList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  666. HRESULT WINAPI IMSIMMessageView_get_ShowMessageHistory_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  667. void __RPC_STUB IMSIMMessageView_get_ShowMessageHistory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  668. HRESULT WINAPI IMSIMMessageView_put_ShowMessageHistory_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  669. void __RPC_STUB IMSIMMessageView_put_ShowMessageHistory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  670. HRESULT WINAPI IMSIMMessageView_get_ShowEdit_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  671. void __RPC_STUB IMSIMMessageView_get_ShowEdit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  672. HRESULT WINAPI IMSIMMessageView_put_ShowEdit_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  673. void __RPC_STUB IMSIMMessageView_put_ShowEdit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  674. HRESULT WINAPI IMSIMMessageView_get_HideStatus_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  675. void __RPC_STUB IMSIMMessageView_get_HideStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  676. HRESULT WINAPI IMSIMMessageView_put_HideStatus_Proxy(IMSIMMessageView *This,VARIANT_BOOL newVal);
  677. void __RPC_STUB IMSIMMessageView_put_HideStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  678. HRESULT WINAPI IMSIMMessageView_get_MessageHistory_Proxy(IMSIMMessageView *This,BSTR *pVal);
  679. void __RPC_STUB IMSIMMessageView_get_MessageHistory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  680. HRESULT WINAPI IMSIMMessageView_get_StatusText_Proxy(IMSIMMessageView *This,BSTR *pVal);
  681. void __RPC_STUB IMSIMMessageView_get_StatusText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  682. HRESULT WINAPI IMSIMMessageView_put_StatusText_Proxy(IMSIMMessageView *This,BSTR newVal);
  683. void __RPC_STUB IMSIMMessageView_put_StatusText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  684. HRESULT WINAPI IMSIMMessageView_get_MessageText_Proxy(IMSIMMessageView *This,BSTR *pVal);
  685. void __RPC_STUB IMSIMMessageView_get_MessageText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  686. HRESULT WINAPI IMSIMMessageView_put_MessageText_Proxy(IMSIMMessageView *This,BSTR newVal);
  687. void __RPC_STUB IMSIMMessageView_put_MessageText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  688. HRESULT WINAPI IMSIMMessageView_Invite_Proxy(IMSIMMessageView *This,VARIANT varContact);
  689. void __RPC_STUB IMSIMMessageView_Invite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  690. HRESULT WINAPI IMSIMMessageView_EndSession_Proxy(IMSIMMessageView *This);
  691. void __RPC_STUB IMSIMMessageView_EndSession_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  692. HRESULT WINAPI IMSIMMessageView_AddToAvailable_Proxy(IMSIMMessageView *This,VARIANT varContact);
  693. void __RPC_STUB IMSIMMessageView_AddToAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  694. HRESULT WINAPI IMSIMMessageView_RemoveFromAvailable_Proxy(IMSIMMessageView *This,VARIANT varContact);
  695. void __RPC_STUB IMSIMMessageView_RemoveFromAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  696. HRESULT WINAPI IMSIMMessageView_InviteNetMeeting_Proxy(IMSIMMessageView *This);
  697. void __RPC_STUB IMSIMMessageView_InviteNetMeeting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  698. HRESULT WINAPI IMSIMMessageView_NetMeetingInvite_Proxy(IMSIMMessageView *This,IDispatch *pIMSession,IDispatch *pContact,__LONG32 lInviteCookie);
  699. void __RPC_STUB IMSIMMessageView_NetMeetingInvite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  700. HRESULT WINAPI IMSIMMessageView_get_SourceURL_Proxy(IMSIMMessageView *This,BSTR *pVal);
  701. void __RPC_STUB IMSIMMessageView_get_SourceURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  702. HRESULT WINAPI IMSIMMessageView_put_SourceURL_Proxy(IMSIMMessageView *This,BSTR newVal);
  703. void __RPC_STUB IMSIMMessageView_put_SourceURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  704. HRESULT WINAPI IMSIMMessageView_get_InSession_Proxy(IMSIMMessageView *This,VARIANT_BOOL *pVal);
  705. void __RPC_STUB IMSIMMessageView_get_InSession_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  706. #endif
  707. #ifndef __DMSIMMessageViewEvents_DISPINTERFACE_DEFINED__
  708. #define __DMSIMMessageViewEvents_DISPINTERFACE_DEFINED__
  709. EXTERN_C const IID DIID_DMSIMMessageViewEvents;
  710. #if defined(__cplusplus) && !defined(CINTERFACE)
  711. struct DMSIMMessageViewEvents : public IDispatch {
  712. };
  713. #else
  714. typedef struct DMSIMMessageViewEventsVtbl {
  715. BEGIN_INTERFACE
  716. HRESULT (WINAPI *QueryInterface)(DMSIMMessageViewEvents *This,REFIID riid,void **ppvObject);
  717. ULONG (WINAPI *AddRef)(DMSIMMessageViewEvents *This);
  718. ULONG (WINAPI *Release)(DMSIMMessageViewEvents *This);
  719. HRESULT (WINAPI *GetTypeInfoCount)(DMSIMMessageViewEvents *This,UINT *pctinfo);
  720. HRESULT (WINAPI *GetTypeInfo)(DMSIMMessageViewEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  721. HRESULT (WINAPI *GetIDsOfNames)(DMSIMMessageViewEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  722. HRESULT (WINAPI *Invoke)(DMSIMMessageViewEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  723. END_INTERFACE
  724. } DMSIMMessageViewEventsVtbl;
  725. struct DMSIMMessageViewEvents {
  726. CONST_VTBL struct DMSIMMessageViewEventsVtbl *lpVtbl;
  727. };
  728. #ifdef COBJMACROS
  729. #define DMSIMMessageViewEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  730. #define DMSIMMessageViewEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  731. #define DMSIMMessageViewEvents_Release(This) (This)->lpVtbl->Release(This)
  732. #define DMSIMMessageViewEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  733. #define DMSIMMessageViewEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  734. #define DMSIMMessageViewEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  735. #define DMSIMMessageViewEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  736. #endif
  737. #endif
  738. #endif
  739. EXTERN_C const CLSID CLSID_MSIMContactView;
  740. #ifdef __cplusplus
  741. class MSIMContactView;
  742. #endif
  743. EXTERN_C const CLSID CLSID_MSIMMessageView;
  744. #ifdef __cplusplus
  745. class MSIMMessageView;
  746. #endif
  747. #ifndef __IIMSafeContact_INTERFACE_DEFINED__
  748. #define __IIMSafeContact_INTERFACE_DEFINED__
  749. EXTERN_C const IID IID_IIMSafeContact;
  750. #if defined(__cplusplus) && !defined(CINTERFACE)
  751. struct IIMSafeContact : public IDispatch {
  752. public:
  753. virtual HRESULT WINAPI get_LogonName(BSTR *pbstrLogonName) = 0;
  754. virtual HRESULT WINAPI get_FriendlyName(BSTR *pbstrFriendlyName) = 0;
  755. virtual HRESULT WINAPI get_EmailAddress(BSTR *pbstrEmailAddress) = 0;
  756. virtual HRESULT WINAPI get_State(__LONG32 *plState) = 0;
  757. virtual HRESULT WINAPI _SetBaseContact(IDispatch *pUnk) = 0;
  758. virtual HRESULT WINAPI LaunchInstantMessage(void) = 0;
  759. virtual HRESULT WINAPI LaunchEmail(void) = 0;
  760. virtual HRESULT WINAPI LaunchNetMeeting(void) = 0;
  761. };
  762. #else
  763. typedef struct IIMSafeContactVtbl {
  764. BEGIN_INTERFACE
  765. HRESULT (WINAPI *QueryInterface)(IIMSafeContact *This,REFIID riid,void **ppvObject);
  766. ULONG (WINAPI *AddRef)(IIMSafeContact *This);
  767. ULONG (WINAPI *Release)(IIMSafeContact *This);
  768. HRESULT (WINAPI *GetTypeInfoCount)(IIMSafeContact *This,UINT *pctinfo);
  769. HRESULT (WINAPI *GetTypeInfo)(IIMSafeContact *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  770. HRESULT (WINAPI *GetIDsOfNames)(IIMSafeContact *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  771. HRESULT (WINAPI *Invoke)(IIMSafeContact *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  772. HRESULT (WINAPI *get_LogonName)(IIMSafeContact *This,BSTR *pbstrLogonName);
  773. HRESULT (WINAPI *get_FriendlyName)(IIMSafeContact *This,BSTR *pbstrFriendlyName);
  774. HRESULT (WINAPI *get_EmailAddress)(IIMSafeContact *This,BSTR *pbstrEmailAddress);
  775. HRESULT (WINAPI *get_State)(IIMSafeContact *This,__LONG32 *plState);
  776. HRESULT (WINAPI *_SetBaseContact)(IIMSafeContact *This,IDispatch *pUnk);
  777. HRESULT (WINAPI *LaunchInstantMessage)(IIMSafeContact *This);
  778. HRESULT (WINAPI *LaunchEmail)(IIMSafeContact *This);
  779. HRESULT (WINAPI *LaunchNetMeeting)(IIMSafeContact *This);
  780. END_INTERFACE
  781. } IIMSafeContactVtbl;
  782. struct IIMSafeContact {
  783. CONST_VTBL struct IIMSafeContactVtbl *lpVtbl;
  784. };
  785. #ifdef COBJMACROS
  786. #define IIMSafeContact_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  787. #define IIMSafeContact_AddRef(This) (This)->lpVtbl->AddRef(This)
  788. #define IIMSafeContact_Release(This) (This)->lpVtbl->Release(This)
  789. #define IIMSafeContact_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  790. #define IIMSafeContact_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  791. #define IIMSafeContact_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  792. #define IIMSafeContact_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  793. #define IIMSafeContact_get_LogonName(This,pbstrLogonName) (This)->lpVtbl->get_LogonName(This,pbstrLogonName)
  794. #define IIMSafeContact_get_FriendlyName(This,pbstrFriendlyName) (This)->lpVtbl->get_FriendlyName(This,pbstrFriendlyName)
  795. #define IIMSafeContact_get_EmailAddress(This,pbstrEmailAddress) (This)->lpVtbl->get_EmailAddress(This,pbstrEmailAddress)
  796. #define IIMSafeContact_get_State(This,plState) (This)->lpVtbl->get_State(This,plState)
  797. #define IIMSafeContact__SetBaseContact(This,pUnk) (This)->lpVtbl->_SetBaseContact(This,pUnk)
  798. #define IIMSafeContact_LaunchInstantMessage(This) (This)->lpVtbl->LaunchInstantMessage(This)
  799. #define IIMSafeContact_LaunchEmail(This) (This)->lpVtbl->LaunchEmail(This)
  800. #define IIMSafeContact_LaunchNetMeeting(This) (This)->lpVtbl->LaunchNetMeeting(This)
  801. #endif
  802. #endif
  803. HRESULT WINAPI IIMSafeContact_get_LogonName_Proxy(IIMSafeContact *This,BSTR *pbstrLogonName);
  804. void __RPC_STUB IIMSafeContact_get_LogonName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  805. HRESULT WINAPI IIMSafeContact_get_FriendlyName_Proxy(IIMSafeContact *This,BSTR *pbstrFriendlyName);
  806. void __RPC_STUB IIMSafeContact_get_FriendlyName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  807. HRESULT WINAPI IIMSafeContact_get_EmailAddress_Proxy(IIMSafeContact *This,BSTR *pbstrEmailAddress);
  808. void __RPC_STUB IIMSafeContact_get_EmailAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  809. HRESULT WINAPI IIMSafeContact_get_State_Proxy(IIMSafeContact *This,__LONG32 *plState);
  810. void __RPC_STUB IIMSafeContact_get_State_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  811. HRESULT WINAPI IIMSafeContact__SetBaseContact_Proxy(IIMSafeContact *This,IDispatch *pUnk);
  812. void __RPC_STUB IIMSafeContact__SetBaseContact_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  813. HRESULT WINAPI IIMSafeContact_LaunchInstantMessage_Proxy(IIMSafeContact *This);
  814. void __RPC_STUB IIMSafeContact_LaunchInstantMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  815. HRESULT WINAPI IIMSafeContact_LaunchEmail_Proxy(IIMSafeContact *This);
  816. void __RPC_STUB IIMSafeContact_LaunchEmail_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  817. HRESULT WINAPI IIMSafeContact_LaunchNetMeeting_Proxy(IIMSafeContact *This);
  818. void __RPC_STUB IIMSafeContact_LaunchNetMeeting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  819. #endif
  820. #ifndef __IMSIMContactList_INTERFACE_DEFINED__
  821. #define __IMSIMContactList_INTERFACE_DEFINED__
  822. EXTERN_C const IID IID_IMSIMContactList;
  823. #if defined(__cplusplus) && !defined(CINTERFACE)
  824. struct IMSIMContactList : public _IUseIMBase {
  825. public:
  826. virtual HRESULT WINAPI get_List(VARIANT *pvarList) = 0;
  827. virtual HRESULT WINAPI put_List(VARIANT varList) = 0;
  828. virtual HRESULT WINAPI Add(VARIANT vUser) = 0;
  829. virtual HRESULT WINAPI Remove(VARIANT vUser) = 0;
  830. virtual HRESULT WINAPI get_SelectedMenuOptions(__LONG32 lRow,__LONG32 *pVal) = 0;
  831. virtual HRESULT WINAPI InstantMessage(__LONG32 lRow) = 0;
  832. virtual HRESULT WINAPI EMail(__LONG32 lRow) = 0;
  833. virtual HRESULT WINAPI Invite(__LONG32 lRow) = 0;
  834. virtual HRESULT WINAPI Block(__LONG32 lRow) = 0;
  835. virtual HRESULT WINAPI Unblock(__LONG32 lRow) = 0;
  836. virtual HRESULT WINAPI get_Count(__LONG32 *pnCount) = 0;
  837. virtual HRESULT WINAPI get_Item(VARIANT Var,VARIANT *pSafeContact) = 0;
  838. virtual HRESULT WINAPI get__NewEnum(IUnknown **ppunkEnum) = 0;
  839. virtual HRESULT WINAPI get_LocalState(__LONG32 *pnState) = 0;
  840. virtual HRESULT WINAPI put_LocalState(__LONG32 nState) = 0;
  841. virtual HRESULT WINAPI get_LocalLogonName(BSTR *pval) = 0;
  842. };
  843. #else
  844. typedef struct IMSIMContactListVtbl {
  845. BEGIN_INTERFACE
  846. HRESULT (WINAPI *QueryInterface)(IMSIMContactList *This,REFIID riid,void **ppvObject);
  847. ULONG (WINAPI *AddRef)(IMSIMContactList *This);
  848. ULONG (WINAPI *Release)(IMSIMContactList *This);
  849. HRESULT (WINAPI *GetTypeInfoCount)(IMSIMContactList *This,UINT *pctinfo);
  850. HRESULT (WINAPI *GetTypeInfo)(IMSIMContactList *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  851. HRESULT (WINAPI *GetIDsOfNames)(IMSIMContactList *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  852. HRESULT (WINAPI *Invoke)(IMSIMContactList *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  853. HRESULT (WINAPI *SetService)(IMSIMContactList *This,IDispatch *pService,IDispatch *pApp);
  854. HRESULT (WINAPI *get_Service)(IMSIMContactList *This,short *pVal);
  855. HRESULT (WINAPI *put_Service)(IMSIMContactList *This,short newVal);
  856. HRESULT (WINAPI *get_HasService)(IMSIMContactList *This,VARIANT_BOOL *pVal);
  857. HRESULT (WINAPI *get_AutoLogon)(IMSIMContactList *This,VARIANT_BOOL *pVal);
  858. HRESULT (WINAPI *put_AutoLogon)(IMSIMContactList *This,VARIANT_BOOL newVal);
  859. HRESULT (WINAPI *get_LoggedOn)(IMSIMContactList *This,VARIANT_BOOL *pVal);
  860. HRESULT (WINAPI *Logon)(IMSIMContactList *This,BSTR bstrAddress,BSTR bstrName,BSTR bstrPassword,BSTR bstrDomain);
  861. HRESULT (WINAPI *Logoff)(IMSIMContactList *This);
  862. HRESULT (WINAPI *GetLocalState)(IMSIMContactList *This,VARIANT *pvarState,VARIANT *pvarDescription,VARIANT *pvarData);
  863. HRESULT (WINAPI *SetLocalState)(IMSIMContactList *This,__LONG32 lState,VARIANT varDescription,VARIANT varData);
  864. HRESULT (WINAPI *get_List)(IMSIMContactList *This,VARIANT *pvarList);
  865. HRESULT (WINAPI *put_List)(IMSIMContactList *This,VARIANT varList);
  866. HRESULT (WINAPI *Add)(IMSIMContactList *This,VARIANT vUser);
  867. HRESULT (WINAPI *Remove)(IMSIMContactList *This,VARIANT vUser);
  868. HRESULT (WINAPI *get_SelectedMenuOptions)(IMSIMContactList *This,__LONG32 lRow,__LONG32 *pVal);
  869. HRESULT (WINAPI *InstantMessage)(IMSIMContactList *This,__LONG32 lRow);
  870. HRESULT (WINAPI *EMail)(IMSIMContactList *This,__LONG32 lRow);
  871. HRESULT (WINAPI *Invite)(IMSIMContactList *This,__LONG32 lRow);
  872. HRESULT (WINAPI *Block)(IMSIMContactList *This,__LONG32 lRow);
  873. HRESULT (WINAPI *Unblock)(IMSIMContactList *This,__LONG32 lRow);
  874. HRESULT (WINAPI *get_Count)(IMSIMContactList *This,__LONG32 *pnCount);
  875. HRESULT (WINAPI *get_Item)(IMSIMContactList *This,VARIANT Var,VARIANT *pSafeContact);
  876. HRESULT (WINAPI *get__NewEnum)(IMSIMContactList *This,IUnknown **ppunkEnum);
  877. HRESULT (WINAPI *get_LocalState)(IMSIMContactList *This,__LONG32 *pnState);
  878. HRESULT (WINAPI *put_LocalState)(IMSIMContactList *This,__LONG32 nState);
  879. HRESULT (WINAPI *get_LocalLogonName)(IMSIMContactList *This,BSTR *pval);
  880. END_INTERFACE
  881. } IMSIMContactListVtbl;
  882. struct IMSIMContactList {
  883. CONST_VTBL struct IMSIMContactListVtbl *lpVtbl;
  884. };
  885. #ifdef COBJMACROS
  886. #define IMSIMContactList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  887. #define IMSIMContactList_AddRef(This) (This)->lpVtbl->AddRef(This)
  888. #define IMSIMContactList_Release(This) (This)->lpVtbl->Release(This)
  889. #define IMSIMContactList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  890. #define IMSIMContactList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  891. #define IMSIMContactList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  892. #define IMSIMContactList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  893. #define IMSIMContactList_SetService(This,pService,pApp) (This)->lpVtbl->SetService(This,pService,pApp)
  894. #define IMSIMContactList_get_Service(This,pVal) (This)->lpVtbl->get_Service(This,pVal)
  895. #define IMSIMContactList_put_Service(This,newVal) (This)->lpVtbl->put_Service(This,newVal)
  896. #define IMSIMContactList_get_HasService(This,pVal) (This)->lpVtbl->get_HasService(This,pVal)
  897. #define IMSIMContactList_get_AutoLogon(This,pVal) (This)->lpVtbl->get_AutoLogon(This,pVal)
  898. #define IMSIMContactList_put_AutoLogon(This,newVal) (This)->lpVtbl->put_AutoLogon(This,newVal)
  899. #define IMSIMContactList_get_LoggedOn(This,pVal) (This)->lpVtbl->get_LoggedOn(This,pVal)
  900. #define IMSIMContactList_Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain) (This)->lpVtbl->Logon(This,bstrAddress,bstrName,bstrPassword,bstrDomain)
  901. #define IMSIMContactList_Logoff(This) (This)->lpVtbl->Logoff(This)
  902. #define IMSIMContactList_GetLocalState(This,pvarState,pvarDescription,pvarData) (This)->lpVtbl->GetLocalState(This,pvarState,pvarDescription,pvarData)
  903. #define IMSIMContactList_SetLocalState(This,lState,varDescription,varData) (This)->lpVtbl->SetLocalState(This,lState,varDescription,varData)
  904. #define IMSIMContactList_get_List(This,pvarList) (This)->lpVtbl->get_List(This,pvarList)
  905. #define IMSIMContactList_put_List(This,varList) (This)->lpVtbl->put_List(This,varList)
  906. #define IMSIMContactList_Add(This,vUser) (This)->lpVtbl->Add(This,vUser)
  907. #define IMSIMContactList_Remove(This,vUser) (This)->lpVtbl->Remove(This,vUser)
  908. #define IMSIMContactList_get_SelectedMenuOptions(This,lRow,pVal) (This)->lpVtbl->get_SelectedMenuOptions(This,lRow,pVal)
  909. #define IMSIMContactList_InstantMessage(This,lRow) (This)->lpVtbl->InstantMessage(This,lRow)
  910. #define IMSIMContactList_EMail(This,lRow) (This)->lpVtbl->EMail(This,lRow)
  911. #define IMSIMContactList_Invite(This,lRow) (This)->lpVtbl->Invite(This,lRow)
  912. #define IMSIMContactList_Block(This,lRow) (This)->lpVtbl->Block(This,lRow)
  913. #define IMSIMContactList_Unblock(This,lRow) (This)->lpVtbl->Unblock(This,lRow)
  914. #define IMSIMContactList_get_Count(This,pnCount) (This)->lpVtbl->get_Count(This,pnCount)
  915. #define IMSIMContactList_get_Item(This,Var,pSafeContact) (This)->lpVtbl->get_Item(This,Var,pSafeContact)
  916. #define IMSIMContactList_get__NewEnum(This,ppunkEnum) (This)->lpVtbl->get__NewEnum(This,ppunkEnum)
  917. #define IMSIMContactList_get_LocalState(This,pnState) (This)->lpVtbl->get_LocalState(This,pnState)
  918. #define IMSIMContactList_put_LocalState(This,nState) (This)->lpVtbl->put_LocalState(This,nState)
  919. #define IMSIMContactList_get_LocalLogonName(This,pval) (This)->lpVtbl->get_LocalLogonName(This,pval)
  920. #endif
  921. #endif
  922. HRESULT WINAPI IMSIMContactList_get_List_Proxy(IMSIMContactList *This,VARIANT *pvarList);
  923. void __RPC_STUB IMSIMContactList_get_List_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  924. HRESULT WINAPI IMSIMContactList_put_List_Proxy(IMSIMContactList *This,VARIANT varList);
  925. void __RPC_STUB IMSIMContactList_put_List_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  926. HRESULT WINAPI IMSIMContactList_Add_Proxy(IMSIMContactList *This,VARIANT vUser);
  927. void __RPC_STUB IMSIMContactList_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  928. HRESULT WINAPI IMSIMContactList_Remove_Proxy(IMSIMContactList *This,VARIANT vUser);
  929. void __RPC_STUB IMSIMContactList_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  930. HRESULT WINAPI IMSIMContactList_get_SelectedMenuOptions_Proxy(IMSIMContactList *This,__LONG32 lRow,__LONG32 *pVal);
  931. void __RPC_STUB IMSIMContactList_get_SelectedMenuOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  932. HRESULT WINAPI IMSIMContactList_InstantMessage_Proxy(IMSIMContactList *This,__LONG32 lRow);
  933. void __RPC_STUB IMSIMContactList_InstantMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  934. HRESULT WINAPI IMSIMContactList_EMail_Proxy(IMSIMContactList *This,__LONG32 lRow);
  935. void __RPC_STUB IMSIMContactList_EMail_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  936. HRESULT WINAPI IMSIMContactList_Invite_Proxy(IMSIMContactList *This,__LONG32 lRow);
  937. void __RPC_STUB IMSIMContactList_Invite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  938. HRESULT WINAPI IMSIMContactList_Block_Proxy(IMSIMContactList *This,__LONG32 lRow);
  939. void __RPC_STUB IMSIMContactList_Block_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  940. HRESULT WINAPI IMSIMContactList_Unblock_Proxy(IMSIMContactList *This,__LONG32 lRow);
  941. void __RPC_STUB IMSIMContactList_Unblock_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  942. HRESULT WINAPI IMSIMContactList_get_Count_Proxy(IMSIMContactList *This,__LONG32 *pnCount);
  943. void __RPC_STUB IMSIMContactList_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  944. HRESULT WINAPI IMSIMContactList_get_Item_Proxy(IMSIMContactList *This,VARIANT Var,VARIANT *pSafeContact);
  945. void __RPC_STUB IMSIMContactList_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  946. HRESULT WINAPI IMSIMContactList_get__NewEnum_Proxy(IMSIMContactList *This,IUnknown **ppunkEnum);
  947. void __RPC_STUB IMSIMContactList_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  948. HRESULT WINAPI IMSIMContactList_get_LocalState_Proxy(IMSIMContactList *This,__LONG32 *pnState);
  949. void __RPC_STUB IMSIMContactList_get_LocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  950. HRESULT WINAPI IMSIMContactList_put_LocalState_Proxy(IMSIMContactList *This,__LONG32 nState);
  951. void __RPC_STUB IMSIMContactList_put_LocalState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  952. HRESULT WINAPI IMSIMContactList_get_LocalLogonName_Proxy(IMSIMContactList *This,BSTR *pval);
  953. void __RPC_STUB IMSIMContactList_get_LocalLogonName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  954. #endif
  955. #ifndef __DIMContactListEvents_DISPINTERFACE_DEFINED__
  956. #define __DIMContactListEvents_DISPINTERFACE_DEFINED__
  957. EXTERN_C const IID DIID_DIMContactListEvents;
  958. #if defined(__cplusplus) && !defined(CINTERFACE)
  959. struct DIMContactListEvents : public IDispatch {
  960. };
  961. #else
  962. typedef struct DIMContactListEventsVtbl {
  963. BEGIN_INTERFACE
  964. HRESULT (WINAPI *QueryInterface)(DIMContactListEvents *This,REFIID riid,void **ppvObject);
  965. ULONG (WINAPI *AddRef)(DIMContactListEvents *This);
  966. ULONG (WINAPI *Release)(DIMContactListEvents *This);
  967. HRESULT (WINAPI *GetTypeInfoCount)(DIMContactListEvents *This,UINT *pctinfo);
  968. HRESULT (WINAPI *GetTypeInfo)(DIMContactListEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  969. HRESULT (WINAPI *GetIDsOfNames)(DIMContactListEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  970. HRESULT (WINAPI *Invoke)(DIMContactListEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  971. END_INTERFACE
  972. } DIMContactListEventsVtbl;
  973. struct DIMContactListEvents {
  974. CONST_VTBL struct DIMContactListEventsVtbl *lpVtbl;
  975. };
  976. #ifdef COBJMACROS
  977. #define DIMContactListEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  978. #define DIMContactListEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
  979. #define DIMContactListEvents_Release(This) (This)->lpVtbl->Release(This)
  980. #define DIMContactListEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  981. #define DIMContactListEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  982. #define DIMContactListEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  983. #define DIMContactListEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  984. #endif
  985. #endif
  986. #endif
  987. EXTERN_C const CLSID CLSID_MSIMContactList;
  988. #ifdef __cplusplus
  989. class MSIMContactList;
  990. #endif
  991. EXTERN_C const CLSID CLSID_IMSafeContact;
  992. #ifdef __cplusplus
  993. class IMSafeContact;
  994. #endif
  995. #endif
  996. #ifdef __cplusplus
  997. }
  998. #endif
  999. #endif