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.

442 lines
14 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 rdschan.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 __rdschan_h__
  27. #define __rdschan_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISAFRemoteDesktopDataChannel_FWD_DEFINED__
  33. #define __ISAFRemoteDesktopDataChannel_FWD_DEFINED__
  34. typedef interface ISAFRemoteDesktopDataChannel ISAFRemoteDesktopDataChannel;
  35. #endif /* __ISAFRemoteDesktopDataChannel_FWD_DEFINED__ */
  36. #ifndef __ISAFRemoteDesktopChannelMgr_FWD_DEFINED__
  37. #define __ISAFRemoteDesktopChannelMgr_FWD_DEFINED__
  38. typedef interface ISAFRemoteDesktopChannelMgr ISAFRemoteDesktopChannelMgr;
  39. #endif /* __ISAFRemoteDesktopChannelMgr_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "ocidl.h"
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif
  46. void * __RPC_USER MIDL_user_allocate(size_t);
  47. void __RPC_USER MIDL_user_free( void * );
  48. /* interface __MIDL_itf_rdschan_0000 */
  49. /* [local] */
  50. #define DISPID_RDSDATACHANNEL_CHANNELNAME 1
  51. #define DISPID_RDSDATACHANNEL_ONCHANNELDATAREADY 2
  52. #define DISPID_RDSDATACHANNEL_SENDCHANNELDATA 3
  53. #define DISPID_RDSDATACHANNEL_RECEIVECHANNELDATA 4
  54. extern RPC_IF_HANDLE __MIDL_itf_rdschan_0000_v0_0_c_ifspec;
  55. extern RPC_IF_HANDLE __MIDL_itf_rdschan_0000_v0_0_s_ifspec;
  56. #ifndef __ISAFRemoteDesktopDataChannel_INTERFACE_DEFINED__
  57. #define __ISAFRemoteDesktopDataChannel_INTERFACE_DEFINED__
  58. /* interface ISAFRemoteDesktopDataChannel */
  59. /* [unique][helpstring][dual][uuid][object] */
  60. EXTERN_C const IID IID_ISAFRemoteDesktopDataChannel;
  61. #if defined(__cplusplus) && !defined(CINTERFACE)
  62. MIDL_INTERFACE("64976FAE-B108-4095-8E59-5874E00E562A")
  63. ISAFRemoteDesktopDataChannel : public IDispatch
  64. {
  65. public:
  66. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChannelName(
  67. /* [retval][out] */ BSTR *name) = 0;
  68. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OnChannelDataReady(
  69. /* [in] */ IDispatch *iDisp) = 0;
  70. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendChannelData(
  71. /* [in] */ BSTR data) = 0;
  72. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReceiveChannelData(
  73. /* [retval][out] */ BSTR *data) = 0;
  74. };
  75. #else /* C style interface */
  76. typedef struct ISAFRemoteDesktopDataChannelVtbl
  77. {
  78. BEGIN_INTERFACE
  79. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  80. ISAFRemoteDesktopDataChannel * This,
  81. /* [in] */ REFIID riid,
  82. /* [iid_is][out] */ void **ppvObject);
  83. ULONG ( STDMETHODCALLTYPE *AddRef )(
  84. ISAFRemoteDesktopDataChannel * This);
  85. ULONG ( STDMETHODCALLTYPE *Release )(
  86. ISAFRemoteDesktopDataChannel * This);
  87. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  88. ISAFRemoteDesktopDataChannel * This,
  89. /* [out] */ UINT *pctinfo);
  90. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  91. ISAFRemoteDesktopDataChannel * This,
  92. /* [in] */ UINT iTInfo,
  93. /* [in] */ LCID lcid,
  94. /* [out] */ ITypeInfo **ppTInfo);
  95. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  96. ISAFRemoteDesktopDataChannel * This,
  97. /* [in] */ REFIID riid,
  98. /* [size_is][in] */ LPOLESTR *rgszNames,
  99. /* [in] */ UINT cNames,
  100. /* [in] */ LCID lcid,
  101. /* [size_is][out] */ DISPID *rgDispId);
  102. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  103. ISAFRemoteDesktopDataChannel * This,
  104. /* [in] */ DISPID dispIdMember,
  105. /* [in] */ REFIID riid,
  106. /* [in] */ LCID lcid,
  107. /* [in] */ WORD wFlags,
  108. /* [out][in] */ DISPPARAMS *pDispParams,
  109. /* [out] */ VARIANT *pVarResult,
  110. /* [out] */ EXCEPINFO *pExcepInfo,
  111. /* [out] */ UINT *puArgErr);
  112. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChannelName )(
  113. ISAFRemoteDesktopDataChannel * This,
  114. /* [retval][out] */ BSTR *name);
  115. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OnChannelDataReady )(
  116. ISAFRemoteDesktopDataChannel * This,
  117. /* [in] */ IDispatch *iDisp);
  118. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendChannelData )(
  119. ISAFRemoteDesktopDataChannel * This,
  120. /* [in] */ BSTR data);
  121. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReceiveChannelData )(
  122. ISAFRemoteDesktopDataChannel * This,
  123. /* [retval][out] */ BSTR *data);
  124. END_INTERFACE
  125. } ISAFRemoteDesktopDataChannelVtbl;
  126. interface ISAFRemoteDesktopDataChannel
  127. {
  128. CONST_VTBL struct ISAFRemoteDesktopDataChannelVtbl *lpVtbl;
  129. };
  130. #ifdef COBJMACROS
  131. #define ISAFRemoteDesktopDataChannel_QueryInterface(This,riid,ppvObject) \
  132. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  133. #define ISAFRemoteDesktopDataChannel_AddRef(This) \
  134. (This)->lpVtbl -> AddRef(This)
  135. #define ISAFRemoteDesktopDataChannel_Release(This) \
  136. (This)->lpVtbl -> Release(This)
  137. #define ISAFRemoteDesktopDataChannel_GetTypeInfoCount(This,pctinfo) \
  138. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  139. #define ISAFRemoteDesktopDataChannel_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  140. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  141. #define ISAFRemoteDesktopDataChannel_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  142. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  143. #define ISAFRemoteDesktopDataChannel_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  144. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  145. #define ISAFRemoteDesktopDataChannel_get_ChannelName(This,name) \
  146. (This)->lpVtbl -> get_ChannelName(This,name)
  147. #define ISAFRemoteDesktopDataChannel_put_OnChannelDataReady(This,iDisp) \
  148. (This)->lpVtbl -> put_OnChannelDataReady(This,iDisp)
  149. #define ISAFRemoteDesktopDataChannel_SendChannelData(This,data) \
  150. (This)->lpVtbl -> SendChannelData(This,data)
  151. #define ISAFRemoteDesktopDataChannel_ReceiveChannelData(This,data) \
  152. (This)->lpVtbl -> ReceiveChannelData(This,data)
  153. #endif /* COBJMACROS */
  154. #endif /* C style interface */
  155. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopDataChannel_get_ChannelName_Proxy(
  156. ISAFRemoteDesktopDataChannel * This,
  157. /* [retval][out] */ BSTR *name);
  158. void __RPC_STUB ISAFRemoteDesktopDataChannel_get_ChannelName_Stub(
  159. IRpcStubBuffer *This,
  160. IRpcChannelBuffer *_pRpcChannelBuffer,
  161. PRPC_MESSAGE _pRpcMessage,
  162. DWORD *_pdwStubPhase);
  163. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopDataChannel_put_OnChannelDataReady_Proxy(
  164. ISAFRemoteDesktopDataChannel * This,
  165. /* [in] */ IDispatch *iDisp);
  166. void __RPC_STUB ISAFRemoteDesktopDataChannel_put_OnChannelDataReady_Stub(
  167. IRpcStubBuffer *This,
  168. IRpcChannelBuffer *_pRpcChannelBuffer,
  169. PRPC_MESSAGE _pRpcMessage,
  170. DWORD *_pdwStubPhase);
  171. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopDataChannel_SendChannelData_Proxy(
  172. ISAFRemoteDesktopDataChannel * This,
  173. /* [in] */ BSTR data);
  174. void __RPC_STUB ISAFRemoteDesktopDataChannel_SendChannelData_Stub(
  175. IRpcStubBuffer *This,
  176. IRpcChannelBuffer *_pRpcChannelBuffer,
  177. PRPC_MESSAGE _pRpcMessage,
  178. DWORD *_pdwStubPhase);
  179. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopDataChannel_ReceiveChannelData_Proxy(
  180. ISAFRemoteDesktopDataChannel * This,
  181. /* [retval][out] */ BSTR *data);
  182. void __RPC_STUB ISAFRemoteDesktopDataChannel_ReceiveChannelData_Stub(
  183. IRpcStubBuffer *This,
  184. IRpcChannelBuffer *_pRpcChannelBuffer,
  185. PRPC_MESSAGE _pRpcMessage,
  186. DWORD *_pdwStubPhase);
  187. #endif /* __ISAFRemoteDesktopDataChannel_INTERFACE_DEFINED__ */
  188. /* interface __MIDL_itf_rdschan_0258 */
  189. /* [local] */
  190. #define DISPID_RDSCHANNELMANAGER_OPENDATACHANNEL 1
  191. extern RPC_IF_HANDLE __MIDL_itf_rdschan_0258_v0_0_c_ifspec;
  192. extern RPC_IF_HANDLE __MIDL_itf_rdschan_0258_v0_0_s_ifspec;
  193. #ifndef __ISAFRemoteDesktopChannelMgr_INTERFACE_DEFINED__
  194. #define __ISAFRemoteDesktopChannelMgr_INTERFACE_DEFINED__
  195. /* interface ISAFRemoteDesktopChannelMgr */
  196. /* [unique][helpstring][dual][uuid][object] */
  197. EXTERN_C const IID IID_ISAFRemoteDesktopChannelMgr;
  198. #if defined(__cplusplus) && !defined(CINTERFACE)
  199. MIDL_INTERFACE("8E6E0954-33CE-4945-ACF7-6728D23B2067")
  200. ISAFRemoteDesktopChannelMgr : public IDispatch
  201. {
  202. public:
  203. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OpenDataChannel(
  204. /* [in] */ BSTR name,
  205. /* [retval][out] */ ISAFRemoteDesktopDataChannel **channel) = 0;
  206. };
  207. #else /* C style interface */
  208. typedef struct ISAFRemoteDesktopChannelMgrVtbl
  209. {
  210. BEGIN_INTERFACE
  211. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  212. ISAFRemoteDesktopChannelMgr * This,
  213. /* [in] */ REFIID riid,
  214. /* [iid_is][out] */ void **ppvObject);
  215. ULONG ( STDMETHODCALLTYPE *AddRef )(
  216. ISAFRemoteDesktopChannelMgr * This);
  217. ULONG ( STDMETHODCALLTYPE *Release )(
  218. ISAFRemoteDesktopChannelMgr * This);
  219. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  220. ISAFRemoteDesktopChannelMgr * This,
  221. /* [out] */ UINT *pctinfo);
  222. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  223. ISAFRemoteDesktopChannelMgr * This,
  224. /* [in] */ UINT iTInfo,
  225. /* [in] */ LCID lcid,
  226. /* [out] */ ITypeInfo **ppTInfo);
  227. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  228. ISAFRemoteDesktopChannelMgr * This,
  229. /* [in] */ REFIID riid,
  230. /* [size_is][in] */ LPOLESTR *rgszNames,
  231. /* [in] */ UINT cNames,
  232. /* [in] */ LCID lcid,
  233. /* [size_is][out] */ DISPID *rgDispId);
  234. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  235. ISAFRemoteDesktopChannelMgr * This,
  236. /* [in] */ DISPID dispIdMember,
  237. /* [in] */ REFIID riid,
  238. /* [in] */ LCID lcid,
  239. /* [in] */ WORD wFlags,
  240. /* [out][in] */ DISPPARAMS *pDispParams,
  241. /* [out] */ VARIANT *pVarResult,
  242. /* [out] */ EXCEPINFO *pExcepInfo,
  243. /* [out] */ UINT *puArgErr);
  244. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OpenDataChannel )(
  245. ISAFRemoteDesktopChannelMgr * This,
  246. /* [in] */ BSTR name,
  247. /* [retval][out] */ ISAFRemoteDesktopDataChannel **channel);
  248. END_INTERFACE
  249. } ISAFRemoteDesktopChannelMgrVtbl;
  250. interface ISAFRemoteDesktopChannelMgr
  251. {
  252. CONST_VTBL struct ISAFRemoteDesktopChannelMgrVtbl *lpVtbl;
  253. };
  254. #ifdef COBJMACROS
  255. #define ISAFRemoteDesktopChannelMgr_QueryInterface(This,riid,ppvObject) \
  256. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  257. #define ISAFRemoteDesktopChannelMgr_AddRef(This) \
  258. (This)->lpVtbl -> AddRef(This)
  259. #define ISAFRemoteDesktopChannelMgr_Release(This) \
  260. (This)->lpVtbl -> Release(This)
  261. #define ISAFRemoteDesktopChannelMgr_GetTypeInfoCount(This,pctinfo) \
  262. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  263. #define ISAFRemoteDesktopChannelMgr_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  264. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  265. #define ISAFRemoteDesktopChannelMgr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  266. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  267. #define ISAFRemoteDesktopChannelMgr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  268. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  269. #define ISAFRemoteDesktopChannelMgr_OpenDataChannel(This,name,channel) \
  270. (This)->lpVtbl -> OpenDataChannel(This,name,channel)
  271. #endif /* COBJMACROS */
  272. #endif /* C style interface */
  273. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISAFRemoteDesktopChannelMgr_OpenDataChannel_Proxy(
  274. ISAFRemoteDesktopChannelMgr * This,
  275. /* [in] */ BSTR name,
  276. /* [retval][out] */ ISAFRemoteDesktopDataChannel **channel);
  277. void __RPC_STUB ISAFRemoteDesktopChannelMgr_OpenDataChannel_Stub(
  278. IRpcStubBuffer *This,
  279. IRpcChannelBuffer *_pRpcChannelBuffer,
  280. PRPC_MESSAGE _pRpcMessage,
  281. DWORD *_pdwStubPhase);
  282. #endif /* __ISAFRemoteDesktopChannelMgr_INTERFACE_DEFINED__ */
  283. /* Additional Prototypes for ALL interfaces */
  284. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  285. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  286. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  287. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  288. /* end of Additional Prototypes */
  289. #ifdef __cplusplus
  290. }
  291. #endif
  292. #endif