Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1133 lines
37 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for rdshost.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __rdshost_h__
  27. #define __rdshost_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISAFRemoteDesktopSession_FWD_DEFINED__
  33. #define __ISAFRemoteDesktopSession_FWD_DEFINED__
  34. typedef interface ISAFRemoteDesktopSession ISAFRemoteDesktopSession;
  35. #endif /* __ISAFRemoteDesktopSession_FWD_DEFINED__ */
  36. #ifndef __IRDSThreadBridge_FWD_DEFINED__
  37. #define __IRDSThreadBridge_FWD_DEFINED__
  38. typedef interface IRDSThreadBridge IRDSThreadBridge;
  39. #endif /* __IRDSThreadBridge_FWD_DEFINED__ */
  40. #ifndef __ISAFRemoteDesktopServerHost_FWD_DEFINED__
  41. #define __ISAFRemoteDesktopServerHost_FWD_DEFINED__
  42. typedef interface ISAFRemoteDesktopServerHost ISAFRemoteDesktopServerHost;
  43. #endif /* __ISAFRemoteDesktopServerHost_FWD_DEFINED__ */
  44. #ifndef ___ISAFRemoteDesktopDataChannelEvents_FWD_DEFINED__
  45. #define ___ISAFRemoteDesktopDataChannelEvents_FWD_DEFINED__
  46. typedef interface _ISAFRemoteDesktopDataChannelEvents _ISAFRemoteDesktopDataChannelEvents;
  47. #endif /* ___ISAFRemoteDesktopDataChannelEvents_FWD_DEFINED__ */
  48. #ifndef __TSRDPServerDataChannel_FWD_DEFINED__
  49. #define __TSRDPServerDataChannel_FWD_DEFINED__
  50. #ifdef __cplusplus
  51. typedef class TSRDPServerDataChannel TSRDPServerDataChannel;
  52. #else
  53. typedef struct TSRDPServerDataChannel TSRDPServerDataChannel;
  54. #endif /* __cplusplus */
  55. #endif /* __TSRDPServerDataChannel_FWD_DEFINED__ */
  56. #ifndef __TSRDPServerDataChannelMgr_FWD_DEFINED__
  57. #define __TSRDPServerDataChannelMgr_FWD_DEFINED__
  58. #ifdef __cplusplus
  59. typedef class TSRDPServerDataChannelMgr TSRDPServerDataChannelMgr;
  60. #else
  61. typedef struct TSRDPServerDataChannelMgr TSRDPServerDataChannelMgr;
  62. #endif /* __cplusplus */
  63. #endif /* __TSRDPServerDataChannelMgr_FWD_DEFINED__ */
  64. #ifndef __SAFRemoteDesktopServerHost_FWD_DEFINED__
  65. #define __SAFRemoteDesktopServerHost_FWD_DEFINED__
  66. #ifdef __cplusplus
  67. typedef class SAFRemoteDesktopServerHost SAFRemoteDesktopServerHost;
  68. #else
  69. typedef struct SAFRemoteDesktopServerHost SAFRemoteDesktopServerHost;
  70. #endif /* __cplusplus */
  71. #endif /* __SAFRemoteDesktopServerHost_FWD_DEFINED__ */
  72. #ifndef ___ISAFRemoteDesktopSessionEvents_FWD_DEFINED__
  73. #define ___ISAFRemoteDesktopSessionEvents_FWD_DEFINED__
  74. typedef interface _ISAFRemoteDesktopSessionEvents _ISAFRemoteDesktopSessionEvents;
  75. #endif /* ___ISAFRemoteDesktopSessionEvents_FWD_DEFINED__ */
  76. #ifndef __SAFRemoteDesktopSession_FWD_DEFINED__
  77. #define __SAFRemoteDesktopSession_FWD_DEFINED__
  78. #ifdef __cplusplus
  79. typedef class SAFRemoteDesktopSession SAFRemoteDesktopSession;
  80. #else
  81. typedef struct SAFRemoteDesktopSession SAFRemoteDesktopSession;
  82. #endif /* __cplusplus */
  83. #endif /* __SAFRemoteDesktopSession_FWD_DEFINED__ */
  84. /* header files for imported files */
  85. #include "oaidl.h"
  86. #include "ocidl.h"
  87. #include "rdschan.h"
  88. #ifdef __cplusplus
  89. extern "C"{
  90. #endif
  91. void * __RPC_USER MIDL_user_allocate(size_t);
  92. void __RPC_USER MIDL_user_free( void * );
  93. /* interface __MIDL_itf_rdshost_0000 */
  94. /* [local] */
  95. typedef /* [public][public][public][public][public][helpstring][uuid] */ DECLSPEC_UUID("34b3166d-870a-4f39-9e2a-09fd8d31ad83")
  96. enum __MIDL___MIDL_itf_rdshost_0000_0001
  97. { DESKTOPSHARING_DEFAULT = 0,
  98. NO_DESKTOP_SHARING = 0x1,
  99. VIEWDESKTOP_PERMISSION_REQUIRE = 0x2,
  100. VIEWDESKTOP_PERMISSION_NOT_REQUIRE = 0x4,
  101. CONTROLDESKTOP_PERMISSION_REQUIRE = 0x8,
  102. CONTROLDESKTOP_PERMISSION_NOT_REQUIRE = 0x10
  103. } REMOTE_DESKTOP_SHARING_CLASS;
  104. #define DISPID_RDSSESSION_CHANNELMANAGER 1
  105. #define DISPID_RDSSESSION_CONNECTPARMS 2
  106. #define DISPID_RDSSESSION_SHARINGCLASS 3
  107. #define DISPID_RDSSESSION_ONCONNECTED 4
  108. #define DISPID_RDSSESSION_ONDISCONNECTED 5
  109. #define DISPID_RDSSESSION_CLOSERDSSESSION 6
  110. #define DISPID_RDSSESSION_DISCONNECT 7
  111. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0000_v0_0_c_ifspec;
  112. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0000_v0_0_s_ifspec;
  113. #ifndef __ISAFRemoteDesktopSession_INTERFACE_DEFINED__
  114. #define __ISAFRemoteDesktopSession_INTERFACE_DEFINED__
  115. /* interface ISAFRemoteDesktopSession */
  116. /* [unique][helpstring][dual][uuid][object] */
  117. EXTERN_C const IID IID_ISAFRemoteDesktopSession;
  118. #if defined(__cplusplus) && !defined(CINTERFACE)
  119. MIDL_INTERFACE("9D8C82C9-A89F-42C5-8A52-FE2A77B00E82")
  120. ISAFRemoteDesktopSession : public IDispatch
  121. {
  122. public:
  123. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChannelManager(
  124. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr) = 0;
  125. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectParms(
  126. /* [retval][out] */ BSTR *parms) = 0;
  127. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SharingClass(
  128. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass) = 0;
  129. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingClass(
  130. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass) = 0;
  131. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseRemoteDesktopSession( void) = 0;
  132. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  133. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OnConnected(
  134. /* [in] */ IDispatch *iDisp) = 0;
  135. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OnDisconnected(
  136. /* [in] */ IDispatch *iDisp) = 0;
  137. };
  138. #else /* C style interface */
  139. typedef struct ISAFRemoteDesktopSessionVtbl
  140. {
  141. BEGIN_INTERFACE
  142. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  143. ISAFRemoteDesktopSession * This,
  144. /* [in] */ REFIID riid,
  145. /* [iid_is][out] */ void **ppvObject);
  146. ULONG ( STDMETHODCALLTYPE *AddRef )(
  147. ISAFRemoteDesktopSession * This);
  148. ULONG ( STDMETHODCALLTYPE *Release )(
  149. ISAFRemoteDesktopSession * This);
  150. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  151. ISAFRemoteDesktopSession * This,
  152. /* [out] */ UINT *pctinfo);
  153. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  154. ISAFRemoteDesktopSession * This,
  155. /* [in] */ UINT iTInfo,
  156. /* [in] */ LCID lcid,
  157. /* [out] */ ITypeInfo **ppTInfo);
  158. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  159. ISAFRemoteDesktopSession * This,
  160. /* [in] */ REFIID riid,
  161. /* [size_is][in] */ LPOLESTR *rgszNames,
  162. /* [in] */ UINT cNames,
  163. /* [in] */ LCID lcid,
  164. /* [size_is][out] */ DISPID *rgDispId);
  165. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  166. ISAFRemoteDesktopSession * This,
  167. /* [in] */ DISPID dispIdMember,
  168. /* [in] */ REFIID riid,
  169. /* [in] */ LCID lcid,
  170. /* [in] */ WORD wFlags,
  171. /* [out][in] */ DISPPARAMS *pDispParams,
  172. /* [out] */ VARIANT *pVarResult,
  173. /* [out] */ EXCEPINFO *pExcepInfo,
  174. /* [out] */ UINT *puArgErr);
  175. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChannelManager )(
  176. ISAFRemoteDesktopSession * This,
  177. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr);
  178. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectParms )(
  179. ISAFRemoteDesktopSession * This,
  180. /* [retval][out] */ BSTR *parms);
  181. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SharingClass )(
  182. ISAFRemoteDesktopSession * This,
  183. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass);
  184. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingClass )(
  185. ISAFRemoteDesktopSession * This,
  186. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass);
  187. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseRemoteDesktopSession )(
  188. ISAFRemoteDesktopSession * This);
  189. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  190. ISAFRemoteDesktopSession * This);
  191. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OnConnected )(
  192. ISAFRemoteDesktopSession * This,
  193. /* [in] */ IDispatch *iDisp);
  194. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OnDisconnected )(
  195. ISAFRemoteDesktopSession * This,
  196. /* [in] */ IDispatch *iDisp);
  197. END_INTERFACE
  198. } ISAFRemoteDesktopSessionVtbl;
  199. interface ISAFRemoteDesktopSession
  200. {
  201. CONST_VTBL struct ISAFRemoteDesktopSessionVtbl *lpVtbl;
  202. };
  203. #ifdef COBJMACROS
  204. #define ISAFRemoteDesktopSession_QueryInterface(This,riid,ppvObject) \
  205. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  206. #define ISAFRemoteDesktopSession_AddRef(This) \
  207. (This)->lpVtbl -> AddRef(This)
  208. #define ISAFRemoteDesktopSession_Release(This) \
  209. (This)->lpVtbl -> Release(This)
  210. #define ISAFRemoteDesktopSession_GetTypeInfoCount(This,pctinfo) \
  211. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  212. #define ISAFRemoteDesktopSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  213. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  214. #define ISAFRemoteDesktopSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  215. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  216. #define ISAFRemoteDesktopSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  217. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  218. #define ISAFRemoteDesktopSession_get_ChannelManager(This,mgr) \
  219. (This)->lpVtbl -> get_ChannelManager(This,mgr)
  220. #define ISAFRemoteDesktopSession_get_ConnectParms(This,parms) \
  221. (This)->lpVtbl -> get_ConnectParms(This,parms)
  222. #define ISAFRemoteDesktopSession_put_SharingClass(This,sharingClass) \
  223. (This)->lpVtbl -> put_SharingClass(This,sharingClass)
  224. #define ISAFRemoteDesktopSession_get_SharingClass(This,sharingClass) \
  225. (This)->lpVtbl -> get_SharingClass(This,sharingClass)
  226. #define ISAFRemoteDesktopSession_CloseRemoteDesktopSession(This) \
  227. (This)->lpVtbl -> CloseRemoteDesktopSession(This)
  228. #define ISAFRemoteDesktopSession_Disconnect(This) \
  229. (This)->lpVtbl -> Disconnect(This)
  230. #define ISAFRemoteDesktopSession_put_OnConnected(This,iDisp) \
  231. (This)->lpVtbl -> put_OnConnected(This,iDisp)
  232. #define ISAFRemoteDesktopSession_put_OnDisconnected(This,iDisp) \
  233. (This)->lpVtbl -> put_OnDisconnected(This,iDisp)
  234. #endif /* COBJMACROS */
  235. #endif /* C style interface */
  236. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_ChannelManager_Proxy(
  237. ISAFRemoteDesktopSession * This,
  238. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr);
  239. void __RPC_STUB ISAFRemoteDesktopSession_get_ChannelManager_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_ConnectParms_Proxy(
  245. ISAFRemoteDesktopSession * This,
  246. /* [retval][out] */ BSTR *parms);
  247. void __RPC_STUB ISAFRemoteDesktopSession_get_ConnectParms_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_SharingClass_Proxy(
  253. ISAFRemoteDesktopSession * This,
  254. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass);
  255. void __RPC_STUB ISAFRemoteDesktopSession_put_SharingClass_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_SharingClass_Proxy(
  261. ISAFRemoteDesktopSession * This,
  262. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass);
  263. void __RPC_STUB ISAFRemoteDesktopSession_get_SharingClass_Stub(
  264. IRpcStubBuffer *This,
  265. IRpcChannelBuffer *_pRpcChannelBuffer,
  266. PRPC_MESSAGE _pRpcMessage,
  267. DWORD *_pdwStubPhase);
  268. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_CloseRemoteDesktopSession_Proxy(
  269. ISAFRemoteDesktopSession * This);
  270. void __RPC_STUB ISAFRemoteDesktopSession_CloseRemoteDesktopSession_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_Disconnect_Proxy(
  276. ISAFRemoteDesktopSession * This);
  277. void __RPC_STUB ISAFRemoteDesktopSession_Disconnect_Stub(
  278. IRpcStubBuffer *This,
  279. IRpcChannelBuffer *_pRpcChannelBuffer,
  280. PRPC_MESSAGE _pRpcMessage,
  281. DWORD *_pdwStubPhase);
  282. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_OnConnected_Proxy(
  283. ISAFRemoteDesktopSession * This,
  284. /* [in] */ IDispatch *iDisp);
  285. void __RPC_STUB ISAFRemoteDesktopSession_put_OnConnected_Stub(
  286. IRpcStubBuffer *This,
  287. IRpcChannelBuffer *_pRpcChannelBuffer,
  288. PRPC_MESSAGE _pRpcMessage,
  289. DWORD *_pdwStubPhase);
  290. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_OnDisconnected_Proxy(
  291. ISAFRemoteDesktopSession * This,
  292. /* [in] */ IDispatch *iDisp);
  293. void __RPC_STUB ISAFRemoteDesktopSession_put_OnDisconnected_Stub(
  294. IRpcStubBuffer *This,
  295. IRpcChannelBuffer *_pRpcChannelBuffer,
  296. PRPC_MESSAGE _pRpcMessage,
  297. DWORD *_pdwStubPhase);
  298. #endif /* __ISAFRemoteDesktopSession_INTERFACE_DEFINED__ */
  299. #ifndef __IRDSThreadBridge_INTERFACE_DEFINED__
  300. #define __IRDSThreadBridge_INTERFACE_DEFINED__
  301. /* interface IRDSThreadBridge */
  302. /* [unique][helpstring][dual][uuid][object] */
  303. EXTERN_C const IID IID_IRDSThreadBridge;
  304. #if defined(__cplusplus) && !defined(CINTERFACE)
  305. MIDL_INTERFACE("35B9A4B1-7CA6-4aec-8762-1B590056C05D")
  306. IRDSThreadBridge : public IUnknown
  307. {
  308. public:
  309. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientConnectedNotify( void) = 0;
  310. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientDisconnectedNotify( void) = 0;
  311. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DataReadyNotify(
  312. /* [in] */ BSTR msg) = 0;
  313. };
  314. #else /* C style interface */
  315. typedef struct IRDSThreadBridgeVtbl
  316. {
  317. BEGIN_INTERFACE
  318. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  319. IRDSThreadBridge * This,
  320. /* [in] */ REFIID riid,
  321. /* [iid_is][out] */ void **ppvObject);
  322. ULONG ( STDMETHODCALLTYPE *AddRef )(
  323. IRDSThreadBridge * This);
  324. ULONG ( STDMETHODCALLTYPE *Release )(
  325. IRDSThreadBridge * This);
  326. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientConnectedNotify )(
  327. IRDSThreadBridge * This);
  328. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientDisconnectedNotify )(
  329. IRDSThreadBridge * This);
  330. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DataReadyNotify )(
  331. IRDSThreadBridge * This,
  332. /* [in] */ BSTR msg);
  333. END_INTERFACE
  334. } IRDSThreadBridgeVtbl;
  335. interface IRDSThreadBridge
  336. {
  337. CONST_VTBL struct IRDSThreadBridgeVtbl *lpVtbl;
  338. };
  339. #ifdef COBJMACROS
  340. #define IRDSThreadBridge_QueryInterface(This,riid,ppvObject) \
  341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  342. #define IRDSThreadBridge_AddRef(This) \
  343. (This)->lpVtbl -> AddRef(This)
  344. #define IRDSThreadBridge_Release(This) \
  345. (This)->lpVtbl -> Release(This)
  346. #define IRDSThreadBridge_ClientConnectedNotify(This) \
  347. (This)->lpVtbl -> ClientConnectedNotify(This)
  348. #define IRDSThreadBridge_ClientDisconnectedNotify(This) \
  349. (This)->lpVtbl -> ClientDisconnectedNotify(This)
  350. #define IRDSThreadBridge_DataReadyNotify(This,msg) \
  351. (This)->lpVtbl -> DataReadyNotify(This,msg)
  352. #endif /* COBJMACROS */
  353. #endif /* C style interface */
  354. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_ClientConnectedNotify_Proxy(
  355. IRDSThreadBridge * This);
  356. void __RPC_STUB IRDSThreadBridge_ClientConnectedNotify_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_ClientDisconnectedNotify_Proxy(
  362. IRDSThreadBridge * This);
  363. void __RPC_STUB IRDSThreadBridge_ClientDisconnectedNotify_Stub(
  364. IRpcStubBuffer *This,
  365. IRpcChannelBuffer *_pRpcChannelBuffer,
  366. PRPC_MESSAGE _pRpcMessage,
  367. DWORD *_pdwStubPhase);
  368. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_DataReadyNotify_Proxy(
  369. IRDSThreadBridge * This,
  370. /* [in] */ BSTR msg);
  371. void __RPC_STUB IRDSThreadBridge_DataReadyNotify_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. #endif /* __IRDSThreadBridge_INTERFACE_DEFINED__ */
  377. /* interface __MIDL_itf_rdshost_0259 */
  378. /* [local] */
  379. #define DISPID_RDSSERVERHOST_CREATERDSSESSION 1
  380. #define DISPID_RDSSERVERHOST_OPENRDSSESSION 2
  381. #define DISPID_RDSSERVERHOST_CLOSERDSSESSION 3
  382. #define DISPID_RDSSERVERHOST_DISCONNECTRDSSESSION 4
  383. #define DISPID_RDSSERVERHOST_CREATERDSSESSIONEX 5
  384. #define DISPID_RDSSERVERHOST_CONNECTEXPERT 6
  385. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0259_v0_0_c_ifspec;
  386. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0259_v0_0_s_ifspec;
  387. #ifndef __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__
  388. #define __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__
  389. /* interface ISAFRemoteDesktopServerHost */
  390. /* [unique][helpstring][dual][uuid][object] */
  391. EXTERN_C const IID IID_ISAFRemoteDesktopServerHost;
  392. #if defined(__cplusplus) && !defined(CINTERFACE)
  393. MIDL_INTERFACE("C9CCDEB3-A3DD-4673-B495-C1C89494D90E")
  394. ISAFRemoteDesktopServerHost : public IDispatch
  395. {
  396. public:
  397. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRemoteDesktopSession(
  398. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  399. /* [in] */ BOOL fEnableCallback,
  400. /* [in] */ LONG timeOut,
  401. /* [in] */ BSTR userHelpBlob,
  402. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011) = 0;
  403. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRemoteDesktopSessionEx(
  404. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  405. /* [in] */ BOOL fEnableCallback,
  406. /* [in] */ LONG timeOut,
  407. /* [in] */ BSTR userHelpBlob,
  408. /* [in] */ LONG tsSessionID,
  409. /* [in] */ BSTR userSID,
  410. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0012) = 0;
  411. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenRemoteDesktopSession(
  412. /* [in] */ BSTR parms,
  413. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013) = 0;
  414. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseRemoteDesktopSession(
  415. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014) = 0;
  416. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectToExpert(
  417. /* [in] */ BSTR expertConnectParm,
  418. /* [in] */ LONG timeout,
  419. /* [retval][out] */ LONG *SafErrorCode) = 0;
  420. };
  421. #else /* C style interface */
  422. typedef struct ISAFRemoteDesktopServerHostVtbl
  423. {
  424. BEGIN_INTERFACE
  425. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  426. ISAFRemoteDesktopServerHost * This,
  427. /* [in] */ REFIID riid,
  428. /* [iid_is][out] */ void **ppvObject);
  429. ULONG ( STDMETHODCALLTYPE *AddRef )(
  430. ISAFRemoteDesktopServerHost * This);
  431. ULONG ( STDMETHODCALLTYPE *Release )(
  432. ISAFRemoteDesktopServerHost * This);
  433. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  434. ISAFRemoteDesktopServerHost * This,
  435. /* [out] */ UINT *pctinfo);
  436. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  437. ISAFRemoteDesktopServerHost * This,
  438. /* [in] */ UINT iTInfo,
  439. /* [in] */ LCID lcid,
  440. /* [out] */ ITypeInfo **ppTInfo);
  441. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  442. ISAFRemoteDesktopServerHost * This,
  443. /* [in] */ REFIID riid,
  444. /* [size_is][in] */ LPOLESTR *rgszNames,
  445. /* [in] */ UINT cNames,
  446. /* [in] */ LCID lcid,
  447. /* [size_is][out] */ DISPID *rgDispId);
  448. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  449. ISAFRemoteDesktopServerHost * This,
  450. /* [in] */ DISPID dispIdMember,
  451. /* [in] */ REFIID riid,
  452. /* [in] */ LCID lcid,
  453. /* [in] */ WORD wFlags,
  454. /* [out][in] */ DISPPARAMS *pDispParams,
  455. /* [out] */ VARIANT *pVarResult,
  456. /* [out] */ EXCEPINFO *pExcepInfo,
  457. /* [out] */ UINT *puArgErr);
  458. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRemoteDesktopSession )(
  459. ISAFRemoteDesktopServerHost * This,
  460. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  461. /* [in] */ BOOL fEnableCallback,
  462. /* [in] */ LONG timeOut,
  463. /* [in] */ BSTR userHelpBlob,
  464. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011);
  465. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRemoteDesktopSessionEx )(
  466. ISAFRemoteDesktopServerHost * This,
  467. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  468. /* [in] */ BOOL fEnableCallback,
  469. /* [in] */ LONG timeOut,
  470. /* [in] */ BSTR userHelpBlob,
  471. /* [in] */ LONG tsSessionID,
  472. /* [in] */ BSTR userSID,
  473. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0012);
  474. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenRemoteDesktopSession )(
  475. ISAFRemoteDesktopServerHost * This,
  476. /* [in] */ BSTR parms,
  477. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013);
  478. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseRemoteDesktopSession )(
  479. ISAFRemoteDesktopServerHost * This,
  480. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014);
  481. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectToExpert )(
  482. ISAFRemoteDesktopServerHost * This,
  483. /* [in] */ BSTR expertConnectParm,
  484. /* [in] */ LONG timeout,
  485. /* [retval][out] */ LONG *SafErrorCode);
  486. END_INTERFACE
  487. } ISAFRemoteDesktopServerHostVtbl;
  488. interface ISAFRemoteDesktopServerHost
  489. {
  490. CONST_VTBL struct ISAFRemoteDesktopServerHostVtbl *lpVtbl;
  491. };
  492. #ifdef COBJMACROS
  493. #define ISAFRemoteDesktopServerHost_QueryInterface(This,riid,ppvObject) \
  494. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  495. #define ISAFRemoteDesktopServerHost_AddRef(This) \
  496. (This)->lpVtbl -> AddRef(This)
  497. #define ISAFRemoteDesktopServerHost_Release(This) \
  498. (This)->lpVtbl -> Release(This)
  499. #define ISAFRemoteDesktopServerHost_GetTypeInfoCount(This,pctinfo) \
  500. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  501. #define ISAFRemoteDesktopServerHost_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  502. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  503. #define ISAFRemoteDesktopServerHost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  504. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  505. #define ISAFRemoteDesktopServerHost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  506. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  507. #define ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,__MIDL_0011) \
  508. (This)->lpVtbl -> CreateRemoteDesktopSession(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,__MIDL_0011)
  509. #define ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,tsSessionID,userSID,__MIDL_0012) \
  510. (This)->lpVtbl -> CreateRemoteDesktopSessionEx(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,tsSessionID,userSID,__MIDL_0012)
  511. #define ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession(This,parms,__MIDL_0013) \
  512. (This)->lpVtbl -> OpenRemoteDesktopSession(This,parms,__MIDL_0013)
  513. #define ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession(This,__MIDL_0014) \
  514. (This)->lpVtbl -> CloseRemoteDesktopSession(This,__MIDL_0014)
  515. #define ISAFRemoteDesktopServerHost_ConnectToExpert(This,expertConnectParm,timeout,SafErrorCode) \
  516. (This)->lpVtbl -> ConnectToExpert(This,expertConnectParm,timeout,SafErrorCode)
  517. #endif /* COBJMACROS */
  518. #endif /* C style interface */
  519. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession_Proxy(
  520. ISAFRemoteDesktopServerHost * This,
  521. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  522. /* [in] */ BOOL fEnableCallback,
  523. /* [in] */ LONG timeOut,
  524. /* [in] */ BSTR userHelpBlob,
  525. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011);
  526. void __RPC_STUB ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession_Stub(
  527. IRpcStubBuffer *This,
  528. IRpcChannelBuffer *_pRpcChannelBuffer,
  529. PRPC_MESSAGE _pRpcMessage,
  530. DWORD *_pdwStubPhase);
  531. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx_Proxy(
  532. ISAFRemoteDesktopServerHost * This,
  533. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  534. /* [in] */ BOOL fEnableCallback,
  535. /* [in] */ LONG timeOut,
  536. /* [in] */ BSTR userHelpBlob,
  537. /* [in] */ LONG tsSessionID,
  538. /* [in] */ BSTR userSID,
  539. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0012);
  540. void __RPC_STUB ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx_Stub(
  541. IRpcStubBuffer *This,
  542. IRpcChannelBuffer *_pRpcChannelBuffer,
  543. PRPC_MESSAGE _pRpcMessage,
  544. DWORD *_pdwStubPhase);
  545. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession_Proxy(
  546. ISAFRemoteDesktopServerHost * This,
  547. /* [in] */ BSTR parms,
  548. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013);
  549. void __RPC_STUB ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession_Stub(
  550. IRpcStubBuffer *This,
  551. IRpcChannelBuffer *_pRpcChannelBuffer,
  552. PRPC_MESSAGE _pRpcMessage,
  553. DWORD *_pdwStubPhase);
  554. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession_Proxy(
  555. ISAFRemoteDesktopServerHost * This,
  556. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014);
  557. void __RPC_STUB ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession_Stub(
  558. IRpcStubBuffer *This,
  559. IRpcChannelBuffer *_pRpcChannelBuffer,
  560. PRPC_MESSAGE _pRpcMessage,
  561. DWORD *_pdwStubPhase);
  562. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_ConnectToExpert_Proxy(
  563. ISAFRemoteDesktopServerHost * This,
  564. /* [in] */ BSTR expertConnectParm,
  565. /* [in] */ LONG timeout,
  566. /* [retval][out] */ LONG *SafErrorCode);
  567. void __RPC_STUB ISAFRemoteDesktopServerHost_ConnectToExpert_Stub(
  568. IRpcStubBuffer *This,
  569. IRpcChannelBuffer *_pRpcChannelBuffer,
  570. PRPC_MESSAGE _pRpcMessage,
  571. DWORD *_pdwStubPhase);
  572. #endif /* __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__ */
  573. /* interface __MIDL_itf_rdshost_0260 */
  574. /* [local] */
  575. #define DISPID_RDSSESSIONSEVENTS_CLIENTCONNECTED 1
  576. #define DISPID_RDSSESSIONSEVENTS_CLIENTDISCONNECTED 2
  577. #define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1
  578. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0260_v0_0_c_ifspec;
  579. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0260_v0_0_s_ifspec;
  580. #ifndef __RDSSERVERHOSTLib_LIBRARY_DEFINED__
  581. #define __RDSSERVERHOSTLib_LIBRARY_DEFINED__
  582. /* library RDSSERVERHOSTLib */
  583. /* [helpstring][version][uuid] */
  584. #define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1
  585. EXTERN_C const IID LIBID_RDSSERVERHOSTLib;
  586. #ifndef ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__
  587. #define ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__
  588. /* dispinterface _ISAFRemoteDesktopDataChannelEvents */
  589. /* [helpstring][uuid] */
  590. EXTERN_C const IID DIID__ISAFRemoteDesktopDataChannelEvents;
  591. #if defined(__cplusplus) && !defined(CINTERFACE)
  592. MIDL_INTERFACE("59AE79BC-9721-42df-9396-9D98E7F7A396")
  593. _ISAFRemoteDesktopDataChannelEvents : public IDispatch
  594. {
  595. };
  596. #else /* C style interface */
  597. typedef struct _ISAFRemoteDesktopDataChannelEventsVtbl
  598. {
  599. BEGIN_INTERFACE
  600. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  601. _ISAFRemoteDesktopDataChannelEvents * This,
  602. /* [in] */ REFIID riid,
  603. /* [iid_is][out] */ void **ppvObject);
  604. ULONG ( STDMETHODCALLTYPE *AddRef )(
  605. _ISAFRemoteDesktopDataChannelEvents * This);
  606. ULONG ( STDMETHODCALLTYPE *Release )(
  607. _ISAFRemoteDesktopDataChannelEvents * This);
  608. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  609. _ISAFRemoteDesktopDataChannelEvents * This,
  610. /* [out] */ UINT *pctinfo);
  611. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  612. _ISAFRemoteDesktopDataChannelEvents * This,
  613. /* [in] */ UINT iTInfo,
  614. /* [in] */ LCID lcid,
  615. /* [out] */ ITypeInfo **ppTInfo);
  616. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  617. _ISAFRemoteDesktopDataChannelEvents * This,
  618. /* [in] */ REFIID riid,
  619. /* [size_is][in] */ LPOLESTR *rgszNames,
  620. /* [in] */ UINT cNames,
  621. /* [in] */ LCID lcid,
  622. /* [size_is][out] */ DISPID *rgDispId);
  623. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  624. _ISAFRemoteDesktopDataChannelEvents * This,
  625. /* [in] */ DISPID dispIdMember,
  626. /* [in] */ REFIID riid,
  627. /* [in] */ LCID lcid,
  628. /* [in] */ WORD wFlags,
  629. /* [out][in] */ DISPPARAMS *pDispParams,
  630. /* [out] */ VARIANT *pVarResult,
  631. /* [out] */ EXCEPINFO *pExcepInfo,
  632. /* [out] */ UINT *puArgErr);
  633. END_INTERFACE
  634. } _ISAFRemoteDesktopDataChannelEventsVtbl;
  635. interface _ISAFRemoteDesktopDataChannelEvents
  636. {
  637. CONST_VTBL struct _ISAFRemoteDesktopDataChannelEventsVtbl *lpVtbl;
  638. };
  639. #ifdef COBJMACROS
  640. #define _ISAFRemoteDesktopDataChannelEvents_QueryInterface(This,riid,ppvObject) \
  641. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  642. #define _ISAFRemoteDesktopDataChannelEvents_AddRef(This) \
  643. (This)->lpVtbl -> AddRef(This)
  644. #define _ISAFRemoteDesktopDataChannelEvents_Release(This) \
  645. (This)->lpVtbl -> Release(This)
  646. #define _ISAFRemoteDesktopDataChannelEvents_GetTypeInfoCount(This,pctinfo) \
  647. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  648. #define _ISAFRemoteDesktopDataChannelEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  649. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  650. #define _ISAFRemoteDesktopDataChannelEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  651. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  652. #define _ISAFRemoteDesktopDataChannelEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  653. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  654. #endif /* COBJMACROS */
  655. #endif /* C style interface */
  656. #endif /* ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__ */
  657. EXTERN_C const CLSID CLSID_TSRDPServerDataChannel;
  658. #ifdef __cplusplus
  659. class DECLSPEC_UUID("8C71C09E-3176-4be6-B294-EA3C41CABB99")
  660. TSRDPServerDataChannel;
  661. #endif
  662. EXTERN_C const CLSID CLSID_TSRDPServerDataChannelMgr;
  663. #ifdef __cplusplus
  664. class DECLSPEC_UUID("92550D33-3272-43b6-B536-2DB08C1D569C")
  665. TSRDPServerDataChannelMgr;
  666. #endif
  667. EXTERN_C const CLSID CLSID_SAFRemoteDesktopServerHost;
  668. #ifdef __cplusplus
  669. class DECLSPEC_UUID("5EA6F67B-7713-45F3-B535-0E03DD637345")
  670. SAFRemoteDesktopServerHost;
  671. #endif
  672. #ifndef ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__
  673. #define ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__
  674. /* dispinterface _ISAFRemoteDesktopSessionEvents */
  675. /* [helpstring][uuid] */
  676. EXTERN_C const IID DIID__ISAFRemoteDesktopSessionEvents;
  677. #if defined(__cplusplus) && !defined(CINTERFACE)
  678. MIDL_INTERFACE("434AD1CF-4054-44A8-933F-C69889CA22D7")
  679. _ISAFRemoteDesktopSessionEvents : public IDispatch
  680. {
  681. };
  682. #else /* C style interface */
  683. typedef struct _ISAFRemoteDesktopSessionEventsVtbl
  684. {
  685. BEGIN_INTERFACE
  686. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  687. _ISAFRemoteDesktopSessionEvents * This,
  688. /* [in] */ REFIID riid,
  689. /* [iid_is][out] */ void **ppvObject);
  690. ULONG ( STDMETHODCALLTYPE *AddRef )(
  691. _ISAFRemoteDesktopSessionEvents * This);
  692. ULONG ( STDMETHODCALLTYPE *Release )(
  693. _ISAFRemoteDesktopSessionEvents * This);
  694. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  695. _ISAFRemoteDesktopSessionEvents * This,
  696. /* [out] */ UINT *pctinfo);
  697. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  698. _ISAFRemoteDesktopSessionEvents * This,
  699. /* [in] */ UINT iTInfo,
  700. /* [in] */ LCID lcid,
  701. /* [out] */ ITypeInfo **ppTInfo);
  702. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  703. _ISAFRemoteDesktopSessionEvents * This,
  704. /* [in] */ REFIID riid,
  705. /* [size_is][in] */ LPOLESTR *rgszNames,
  706. /* [in] */ UINT cNames,
  707. /* [in] */ LCID lcid,
  708. /* [size_is][out] */ DISPID *rgDispId);
  709. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  710. _ISAFRemoteDesktopSessionEvents * This,
  711. /* [in] */ DISPID dispIdMember,
  712. /* [in] */ REFIID riid,
  713. /* [in] */ LCID lcid,
  714. /* [in] */ WORD wFlags,
  715. /* [out][in] */ DISPPARAMS *pDispParams,
  716. /* [out] */ VARIANT *pVarResult,
  717. /* [out] */ EXCEPINFO *pExcepInfo,
  718. /* [out] */ UINT *puArgErr);
  719. END_INTERFACE
  720. } _ISAFRemoteDesktopSessionEventsVtbl;
  721. interface _ISAFRemoteDesktopSessionEvents
  722. {
  723. CONST_VTBL struct _ISAFRemoteDesktopSessionEventsVtbl *lpVtbl;
  724. };
  725. #ifdef COBJMACROS
  726. #define _ISAFRemoteDesktopSessionEvents_QueryInterface(This,riid,ppvObject) \
  727. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  728. #define _ISAFRemoteDesktopSessionEvents_AddRef(This) \
  729. (This)->lpVtbl -> AddRef(This)
  730. #define _ISAFRemoteDesktopSessionEvents_Release(This) \
  731. (This)->lpVtbl -> Release(This)
  732. #define _ISAFRemoteDesktopSessionEvents_GetTypeInfoCount(This,pctinfo) \
  733. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  734. #define _ISAFRemoteDesktopSessionEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  735. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  736. #define _ISAFRemoteDesktopSessionEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  737. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  738. #define _ISAFRemoteDesktopSessionEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  739. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  740. #endif /* COBJMACROS */
  741. #endif /* C style interface */
  742. #endif /* ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__ */
  743. EXTERN_C const CLSID CLSID_SAFRemoteDesktopSession;
  744. #ifdef __cplusplus
  745. class DECLSPEC_UUID("3D5D6889-14CC-4E28-8464-6B02A26F506D")
  746. SAFRemoteDesktopSession;
  747. #endif
  748. #endif /* __RDSSERVERHOSTLib_LIBRARY_DEFINED__ */
  749. /* Additional Prototypes for ALL interfaces */
  750. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  751. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  752. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  753. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  754. /* end of Additional Prototypes */
  755. #ifdef __cplusplus
  756. }
  757. #endif
  758. #endif