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.

648 lines
17 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 bidispl.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 __bidispl_h__
  27. #define __bidispl_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IBidiRequest_FWD_DEFINED__
  33. #define __IBidiRequest_FWD_DEFINED__
  34. typedef interface IBidiRequest IBidiRequest;
  35. #endif /* __IBidiRequest_FWD_DEFINED__ */
  36. #ifndef __IBidiRequestContainer_FWD_DEFINED__
  37. #define __IBidiRequestContainer_FWD_DEFINED__
  38. typedef interface IBidiRequestContainer IBidiRequestContainer;
  39. #endif /* __IBidiRequestContainer_FWD_DEFINED__ */
  40. #ifndef __IBidiSpl_FWD_DEFINED__
  41. #define __IBidiSpl_FWD_DEFINED__
  42. typedef interface IBidiSpl IBidiSpl;
  43. #endif /* __IBidiSpl_FWD_DEFINED__ */
  44. #ifndef __BidiRequest_FWD_DEFINED__
  45. #define __BidiRequest_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class BidiRequest BidiRequest;
  48. #else
  49. typedef struct BidiRequest BidiRequest;
  50. #endif /* __cplusplus */
  51. #endif /* __BidiRequest_FWD_DEFINED__ */
  52. #ifndef __BidiRequestContainer_FWD_DEFINED__
  53. #define __BidiRequestContainer_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class BidiRequestContainer BidiRequestContainer;
  56. #else
  57. typedef struct BidiRequestContainer BidiRequestContainer;
  58. #endif /* __cplusplus */
  59. #endif /* __BidiRequestContainer_FWD_DEFINED__ */
  60. #ifndef __BidiSpl_FWD_DEFINED__
  61. #define __BidiSpl_FWD_DEFINED__
  62. #ifdef __cplusplus
  63. typedef class BidiSpl BidiSpl;
  64. #else
  65. typedef struct BidiSpl BidiSpl;
  66. #endif /* __cplusplus */
  67. #endif /* __BidiSpl_FWD_DEFINED__ */
  68. /* header files for imported files */
  69. #include "oaidl.h"
  70. #include "ocidl.h"
  71. #ifdef __cplusplus
  72. extern "C"{
  73. #endif
  74. void * __RPC_USER MIDL_user_allocate(size_t);
  75. void __RPC_USER MIDL_user_free( void * );
  76. #ifndef __IBidiRequest_INTERFACE_DEFINED__
  77. #define __IBidiRequest_INTERFACE_DEFINED__
  78. /* interface IBidiRequest */
  79. /* [unique][helpstring][uuid][object] */
  80. EXTERN_C const IID IID_IBidiRequest;
  81. #if defined(__cplusplus) && !defined(CINTERFACE)
  82. MIDL_INTERFACE("8F348BD7-4B47-4755-8A9D-0F422DF3DC89")
  83. IBidiRequest : public IUnknown
  84. {
  85. public:
  86. virtual HRESULT STDMETHODCALLTYPE SetSchema(
  87. /* [in] */ const LPCWSTR pszSchema) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE SetInputData(
  89. /* [in] */ const DWORD dwType,
  90. /* [in] */ const BYTE *pData,
  91. /* [in] */ const UINT uSize) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE GetResult(
  93. /* [out] */ HRESULT *phr) = 0;
  94. virtual HRESULT STDMETHODCALLTYPE GetOutputData(
  95. /* [in] */ const DWORD dwIndex,
  96. /* [out] */ LPWSTR *ppszSchema,
  97. /* [out] */ DWORD *pdwType,
  98. /* [out] */ BYTE **ppData,
  99. /* [out] */ ULONG *uSize) = 0;
  100. virtual HRESULT STDMETHODCALLTYPE GetEnumCount(
  101. /* [out] */ DWORD *pdwTotal) = 0;
  102. };
  103. #else /* C style interface */
  104. typedef struct IBidiRequestVtbl
  105. {
  106. BEGIN_INTERFACE
  107. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  108. IBidiRequest * This,
  109. /* [in] */ REFIID riid,
  110. /* [iid_is][out] */ void **ppvObject);
  111. ULONG ( STDMETHODCALLTYPE *AddRef )(
  112. IBidiRequest * This);
  113. ULONG ( STDMETHODCALLTYPE *Release )(
  114. IBidiRequest * This);
  115. HRESULT ( STDMETHODCALLTYPE *SetSchema )(
  116. IBidiRequest * This,
  117. /* [in] */ const LPCWSTR pszSchema);
  118. HRESULT ( STDMETHODCALLTYPE *SetInputData )(
  119. IBidiRequest * This,
  120. /* [in] */ const DWORD dwType,
  121. /* [in] */ const BYTE *pData,
  122. /* [in] */ const UINT uSize);
  123. HRESULT ( STDMETHODCALLTYPE *GetResult )(
  124. IBidiRequest * This,
  125. /* [out] */ HRESULT *phr);
  126. HRESULT ( STDMETHODCALLTYPE *GetOutputData )(
  127. IBidiRequest * This,
  128. /* [in] */ const DWORD dwIndex,
  129. /* [out] */ LPWSTR *ppszSchema,
  130. /* [out] */ DWORD *pdwType,
  131. /* [out] */ BYTE **ppData,
  132. /* [out] */ ULONG *uSize);
  133. HRESULT ( STDMETHODCALLTYPE *GetEnumCount )(
  134. IBidiRequest * This,
  135. /* [out] */ DWORD *pdwTotal);
  136. END_INTERFACE
  137. } IBidiRequestVtbl;
  138. interface IBidiRequest
  139. {
  140. CONST_VTBL struct IBidiRequestVtbl *lpVtbl;
  141. };
  142. #ifdef COBJMACROS
  143. #define IBidiRequest_QueryInterface(This,riid,ppvObject) \
  144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  145. #define IBidiRequest_AddRef(This) \
  146. (This)->lpVtbl -> AddRef(This)
  147. #define IBidiRequest_Release(This) \
  148. (This)->lpVtbl -> Release(This)
  149. #define IBidiRequest_SetSchema(This,pszSchema) \
  150. (This)->lpVtbl -> SetSchema(This,pszSchema)
  151. #define IBidiRequest_SetInputData(This,dwType,pData,uSize) \
  152. (This)->lpVtbl -> SetInputData(This,dwType,pData,uSize)
  153. #define IBidiRequest_GetResult(This,phr) \
  154. (This)->lpVtbl -> GetResult(This,phr)
  155. #define IBidiRequest_GetOutputData(This,dwIndex,ppszSchema,pdwType,ppData,uSize) \
  156. (This)->lpVtbl -> GetOutputData(This,dwIndex,ppszSchema,pdwType,ppData,uSize)
  157. #define IBidiRequest_GetEnumCount(This,pdwTotal) \
  158. (This)->lpVtbl -> GetEnumCount(This,pdwTotal)
  159. #endif /* COBJMACROS */
  160. #endif /* C style interface */
  161. HRESULT STDMETHODCALLTYPE IBidiRequest_SetSchema_Proxy(
  162. IBidiRequest * This,
  163. /* [in] */ const LPCWSTR pszSchema);
  164. void __RPC_STUB IBidiRequest_SetSchema_Stub(
  165. IRpcStubBuffer *This,
  166. IRpcChannelBuffer *_pRpcChannelBuffer,
  167. PRPC_MESSAGE _pRpcMessage,
  168. DWORD *_pdwStubPhase);
  169. HRESULT STDMETHODCALLTYPE IBidiRequest_SetInputData_Proxy(
  170. IBidiRequest * This,
  171. /* [in] */ const DWORD dwType,
  172. /* [in] */ const BYTE *pData,
  173. /* [in] */ const UINT uSize);
  174. void __RPC_STUB IBidiRequest_SetInputData_Stub(
  175. IRpcStubBuffer *This,
  176. IRpcChannelBuffer *_pRpcChannelBuffer,
  177. PRPC_MESSAGE _pRpcMessage,
  178. DWORD *_pdwStubPhase);
  179. HRESULT STDMETHODCALLTYPE IBidiRequest_GetResult_Proxy(
  180. IBidiRequest * This,
  181. /* [out] */ HRESULT *phr);
  182. void __RPC_STUB IBidiRequest_GetResult_Stub(
  183. IRpcStubBuffer *This,
  184. IRpcChannelBuffer *_pRpcChannelBuffer,
  185. PRPC_MESSAGE _pRpcMessage,
  186. DWORD *_pdwStubPhase);
  187. HRESULT STDMETHODCALLTYPE IBidiRequest_GetOutputData_Proxy(
  188. IBidiRequest * This,
  189. /* [in] */ const DWORD dwIndex,
  190. /* [out] */ LPWSTR *ppszSchema,
  191. /* [out] */ DWORD *pdwType,
  192. /* [out] */ BYTE **ppData,
  193. /* [out] */ ULONG *uSize);
  194. void __RPC_STUB IBidiRequest_GetOutputData_Stub(
  195. IRpcStubBuffer *This,
  196. IRpcChannelBuffer *_pRpcChannelBuffer,
  197. PRPC_MESSAGE _pRpcMessage,
  198. DWORD *_pdwStubPhase);
  199. HRESULT STDMETHODCALLTYPE IBidiRequest_GetEnumCount_Proxy(
  200. IBidiRequest * This,
  201. /* [out] */ DWORD *pdwTotal);
  202. void __RPC_STUB IBidiRequest_GetEnumCount_Stub(
  203. IRpcStubBuffer *This,
  204. IRpcChannelBuffer *_pRpcChannelBuffer,
  205. PRPC_MESSAGE _pRpcMessage,
  206. DWORD *_pdwStubPhase);
  207. #endif /* __IBidiRequest_INTERFACE_DEFINED__ */
  208. #ifndef __IBidiRequestContainer_INTERFACE_DEFINED__
  209. #define __IBidiRequestContainer_INTERFACE_DEFINED__
  210. /* interface IBidiRequestContainer */
  211. /* [unique][helpstring][uuid][object] */
  212. EXTERN_C const IID IID_IBidiRequestContainer;
  213. #if defined(__cplusplus) && !defined(CINTERFACE)
  214. MIDL_INTERFACE("D752F6C0-94A8-4275-A77D-8F1D1A1121AE")
  215. IBidiRequestContainer : public IUnknown
  216. {
  217. public:
  218. virtual HRESULT STDMETHODCALLTYPE AddRequest(
  219. /* [in] */ IBidiRequest *pRequest) = 0;
  220. virtual HRESULT STDMETHODCALLTYPE GetEnumObject(
  221. /* [out] */ IEnumUnknown **ppenum) = 0;
  222. virtual HRESULT STDMETHODCALLTYPE GetRequestCount(
  223. /* [out] */ ULONG *puCount) = 0;
  224. };
  225. #else /* C style interface */
  226. typedef struct IBidiRequestContainerVtbl
  227. {
  228. BEGIN_INTERFACE
  229. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  230. IBidiRequestContainer * This,
  231. /* [in] */ REFIID riid,
  232. /* [iid_is][out] */ void **ppvObject);
  233. ULONG ( STDMETHODCALLTYPE *AddRef )(
  234. IBidiRequestContainer * This);
  235. ULONG ( STDMETHODCALLTYPE *Release )(
  236. IBidiRequestContainer * This);
  237. HRESULT ( STDMETHODCALLTYPE *AddRequest )(
  238. IBidiRequestContainer * This,
  239. /* [in] */ IBidiRequest *pRequest);
  240. HRESULT ( STDMETHODCALLTYPE *GetEnumObject )(
  241. IBidiRequestContainer * This,
  242. /* [out] */ IEnumUnknown **ppenum);
  243. HRESULT ( STDMETHODCALLTYPE *GetRequestCount )(
  244. IBidiRequestContainer * This,
  245. /* [out] */ ULONG *puCount);
  246. END_INTERFACE
  247. } IBidiRequestContainerVtbl;
  248. interface IBidiRequestContainer
  249. {
  250. CONST_VTBL struct IBidiRequestContainerVtbl *lpVtbl;
  251. };
  252. #ifdef COBJMACROS
  253. #define IBidiRequestContainer_QueryInterface(This,riid,ppvObject) \
  254. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  255. #define IBidiRequestContainer_AddRef(This) \
  256. (This)->lpVtbl -> AddRef(This)
  257. #define IBidiRequestContainer_Release(This) \
  258. (This)->lpVtbl -> Release(This)
  259. #define IBidiRequestContainer_AddRequest(This,pRequest) \
  260. (This)->lpVtbl -> AddRequest(This,pRequest)
  261. #define IBidiRequestContainer_GetEnumObject(This,ppenum) \
  262. (This)->lpVtbl -> GetEnumObject(This,ppenum)
  263. #define IBidiRequestContainer_GetRequestCount(This,puCount) \
  264. (This)->lpVtbl -> GetRequestCount(This,puCount)
  265. #endif /* COBJMACROS */
  266. #endif /* C style interface */
  267. HRESULT STDMETHODCALLTYPE IBidiRequestContainer_AddRequest_Proxy(
  268. IBidiRequestContainer * This,
  269. /* [in] */ IBidiRequest *pRequest);
  270. void __RPC_STUB IBidiRequestContainer_AddRequest_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. HRESULT STDMETHODCALLTYPE IBidiRequestContainer_GetEnumObject_Proxy(
  276. IBidiRequestContainer * This,
  277. /* [out] */ IEnumUnknown **ppenum);
  278. void __RPC_STUB IBidiRequestContainer_GetEnumObject_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. HRESULT STDMETHODCALLTYPE IBidiRequestContainer_GetRequestCount_Proxy(
  284. IBidiRequestContainer * This,
  285. /* [out] */ ULONG *puCount);
  286. void __RPC_STUB IBidiRequestContainer_GetRequestCount_Stub(
  287. IRpcStubBuffer *This,
  288. IRpcChannelBuffer *_pRpcChannelBuffer,
  289. PRPC_MESSAGE _pRpcMessage,
  290. DWORD *_pdwStubPhase);
  291. #endif /* __IBidiRequestContainer_INTERFACE_DEFINED__ */
  292. #ifndef __IBidiSpl_INTERFACE_DEFINED__
  293. #define __IBidiSpl_INTERFACE_DEFINED__
  294. /* interface IBidiSpl */
  295. /* [unique][helpstring][uuid][object] */
  296. EXTERN_C const IID IID_IBidiSpl;
  297. #if defined(__cplusplus) && !defined(CINTERFACE)
  298. MIDL_INTERFACE("D580DC0E-DE39-4649-BAA8-BF0B85A03A97")
  299. IBidiSpl : public IUnknown
  300. {
  301. public:
  302. virtual HRESULT STDMETHODCALLTYPE BindDevice(
  303. /* [in] */ const LPCWSTR pszDeviceName,
  304. /* [in] */ const DWORD dwAccess) = 0;
  305. virtual HRESULT STDMETHODCALLTYPE UnbindDevice( void) = 0;
  306. virtual HRESULT STDMETHODCALLTYPE SendRecv(
  307. /* [in] */ const LPCWSTR pszAction,
  308. /* [in] */ IBidiRequest *pRequest) = 0;
  309. virtual HRESULT STDMETHODCALLTYPE MultiSendRecv(
  310. /* [in] */ const LPCWSTR pszAction,
  311. /* [in] */ IBidiRequestContainer *pRequestContainer) = 0;
  312. };
  313. #else /* C style interface */
  314. typedef struct IBidiSplVtbl
  315. {
  316. BEGIN_INTERFACE
  317. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  318. IBidiSpl * This,
  319. /* [in] */ REFIID riid,
  320. /* [iid_is][out] */ void **ppvObject);
  321. ULONG ( STDMETHODCALLTYPE *AddRef )(
  322. IBidiSpl * This);
  323. ULONG ( STDMETHODCALLTYPE *Release )(
  324. IBidiSpl * This);
  325. HRESULT ( STDMETHODCALLTYPE *BindDevice )(
  326. IBidiSpl * This,
  327. /* [in] */ const LPCWSTR pszDeviceName,
  328. /* [in] */ const DWORD dwAccess);
  329. HRESULT ( STDMETHODCALLTYPE *UnbindDevice )(
  330. IBidiSpl * This);
  331. HRESULT ( STDMETHODCALLTYPE *SendRecv )(
  332. IBidiSpl * This,
  333. /* [in] */ const LPCWSTR pszAction,
  334. /* [in] */ IBidiRequest *pRequest);
  335. HRESULT ( STDMETHODCALLTYPE *MultiSendRecv )(
  336. IBidiSpl * This,
  337. /* [in] */ const LPCWSTR pszAction,
  338. /* [in] */ IBidiRequestContainer *pRequestContainer);
  339. END_INTERFACE
  340. } IBidiSplVtbl;
  341. interface IBidiSpl
  342. {
  343. CONST_VTBL struct IBidiSplVtbl *lpVtbl;
  344. };
  345. #ifdef COBJMACROS
  346. #define IBidiSpl_QueryInterface(This,riid,ppvObject) \
  347. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  348. #define IBidiSpl_AddRef(This) \
  349. (This)->lpVtbl -> AddRef(This)
  350. #define IBidiSpl_Release(This) \
  351. (This)->lpVtbl -> Release(This)
  352. #define IBidiSpl_BindDevice(This,pszDeviceName,dwAccess) \
  353. (This)->lpVtbl -> BindDevice(This,pszDeviceName,dwAccess)
  354. #define IBidiSpl_UnbindDevice(This) \
  355. (This)->lpVtbl -> UnbindDevice(This)
  356. #define IBidiSpl_SendRecv(This,pszAction,pRequest) \
  357. (This)->lpVtbl -> SendRecv(This,pszAction,pRequest)
  358. #define IBidiSpl_MultiSendRecv(This,pszAction,pRequestContainer) \
  359. (This)->lpVtbl -> MultiSendRecv(This,pszAction,pRequestContainer)
  360. #endif /* COBJMACROS */
  361. #endif /* C style interface */
  362. HRESULT STDMETHODCALLTYPE IBidiSpl_BindDevice_Proxy(
  363. IBidiSpl * This,
  364. /* [in] */ const LPCWSTR pszDeviceName,
  365. /* [in] */ const DWORD dwAccess);
  366. void __RPC_STUB IBidiSpl_BindDevice_Stub(
  367. IRpcStubBuffer *This,
  368. IRpcChannelBuffer *_pRpcChannelBuffer,
  369. PRPC_MESSAGE _pRpcMessage,
  370. DWORD *_pdwStubPhase);
  371. HRESULT STDMETHODCALLTYPE IBidiSpl_UnbindDevice_Proxy(
  372. IBidiSpl * This);
  373. void __RPC_STUB IBidiSpl_UnbindDevice_Stub(
  374. IRpcStubBuffer *This,
  375. IRpcChannelBuffer *_pRpcChannelBuffer,
  376. PRPC_MESSAGE _pRpcMessage,
  377. DWORD *_pdwStubPhase);
  378. HRESULT STDMETHODCALLTYPE IBidiSpl_SendRecv_Proxy(
  379. IBidiSpl * This,
  380. /* [in] */ const LPCWSTR pszAction,
  381. /* [in] */ IBidiRequest *pRequest);
  382. void __RPC_STUB IBidiSpl_SendRecv_Stub(
  383. IRpcStubBuffer *This,
  384. IRpcChannelBuffer *_pRpcChannelBuffer,
  385. PRPC_MESSAGE _pRpcMessage,
  386. DWORD *_pdwStubPhase);
  387. HRESULT STDMETHODCALLTYPE IBidiSpl_MultiSendRecv_Proxy(
  388. IBidiSpl * This,
  389. /* [in] */ const LPCWSTR pszAction,
  390. /* [in] */ IBidiRequestContainer *pRequestContainer);
  391. void __RPC_STUB IBidiSpl_MultiSendRecv_Stub(
  392. IRpcStubBuffer *This,
  393. IRpcChannelBuffer *_pRpcChannelBuffer,
  394. PRPC_MESSAGE _pRpcMessage,
  395. DWORD *_pdwStubPhase);
  396. #endif /* __IBidiSpl_INTERFACE_DEFINED__ */
  397. #ifndef __IBidiSplLib_LIBRARY_DEFINED__
  398. #define __IBidiSplLib_LIBRARY_DEFINED__
  399. /* library IBidiSplLib */
  400. /* [helpstring][version][uuid] */
  401. EXTERN_C const IID LIBID_IBidiSplLib;
  402. EXTERN_C const CLSID CLSID_BidiRequest;
  403. #ifdef __cplusplus
  404. class DECLSPEC_UUID("B9162A23-45F9-47cc-80F5-FE0FE9B9E1A2")
  405. BidiRequest;
  406. #endif
  407. EXTERN_C const CLSID CLSID_BidiRequestContainer;
  408. #ifdef __cplusplus
  409. class DECLSPEC_UUID("FC5B8A24-DB05-4a01-8388-22EDF6C2BBBA")
  410. BidiRequestContainer;
  411. #endif
  412. EXTERN_C const CLSID CLSID_BidiSpl;
  413. #ifdef __cplusplus
  414. class DECLSPEC_UUID("2A614240-A4C5-4c33-BD87-1BC709331639")
  415. BidiSpl;
  416. #endif
  417. #endif /* __IBidiSplLib_LIBRARY_DEFINED__ */
  418. /* Additional Prototypes for ALL interfaces */
  419. /* end of Additional Prototypes */
  420. #ifdef __cplusplus
  421. }
  422. #endif
  423. #endif