Leaked source code of windows server 2003
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.

1228 lines
42 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for rdshost.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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. #define DISPID_RDSSESSION_HELPSESSIONID 8
  112. #define DISPID_RDSSESSION_USERBLOB 9
  113. #define DISPID_RDSSESSION_EXPIRATETIME 10
  114. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0000_v0_0_c_ifspec;
  115. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0000_v0_0_s_ifspec;
  116. #ifndef __ISAFRemoteDesktopSession_INTERFACE_DEFINED__
  117. #define __ISAFRemoteDesktopSession_INTERFACE_DEFINED__
  118. /* interface ISAFRemoteDesktopSession */
  119. /* [unique][helpstring][dual][uuid][object] */
  120. EXTERN_C const IID IID_ISAFRemoteDesktopSession;
  121. #if defined(__cplusplus) && !defined(CINTERFACE)
  122. MIDL_INTERFACE("9D8C82C9-A89F-42C5-8A52-FE2A77B00E82")
  123. ISAFRemoteDesktopSession : public IDispatch
  124. {
  125. public:
  126. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChannelManager(
  127. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr) = 0;
  128. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectParms(
  129. /* [retval][out] */ BSTR *parms) = 0;
  130. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SharingClass(
  131. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass) = 0;
  132. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingClass(
  133. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass) = 0;
  134. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseRemoteDesktopSession( void) = 0;
  135. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  136. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OnConnected(
  137. /* [in] */ IDispatch *iDisp) = 0;
  138. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OnDisconnected(
  139. /* [in] */ IDispatch *iDisp) = 0;
  140. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HelpSessionId(
  141. /* [retval][out] */ BSTR *HelpId) = 0;
  142. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserBlob(
  143. /* [retval][out] */ BSTR *UserBlob) = 0;
  144. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UserBlob(
  145. /* [in] */ BSTR UserBlob) = 0;
  146. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExpireTime(
  147. /* [retval][out] */ DWORD *ExpireTime) = 0;
  148. };
  149. #else /* C style interface */
  150. typedef struct ISAFRemoteDesktopSessionVtbl
  151. {
  152. BEGIN_INTERFACE
  153. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  154. ISAFRemoteDesktopSession * This,
  155. /* [in] */ REFIID riid,
  156. /* [iid_is][out] */ void **ppvObject);
  157. ULONG ( STDMETHODCALLTYPE *AddRef )(
  158. ISAFRemoteDesktopSession * This);
  159. ULONG ( STDMETHODCALLTYPE *Release )(
  160. ISAFRemoteDesktopSession * This);
  161. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  162. ISAFRemoteDesktopSession * This,
  163. /* [out] */ UINT *pctinfo);
  164. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  165. ISAFRemoteDesktopSession * This,
  166. /* [in] */ UINT iTInfo,
  167. /* [in] */ LCID lcid,
  168. /* [out] */ ITypeInfo **ppTInfo);
  169. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  170. ISAFRemoteDesktopSession * This,
  171. /* [in] */ REFIID riid,
  172. /* [size_is][in] */ LPOLESTR *rgszNames,
  173. /* [in] */ UINT cNames,
  174. /* [in] */ LCID lcid,
  175. /* [size_is][out] */ DISPID *rgDispId);
  176. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  177. ISAFRemoteDesktopSession * This,
  178. /* [in] */ DISPID dispIdMember,
  179. /* [in] */ REFIID riid,
  180. /* [in] */ LCID lcid,
  181. /* [in] */ WORD wFlags,
  182. /* [out][in] */ DISPPARAMS *pDispParams,
  183. /* [out] */ VARIANT *pVarResult,
  184. /* [out] */ EXCEPINFO *pExcepInfo,
  185. /* [out] */ UINT *puArgErr);
  186. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChannelManager )(
  187. ISAFRemoteDesktopSession * This,
  188. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr);
  189. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectParms )(
  190. ISAFRemoteDesktopSession * This,
  191. /* [retval][out] */ BSTR *parms);
  192. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SharingClass )(
  193. ISAFRemoteDesktopSession * This,
  194. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass);
  195. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingClass )(
  196. ISAFRemoteDesktopSession * This,
  197. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass);
  198. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseRemoteDesktopSession )(
  199. ISAFRemoteDesktopSession * This);
  200. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  201. ISAFRemoteDesktopSession * This);
  202. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OnConnected )(
  203. ISAFRemoteDesktopSession * This,
  204. /* [in] */ IDispatch *iDisp);
  205. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OnDisconnected )(
  206. ISAFRemoteDesktopSession * This,
  207. /* [in] */ IDispatch *iDisp);
  208. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HelpSessionId )(
  209. ISAFRemoteDesktopSession * This,
  210. /* [retval][out] */ BSTR *HelpId);
  211. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserBlob )(
  212. ISAFRemoteDesktopSession * This,
  213. /* [retval][out] */ BSTR *UserBlob);
  214. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UserBlob )(
  215. ISAFRemoteDesktopSession * This,
  216. /* [in] */ BSTR UserBlob);
  217. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExpireTime )(
  218. ISAFRemoteDesktopSession * This,
  219. /* [retval][out] */ DWORD *ExpireTime);
  220. END_INTERFACE
  221. } ISAFRemoteDesktopSessionVtbl;
  222. interface ISAFRemoteDesktopSession
  223. {
  224. CONST_VTBL struct ISAFRemoteDesktopSessionVtbl *lpVtbl;
  225. };
  226. #ifdef COBJMACROS
  227. #define ISAFRemoteDesktopSession_QueryInterface(This,riid,ppvObject) \
  228. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  229. #define ISAFRemoteDesktopSession_AddRef(This) \
  230. (This)->lpVtbl -> AddRef(This)
  231. #define ISAFRemoteDesktopSession_Release(This) \
  232. (This)->lpVtbl -> Release(This)
  233. #define ISAFRemoteDesktopSession_GetTypeInfoCount(This,pctinfo) \
  234. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  235. #define ISAFRemoteDesktopSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  236. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  237. #define ISAFRemoteDesktopSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  238. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  239. #define ISAFRemoteDesktopSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  240. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  241. #define ISAFRemoteDesktopSession_get_ChannelManager(This,mgr) \
  242. (This)->lpVtbl -> get_ChannelManager(This,mgr)
  243. #define ISAFRemoteDesktopSession_get_ConnectParms(This,parms) \
  244. (This)->lpVtbl -> get_ConnectParms(This,parms)
  245. #define ISAFRemoteDesktopSession_put_SharingClass(This,sharingClass) \
  246. (This)->lpVtbl -> put_SharingClass(This,sharingClass)
  247. #define ISAFRemoteDesktopSession_get_SharingClass(This,sharingClass) \
  248. (This)->lpVtbl -> get_SharingClass(This,sharingClass)
  249. #define ISAFRemoteDesktopSession_CloseRemoteDesktopSession(This) \
  250. (This)->lpVtbl -> CloseRemoteDesktopSession(This)
  251. #define ISAFRemoteDesktopSession_Disconnect(This) \
  252. (This)->lpVtbl -> Disconnect(This)
  253. #define ISAFRemoteDesktopSession_put_OnConnected(This,iDisp) \
  254. (This)->lpVtbl -> put_OnConnected(This,iDisp)
  255. #define ISAFRemoteDesktopSession_put_OnDisconnected(This,iDisp) \
  256. (This)->lpVtbl -> put_OnDisconnected(This,iDisp)
  257. #define ISAFRemoteDesktopSession_get_HelpSessionId(This,HelpId) \
  258. (This)->lpVtbl -> get_HelpSessionId(This,HelpId)
  259. #define ISAFRemoteDesktopSession_get_UserBlob(This,UserBlob) \
  260. (This)->lpVtbl -> get_UserBlob(This,UserBlob)
  261. #define ISAFRemoteDesktopSession_put_UserBlob(This,UserBlob) \
  262. (This)->lpVtbl -> put_UserBlob(This,UserBlob)
  263. #define ISAFRemoteDesktopSession_get_ExpireTime(This,ExpireTime) \
  264. (This)->lpVtbl -> get_ExpireTime(This,ExpireTime)
  265. #endif /* COBJMACROS */
  266. #endif /* C style interface */
  267. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_ChannelManager_Proxy(
  268. ISAFRemoteDesktopSession * This,
  269. /* [retval][out] */ ISAFRemoteDesktopChannelMgr **mgr);
  270. void __RPC_STUB ISAFRemoteDesktopSession_get_ChannelManager_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_ConnectParms_Proxy(
  276. ISAFRemoteDesktopSession * This,
  277. /* [retval][out] */ BSTR *parms);
  278. void __RPC_STUB ISAFRemoteDesktopSession_get_ConnectParms_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_SharingClass_Proxy(
  284. ISAFRemoteDesktopSession * This,
  285. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass);
  286. void __RPC_STUB ISAFRemoteDesktopSession_put_SharingClass_Stub(
  287. IRpcStubBuffer *This,
  288. IRpcChannelBuffer *_pRpcChannelBuffer,
  289. PRPC_MESSAGE _pRpcMessage,
  290. DWORD *_pdwStubPhase);
  291. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_SharingClass_Proxy(
  292. ISAFRemoteDesktopSession * This,
  293. /* [retval][out] */ REMOTE_DESKTOP_SHARING_CLASS *sharingClass);
  294. void __RPC_STUB ISAFRemoteDesktopSession_get_SharingClass_Stub(
  295. IRpcStubBuffer *This,
  296. IRpcChannelBuffer *_pRpcChannelBuffer,
  297. PRPC_MESSAGE _pRpcMessage,
  298. DWORD *_pdwStubPhase);
  299. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_CloseRemoteDesktopSession_Proxy(
  300. ISAFRemoteDesktopSession * This);
  301. void __RPC_STUB ISAFRemoteDesktopSession_CloseRemoteDesktopSession_Stub(
  302. IRpcStubBuffer *This,
  303. IRpcChannelBuffer *_pRpcChannelBuffer,
  304. PRPC_MESSAGE _pRpcMessage,
  305. DWORD *_pdwStubPhase);
  306. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_Disconnect_Proxy(
  307. ISAFRemoteDesktopSession * This);
  308. void __RPC_STUB ISAFRemoteDesktopSession_Disconnect_Stub(
  309. IRpcStubBuffer *This,
  310. IRpcChannelBuffer *_pRpcChannelBuffer,
  311. PRPC_MESSAGE _pRpcMessage,
  312. DWORD *_pdwStubPhase);
  313. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_OnConnected_Proxy(
  314. ISAFRemoteDesktopSession * This,
  315. /* [in] */ IDispatch *iDisp);
  316. void __RPC_STUB ISAFRemoteDesktopSession_put_OnConnected_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_OnDisconnected_Proxy(
  322. ISAFRemoteDesktopSession * This,
  323. /* [in] */ IDispatch *iDisp);
  324. void __RPC_STUB ISAFRemoteDesktopSession_put_OnDisconnected_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_HelpSessionId_Proxy(
  330. ISAFRemoteDesktopSession * This,
  331. /* [retval][out] */ BSTR *HelpId);
  332. void __RPC_STUB ISAFRemoteDesktopSession_get_HelpSessionId_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_UserBlob_Proxy(
  338. ISAFRemoteDesktopSession * This,
  339. /* [retval][out] */ BSTR *UserBlob);
  340. void __RPC_STUB ISAFRemoteDesktopSession_get_UserBlob_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_put_UserBlob_Proxy(
  346. ISAFRemoteDesktopSession * This,
  347. /* [in] */ BSTR UserBlob);
  348. void __RPC_STUB ISAFRemoteDesktopSession_put_UserBlob_Stub(
  349. IRpcStubBuffer *This,
  350. IRpcChannelBuffer *_pRpcChannelBuffer,
  351. PRPC_MESSAGE _pRpcMessage,
  352. DWORD *_pdwStubPhase);
  353. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopSession_get_ExpireTime_Proxy(
  354. ISAFRemoteDesktopSession * This,
  355. /* [retval][out] */ DWORD *ExpireTime);
  356. void __RPC_STUB ISAFRemoteDesktopSession_get_ExpireTime_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. #endif /* __ISAFRemoteDesktopSession_INTERFACE_DEFINED__ */
  362. #ifndef __IRDSThreadBridge_INTERFACE_DEFINED__
  363. #define __IRDSThreadBridge_INTERFACE_DEFINED__
  364. /* interface IRDSThreadBridge */
  365. /* [unique][helpstring][dual][uuid][object] */
  366. EXTERN_C const IID IID_IRDSThreadBridge;
  367. #if defined(__cplusplus) && !defined(CINTERFACE)
  368. MIDL_INTERFACE("35B9A4B1-7CA6-4aec-8762-1B590056C05D")
  369. IRDSThreadBridge : public IUnknown
  370. {
  371. public:
  372. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientConnectedNotify( void) = 0;
  373. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientDisconnectedNotify( void) = 0;
  374. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DataReadyNotify(
  375. /* [in] */ BSTR msg) = 0;
  376. };
  377. #else /* C style interface */
  378. typedef struct IRDSThreadBridgeVtbl
  379. {
  380. BEGIN_INTERFACE
  381. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  382. IRDSThreadBridge * This,
  383. /* [in] */ REFIID riid,
  384. /* [iid_is][out] */ void **ppvObject);
  385. ULONG ( STDMETHODCALLTYPE *AddRef )(
  386. IRDSThreadBridge * This);
  387. ULONG ( STDMETHODCALLTYPE *Release )(
  388. IRDSThreadBridge * This);
  389. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientConnectedNotify )(
  390. IRDSThreadBridge * This);
  391. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientDisconnectedNotify )(
  392. IRDSThreadBridge * This);
  393. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DataReadyNotify )(
  394. IRDSThreadBridge * This,
  395. /* [in] */ BSTR msg);
  396. END_INTERFACE
  397. } IRDSThreadBridgeVtbl;
  398. interface IRDSThreadBridge
  399. {
  400. CONST_VTBL struct IRDSThreadBridgeVtbl *lpVtbl;
  401. };
  402. #ifdef COBJMACROS
  403. #define IRDSThreadBridge_QueryInterface(This,riid,ppvObject) \
  404. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  405. #define IRDSThreadBridge_AddRef(This) \
  406. (This)->lpVtbl -> AddRef(This)
  407. #define IRDSThreadBridge_Release(This) \
  408. (This)->lpVtbl -> Release(This)
  409. #define IRDSThreadBridge_ClientConnectedNotify(This) \
  410. (This)->lpVtbl -> ClientConnectedNotify(This)
  411. #define IRDSThreadBridge_ClientDisconnectedNotify(This) \
  412. (This)->lpVtbl -> ClientDisconnectedNotify(This)
  413. #define IRDSThreadBridge_DataReadyNotify(This,msg) \
  414. (This)->lpVtbl -> DataReadyNotify(This,msg)
  415. #endif /* COBJMACROS */
  416. #endif /* C style interface */
  417. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_ClientConnectedNotify_Proxy(
  418. IRDSThreadBridge * This);
  419. void __RPC_STUB IRDSThreadBridge_ClientConnectedNotify_Stub(
  420. IRpcStubBuffer *This,
  421. IRpcChannelBuffer *_pRpcChannelBuffer,
  422. PRPC_MESSAGE _pRpcMessage,
  423. DWORD *_pdwStubPhase);
  424. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_ClientDisconnectedNotify_Proxy(
  425. IRDSThreadBridge * This);
  426. void __RPC_STUB IRDSThreadBridge_ClientDisconnectedNotify_Stub(
  427. IRpcStubBuffer *This,
  428. IRpcChannelBuffer *_pRpcChannelBuffer,
  429. PRPC_MESSAGE _pRpcMessage,
  430. DWORD *_pdwStubPhase);
  431. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRDSThreadBridge_DataReadyNotify_Proxy(
  432. IRDSThreadBridge * This,
  433. /* [in] */ BSTR msg);
  434. void __RPC_STUB IRDSThreadBridge_DataReadyNotify_Stub(
  435. IRpcStubBuffer *This,
  436. IRpcChannelBuffer *_pRpcChannelBuffer,
  437. PRPC_MESSAGE _pRpcMessage,
  438. DWORD *_pdwStubPhase);
  439. #endif /* __IRDSThreadBridge_INTERFACE_DEFINED__ */
  440. /* interface __MIDL_itf_rdshost_0264 */
  441. /* [local] */
  442. #define DISPID_RDSSERVERHOST_CREATERDSSESSION 1
  443. #define DISPID_RDSSERVERHOST_OPENRDSSESSION 2
  444. #define DISPID_RDSSERVERHOST_CLOSERDSSESSION 3
  445. #define DISPID_RDSSERVERHOST_DISCONNECTRDSSESSION 4
  446. #define DISPID_RDSSERVERHOST_CREATERDSSESSIONEX 5
  447. #define DISPID_RDSSERVERHOST_CONNECTEXPERT 6
  448. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0264_v0_0_c_ifspec;
  449. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0264_v0_0_s_ifspec;
  450. #ifndef __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__
  451. #define __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__
  452. /* interface ISAFRemoteDesktopServerHost */
  453. /* [unique][helpstring][dual][uuid][object] */
  454. EXTERN_C const IID IID_ISAFRemoteDesktopServerHost;
  455. #if defined(__cplusplus) && !defined(CINTERFACE)
  456. MIDL_INTERFACE("C9CCDEB3-A3DD-4673-B495-C1C89494D90E")
  457. ISAFRemoteDesktopServerHost : public IDispatch
  458. {
  459. public:
  460. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRemoteDesktopSession(
  461. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  462. /* [in] */ BOOL fEnableCallback,
  463. /* [in] */ LONG timeOut,
  464. /* [in] */ BSTR userHelpBlob,
  465. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011) = 0;
  466. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRemoteDesktopSessionEx(
  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) = 0;
  474. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenRemoteDesktopSession(
  475. /* [in] */ BSTR parms,
  476. /* [in] */ BSTR userSID,
  477. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013) = 0;
  478. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CloseRemoteDesktopSession(
  479. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014) = 0;
  480. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectToExpert(
  481. /* [in] */ BSTR expertConnectParm,
  482. /* [in] */ LONG timeout,
  483. /* [retval][out] */ LONG *SafErrorCode) = 0;
  484. };
  485. #else /* C style interface */
  486. typedef struct ISAFRemoteDesktopServerHostVtbl
  487. {
  488. BEGIN_INTERFACE
  489. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  490. ISAFRemoteDesktopServerHost * This,
  491. /* [in] */ REFIID riid,
  492. /* [iid_is][out] */ void **ppvObject);
  493. ULONG ( STDMETHODCALLTYPE *AddRef )(
  494. ISAFRemoteDesktopServerHost * This);
  495. ULONG ( STDMETHODCALLTYPE *Release )(
  496. ISAFRemoteDesktopServerHost * This);
  497. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  498. ISAFRemoteDesktopServerHost * This,
  499. /* [out] */ UINT *pctinfo);
  500. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  501. ISAFRemoteDesktopServerHost * This,
  502. /* [in] */ UINT iTInfo,
  503. /* [in] */ LCID lcid,
  504. /* [out] */ ITypeInfo **ppTInfo);
  505. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  506. ISAFRemoteDesktopServerHost * This,
  507. /* [in] */ REFIID riid,
  508. /* [size_is][in] */ LPOLESTR *rgszNames,
  509. /* [in] */ UINT cNames,
  510. /* [in] */ LCID lcid,
  511. /* [size_is][out] */ DISPID *rgDispId);
  512. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  513. ISAFRemoteDesktopServerHost * This,
  514. /* [in] */ DISPID dispIdMember,
  515. /* [in] */ REFIID riid,
  516. /* [in] */ LCID lcid,
  517. /* [in] */ WORD wFlags,
  518. /* [out][in] */ DISPPARAMS *pDispParams,
  519. /* [out] */ VARIANT *pVarResult,
  520. /* [out] */ EXCEPINFO *pExcepInfo,
  521. /* [out] */ UINT *puArgErr);
  522. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRemoteDesktopSession )(
  523. ISAFRemoteDesktopServerHost * This,
  524. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  525. /* [in] */ BOOL fEnableCallback,
  526. /* [in] */ LONG timeOut,
  527. /* [in] */ BSTR userHelpBlob,
  528. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011);
  529. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRemoteDesktopSessionEx )(
  530. ISAFRemoteDesktopServerHost * This,
  531. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  532. /* [in] */ BOOL fEnableCallback,
  533. /* [in] */ LONG timeOut,
  534. /* [in] */ BSTR userHelpBlob,
  535. /* [in] */ LONG tsSessionID,
  536. /* [in] */ BSTR userSID,
  537. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0012);
  538. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenRemoteDesktopSession )(
  539. ISAFRemoteDesktopServerHost * This,
  540. /* [in] */ BSTR parms,
  541. /* [in] */ BSTR userSID,
  542. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013);
  543. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CloseRemoteDesktopSession )(
  544. ISAFRemoteDesktopServerHost * This,
  545. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014);
  546. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectToExpert )(
  547. ISAFRemoteDesktopServerHost * This,
  548. /* [in] */ BSTR expertConnectParm,
  549. /* [in] */ LONG timeout,
  550. /* [retval][out] */ LONG *SafErrorCode);
  551. END_INTERFACE
  552. } ISAFRemoteDesktopServerHostVtbl;
  553. interface ISAFRemoteDesktopServerHost
  554. {
  555. CONST_VTBL struct ISAFRemoteDesktopServerHostVtbl *lpVtbl;
  556. };
  557. #ifdef COBJMACROS
  558. #define ISAFRemoteDesktopServerHost_QueryInterface(This,riid,ppvObject) \
  559. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  560. #define ISAFRemoteDesktopServerHost_AddRef(This) \
  561. (This)->lpVtbl -> AddRef(This)
  562. #define ISAFRemoteDesktopServerHost_Release(This) \
  563. (This)->lpVtbl -> Release(This)
  564. #define ISAFRemoteDesktopServerHost_GetTypeInfoCount(This,pctinfo) \
  565. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  566. #define ISAFRemoteDesktopServerHost_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  567. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  568. #define ISAFRemoteDesktopServerHost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  569. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  570. #define ISAFRemoteDesktopServerHost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  571. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  572. #define ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,__MIDL_0011) \
  573. (This)->lpVtbl -> CreateRemoteDesktopSession(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,__MIDL_0011)
  574. #define ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,tsSessionID,userSID,__MIDL_0012) \
  575. (This)->lpVtbl -> CreateRemoteDesktopSessionEx(This,sharingClass,fEnableCallback,timeOut,userHelpBlob,tsSessionID,userSID,__MIDL_0012)
  576. #define ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession(This,parms,userSID,__MIDL_0013) \
  577. (This)->lpVtbl -> OpenRemoteDesktopSession(This,parms,userSID,__MIDL_0013)
  578. #define ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession(This,__MIDL_0014) \
  579. (This)->lpVtbl -> CloseRemoteDesktopSession(This,__MIDL_0014)
  580. #define ISAFRemoteDesktopServerHost_ConnectToExpert(This,expertConnectParm,timeout,SafErrorCode) \
  581. (This)->lpVtbl -> ConnectToExpert(This,expertConnectParm,timeout,SafErrorCode)
  582. #endif /* COBJMACROS */
  583. #endif /* C style interface */
  584. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession_Proxy(
  585. ISAFRemoteDesktopServerHost * This,
  586. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  587. /* [in] */ BOOL fEnableCallback,
  588. /* [in] */ LONG timeOut,
  589. /* [in] */ BSTR userHelpBlob,
  590. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0011);
  591. void __RPC_STUB ISAFRemoteDesktopServerHost_CreateRemoteDesktopSession_Stub(
  592. IRpcStubBuffer *This,
  593. IRpcChannelBuffer *_pRpcChannelBuffer,
  594. PRPC_MESSAGE _pRpcMessage,
  595. DWORD *_pdwStubPhase);
  596. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx_Proxy(
  597. ISAFRemoteDesktopServerHost * This,
  598. /* [in] */ REMOTE_DESKTOP_SHARING_CLASS sharingClass,
  599. /* [in] */ BOOL fEnableCallback,
  600. /* [in] */ LONG timeOut,
  601. /* [in] */ BSTR userHelpBlob,
  602. /* [in] */ LONG tsSessionID,
  603. /* [in] */ BSTR userSID,
  604. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0012);
  605. void __RPC_STUB ISAFRemoteDesktopServerHost_CreateRemoteDesktopSessionEx_Stub(
  606. IRpcStubBuffer *This,
  607. IRpcChannelBuffer *_pRpcChannelBuffer,
  608. PRPC_MESSAGE _pRpcMessage,
  609. DWORD *_pdwStubPhase);
  610. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession_Proxy(
  611. ISAFRemoteDesktopServerHost * This,
  612. /* [in] */ BSTR parms,
  613. /* [in] */ BSTR userSID,
  614. /* [retval][out] */ ISAFRemoteDesktopSession **__MIDL_0013);
  615. void __RPC_STUB ISAFRemoteDesktopServerHost_OpenRemoteDesktopSession_Stub(
  616. IRpcStubBuffer *This,
  617. IRpcChannelBuffer *_pRpcChannelBuffer,
  618. PRPC_MESSAGE _pRpcMessage,
  619. DWORD *_pdwStubPhase);
  620. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession_Proxy(
  621. ISAFRemoteDesktopServerHost * This,
  622. /* [in] */ ISAFRemoteDesktopSession *__MIDL_0014);
  623. void __RPC_STUB ISAFRemoteDesktopServerHost_CloseRemoteDesktopSession_Stub(
  624. IRpcStubBuffer *This,
  625. IRpcChannelBuffer *_pRpcChannelBuffer,
  626. PRPC_MESSAGE _pRpcMessage,
  627. DWORD *_pdwStubPhase);
  628. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopServerHost_ConnectToExpert_Proxy(
  629. ISAFRemoteDesktopServerHost * This,
  630. /* [in] */ BSTR expertConnectParm,
  631. /* [in] */ LONG timeout,
  632. /* [retval][out] */ LONG *SafErrorCode);
  633. void __RPC_STUB ISAFRemoteDesktopServerHost_ConnectToExpert_Stub(
  634. IRpcStubBuffer *This,
  635. IRpcChannelBuffer *_pRpcChannelBuffer,
  636. PRPC_MESSAGE _pRpcMessage,
  637. DWORD *_pdwStubPhase);
  638. #endif /* __ISAFRemoteDesktopServerHost_INTERFACE_DEFINED__ */
  639. /* interface __MIDL_itf_rdshost_0265 */
  640. /* [local] */
  641. #define DISPID_RDSSESSIONSEVENTS_CLIENTCONNECTED 1
  642. #define DISPID_RDSSESSIONSEVENTS_CLIENTDISCONNECTED 2
  643. #define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1
  644. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0265_v0_0_c_ifspec;
  645. extern RPC_IF_HANDLE __MIDL_itf_rdshost_0265_v0_0_s_ifspec;
  646. #ifndef __RDSSERVERHOSTLib_LIBRARY_DEFINED__
  647. #define __RDSSERVERHOSTLib_LIBRARY_DEFINED__
  648. /* library RDSSERVERHOSTLib */
  649. /* [helpstring][version][uuid] */
  650. #define DISPID_RDSCHANNELEVENTS_CHANNELDATAREADY 1
  651. EXTERN_C const IID LIBID_RDSSERVERHOSTLib;
  652. #ifndef ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__
  653. #define ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__
  654. /* dispinterface _ISAFRemoteDesktopDataChannelEvents */
  655. /* [helpstring][uuid] */
  656. EXTERN_C const IID DIID__ISAFRemoteDesktopDataChannelEvents;
  657. #if defined(__cplusplus) && !defined(CINTERFACE)
  658. MIDL_INTERFACE("59AE79BC-9721-42df-9396-9D98E7F7A396")
  659. _ISAFRemoteDesktopDataChannelEvents : public IDispatch
  660. {
  661. };
  662. #else /* C style interface */
  663. typedef struct _ISAFRemoteDesktopDataChannelEventsVtbl
  664. {
  665. BEGIN_INTERFACE
  666. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  667. _ISAFRemoteDesktopDataChannelEvents * This,
  668. /* [in] */ REFIID riid,
  669. /* [iid_is][out] */ void **ppvObject);
  670. ULONG ( STDMETHODCALLTYPE *AddRef )(
  671. _ISAFRemoteDesktopDataChannelEvents * This);
  672. ULONG ( STDMETHODCALLTYPE *Release )(
  673. _ISAFRemoteDesktopDataChannelEvents * This);
  674. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  675. _ISAFRemoteDesktopDataChannelEvents * This,
  676. /* [out] */ UINT *pctinfo);
  677. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  678. _ISAFRemoteDesktopDataChannelEvents * This,
  679. /* [in] */ UINT iTInfo,
  680. /* [in] */ LCID lcid,
  681. /* [out] */ ITypeInfo **ppTInfo);
  682. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  683. _ISAFRemoteDesktopDataChannelEvents * This,
  684. /* [in] */ REFIID riid,
  685. /* [size_is][in] */ LPOLESTR *rgszNames,
  686. /* [in] */ UINT cNames,
  687. /* [in] */ LCID lcid,
  688. /* [size_is][out] */ DISPID *rgDispId);
  689. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  690. _ISAFRemoteDesktopDataChannelEvents * This,
  691. /* [in] */ DISPID dispIdMember,
  692. /* [in] */ REFIID riid,
  693. /* [in] */ LCID lcid,
  694. /* [in] */ WORD wFlags,
  695. /* [out][in] */ DISPPARAMS *pDispParams,
  696. /* [out] */ VARIANT *pVarResult,
  697. /* [out] */ EXCEPINFO *pExcepInfo,
  698. /* [out] */ UINT *puArgErr);
  699. END_INTERFACE
  700. } _ISAFRemoteDesktopDataChannelEventsVtbl;
  701. interface _ISAFRemoteDesktopDataChannelEvents
  702. {
  703. CONST_VTBL struct _ISAFRemoteDesktopDataChannelEventsVtbl *lpVtbl;
  704. };
  705. #ifdef COBJMACROS
  706. #define _ISAFRemoteDesktopDataChannelEvents_QueryInterface(This,riid,ppvObject) \
  707. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  708. #define _ISAFRemoteDesktopDataChannelEvents_AddRef(This) \
  709. (This)->lpVtbl -> AddRef(This)
  710. #define _ISAFRemoteDesktopDataChannelEvents_Release(This) \
  711. (This)->lpVtbl -> Release(This)
  712. #define _ISAFRemoteDesktopDataChannelEvents_GetTypeInfoCount(This,pctinfo) \
  713. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  714. #define _ISAFRemoteDesktopDataChannelEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  715. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  716. #define _ISAFRemoteDesktopDataChannelEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  717. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  718. #define _ISAFRemoteDesktopDataChannelEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  719. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  720. #endif /* COBJMACROS */
  721. #endif /* C style interface */
  722. #endif /* ___ISAFRemoteDesktopDataChannelEvents_DISPINTERFACE_DEFINED__ */
  723. EXTERN_C const CLSID CLSID_TSRDPServerDataChannel;
  724. #ifdef __cplusplus
  725. class DECLSPEC_UUID("8C71C09E-3176-4be6-B294-EA3C41CABB99")
  726. TSRDPServerDataChannel;
  727. #endif
  728. EXTERN_C const CLSID CLSID_TSRDPServerDataChannelMgr;
  729. #ifdef __cplusplus
  730. class DECLSPEC_UUID("92550D33-3272-43b6-B536-2DB08C1D569C")
  731. TSRDPServerDataChannelMgr;
  732. #endif
  733. EXTERN_C const CLSID CLSID_SAFRemoteDesktopServerHost;
  734. #ifdef __cplusplus
  735. class DECLSPEC_UUID("5EA6F67B-7713-45F3-B535-0E03DD637345")
  736. SAFRemoteDesktopServerHost;
  737. #endif
  738. #ifndef ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__
  739. #define ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__
  740. /* dispinterface _ISAFRemoteDesktopSessionEvents */
  741. /* [helpstring][uuid] */
  742. EXTERN_C const IID DIID__ISAFRemoteDesktopSessionEvents;
  743. #if defined(__cplusplus) && !defined(CINTERFACE)
  744. MIDL_INTERFACE("434AD1CF-4054-44A8-933F-C69889CA22D7")
  745. _ISAFRemoteDesktopSessionEvents : public IDispatch
  746. {
  747. };
  748. #else /* C style interface */
  749. typedef struct _ISAFRemoteDesktopSessionEventsVtbl
  750. {
  751. BEGIN_INTERFACE
  752. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  753. _ISAFRemoteDesktopSessionEvents * This,
  754. /* [in] */ REFIID riid,
  755. /* [iid_is][out] */ void **ppvObject);
  756. ULONG ( STDMETHODCALLTYPE *AddRef )(
  757. _ISAFRemoteDesktopSessionEvents * This);
  758. ULONG ( STDMETHODCALLTYPE *Release )(
  759. _ISAFRemoteDesktopSessionEvents * This);
  760. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  761. _ISAFRemoteDesktopSessionEvents * This,
  762. /* [out] */ UINT *pctinfo);
  763. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  764. _ISAFRemoteDesktopSessionEvents * This,
  765. /* [in] */ UINT iTInfo,
  766. /* [in] */ LCID lcid,
  767. /* [out] */ ITypeInfo **ppTInfo);
  768. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  769. _ISAFRemoteDesktopSessionEvents * This,
  770. /* [in] */ REFIID riid,
  771. /* [size_is][in] */ LPOLESTR *rgszNames,
  772. /* [in] */ UINT cNames,
  773. /* [in] */ LCID lcid,
  774. /* [size_is][out] */ DISPID *rgDispId);
  775. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  776. _ISAFRemoteDesktopSessionEvents * This,
  777. /* [in] */ DISPID dispIdMember,
  778. /* [in] */ REFIID riid,
  779. /* [in] */ LCID lcid,
  780. /* [in] */ WORD wFlags,
  781. /* [out][in] */ DISPPARAMS *pDispParams,
  782. /* [out] */ VARIANT *pVarResult,
  783. /* [out] */ EXCEPINFO *pExcepInfo,
  784. /* [out] */ UINT *puArgErr);
  785. END_INTERFACE
  786. } _ISAFRemoteDesktopSessionEventsVtbl;
  787. interface _ISAFRemoteDesktopSessionEvents
  788. {
  789. CONST_VTBL struct _ISAFRemoteDesktopSessionEventsVtbl *lpVtbl;
  790. };
  791. #ifdef COBJMACROS
  792. #define _ISAFRemoteDesktopSessionEvents_QueryInterface(This,riid,ppvObject) \
  793. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  794. #define _ISAFRemoteDesktopSessionEvents_AddRef(This) \
  795. (This)->lpVtbl -> AddRef(This)
  796. #define _ISAFRemoteDesktopSessionEvents_Release(This) \
  797. (This)->lpVtbl -> Release(This)
  798. #define _ISAFRemoteDesktopSessionEvents_GetTypeInfoCount(This,pctinfo) \
  799. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  800. #define _ISAFRemoteDesktopSessionEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  801. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  802. #define _ISAFRemoteDesktopSessionEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  803. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  804. #define _ISAFRemoteDesktopSessionEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  805. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  806. #endif /* COBJMACROS */
  807. #endif /* C style interface */
  808. #endif /* ___ISAFRemoteDesktopSessionEvents_DISPINTERFACE_DEFINED__ */
  809. EXTERN_C const CLSID CLSID_SAFRemoteDesktopSession;
  810. #ifdef __cplusplus
  811. class DECLSPEC_UUID("3D5D6889-14CC-4E28-8464-6B02A26F506D")
  812. SAFRemoteDesktopSession;
  813. #endif
  814. #endif /* __RDSSERVERHOSTLib_LIBRARY_DEFINED__ */
  815. /* Additional Prototypes for ALL interfaces */
  816. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  817. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  818. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  819. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  820. /* end of Additional Prototypes */
  821. #ifdef __cplusplus
  822. }
  823. #endif
  824. #endif