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.

614 lines
16 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 unknwn.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 __unknwn_h__
  27. #define __unknwn_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IUnknown_FWD_DEFINED__
  33. #define __IUnknown_FWD_DEFINED__
  34. typedef interface IUnknown IUnknown;
  35. #endif /* __IUnknown_FWD_DEFINED__ */
  36. #ifndef __AsyncIUnknown_FWD_DEFINED__
  37. #define __AsyncIUnknown_FWD_DEFINED__
  38. typedef interface AsyncIUnknown AsyncIUnknown;
  39. #endif /* __AsyncIUnknown_FWD_DEFINED__ */
  40. #ifndef __IClassFactory_FWD_DEFINED__
  41. #define __IClassFactory_FWD_DEFINED__
  42. typedef interface IClassFactory IClassFactory;
  43. #endif /* __IClassFactory_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "wtypes.h"
  46. #ifdef __cplusplus
  47. extern "C"{
  48. #endif
  49. void * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void * );
  51. /* interface __MIDL_itf_unknwn_0000 */
  52. /* [local] */
  53. //+-------------------------------------------------------------------------
  54. //
  55. // Microsoft Windows
  56. // Copyright (c) Microsoft Corporation. All rights reserved.
  57. //
  58. //--------------------------------------------------------------------------
  59. #if ( _MSC_VER >= 1020 )
  60. #pragma once
  61. #endif
  62. extern RPC_IF_HANDLE __MIDL_itf_unknwn_0000_v0_0_c_ifspec;
  63. extern RPC_IF_HANDLE __MIDL_itf_unknwn_0000_v0_0_s_ifspec;
  64. #ifndef __IUnknown_INTERFACE_DEFINED__
  65. #define __IUnknown_INTERFACE_DEFINED__
  66. /* interface IUnknown */
  67. /* [unique][uuid][object][local] */
  68. typedef /* [unique] */ IUnknown *LPUNKNOWN;
  69. //////////////////////////////////////////////////////////////////
  70. // IID_IUnknown and all other system IIDs are provided in UUID.LIB
  71. // Link that library in with your proxies, clients and servers
  72. //////////////////////////////////////////////////////////////////
  73. #if (_MSC_VER >= 1100) && defined(__cplusplus) && !defined(CINTERFACE)
  74. EXTERN_C const IID IID_IUnknown;
  75. extern "C++"
  76. {
  77. MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
  78. IUnknown
  79. {
  80. public:
  81. BEGIN_INTERFACE
  82. virtual HRESULT STDMETHODCALLTYPE QueryInterface(
  83. /* [in] */ REFIID riid,
  84. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
  85. virtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;
  86. virtual ULONG STDMETHODCALLTYPE Release( void) = 0;
  87. template<class Q>
  88. HRESULT STDMETHODCALLTYPE QueryInterface(Q** pp)
  89. {
  90. return QueryInterface(__uuidof(Q), (void **)pp);
  91. }
  92. END_INTERFACE
  93. };
  94. } // extern C++
  95. HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
  96. IUnknown __RPC_FAR * This,
  97. /* [in] */ REFIID riid,
  98. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  99. void __RPC_STUB IUnknown_QueryInterface_Stub(
  100. IRpcStubBuffer *This,
  101. IRpcChannelBuffer *_pRpcChannelBuffer,
  102. PRPC_MESSAGE _pRpcMessage,
  103. DWORD *_pdwStubPhase);
  104. ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
  105. IUnknown __RPC_FAR * This);
  106. void __RPC_STUB IUnknown_AddRef_Stub(
  107. IRpcStubBuffer *This,
  108. IRpcChannelBuffer *_pRpcChannelBuffer,
  109. PRPC_MESSAGE _pRpcMessage,
  110. DWORD *_pdwStubPhase);
  111. ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
  112. IUnknown __RPC_FAR * This);
  113. void __RPC_STUB IUnknown_Release_Stub(
  114. IRpcStubBuffer *This,
  115. IRpcChannelBuffer *_pRpcChannelBuffer,
  116. PRPC_MESSAGE _pRpcMessage,
  117. DWORD *_pdwStubPhase);
  118. #else
  119. EXTERN_C const IID IID_IUnknown;
  120. #if defined(__cplusplus) && !defined(CINTERFACE)
  121. MIDL_INTERFACE("00000000-0000-0000-C000-000000000046")
  122. IUnknown
  123. {
  124. public:
  125. BEGIN_INTERFACE
  126. virtual HRESULT STDMETHODCALLTYPE QueryInterface(
  127. /* [in] */ REFIID riid,
  128. /* [iid_is][out] */ void **ppvObject) = 0;
  129. virtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;
  130. virtual ULONG STDMETHODCALLTYPE Release( void) = 0;
  131. END_INTERFACE
  132. };
  133. #else /* C style interface */
  134. typedef struct IUnknownVtbl
  135. {
  136. BEGIN_INTERFACE
  137. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  138. IUnknown * This,
  139. /* [in] */ REFIID riid,
  140. /* [iid_is][out] */ void **ppvObject);
  141. ULONG ( STDMETHODCALLTYPE *AddRef )(
  142. IUnknown * This);
  143. ULONG ( STDMETHODCALLTYPE *Release )(
  144. IUnknown * This);
  145. END_INTERFACE
  146. } IUnknownVtbl;
  147. interface IUnknown
  148. {
  149. CONST_VTBL struct IUnknownVtbl *lpVtbl;
  150. };
  151. #ifdef COBJMACROS
  152. #define IUnknown_QueryInterface(This,riid,ppvObject) \
  153. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  154. #define IUnknown_AddRef(This) \
  155. (This)->lpVtbl -> AddRef(This)
  156. #define IUnknown_Release(This) \
  157. (This)->lpVtbl -> Release(This)
  158. #endif /* COBJMACROS */
  159. #endif /* C style interface */
  160. HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
  161. IUnknown * This,
  162. /* [in] */ REFIID riid,
  163. /* [iid_is][out] */ void **ppvObject);
  164. void __RPC_STUB IUnknown_QueryInterface_Stub(
  165. IRpcStubBuffer *This,
  166. IRpcChannelBuffer *_pRpcChannelBuffer,
  167. PRPC_MESSAGE _pRpcMessage,
  168. DWORD *_pdwStubPhase);
  169. ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
  170. IUnknown * This);
  171. void __RPC_STUB IUnknown_AddRef_Stub(
  172. IRpcStubBuffer *This,
  173. IRpcChannelBuffer *_pRpcChannelBuffer,
  174. PRPC_MESSAGE _pRpcMessage,
  175. DWORD *_pdwStubPhase);
  176. ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
  177. IUnknown * This);
  178. void __RPC_STUB IUnknown_Release_Stub(
  179. IRpcStubBuffer *This,
  180. IRpcChannelBuffer *_pRpcChannelBuffer,
  181. PRPC_MESSAGE _pRpcMessage,
  182. DWORD *_pdwStubPhase);
  183. #endif /* __IUnknown_INTERFACE_DEFINED__ */
  184. /* interface __MIDL_itf_unknwn_0005 */
  185. /* [local] */
  186. #endif
  187. extern RPC_IF_HANDLE __MIDL_itf_unknwn_0005_v0_0_c_ifspec;
  188. extern RPC_IF_HANDLE __MIDL_itf_unknwn_0005_v0_0_s_ifspec;
  189. #ifndef __AsyncIUnknown_INTERFACE_DEFINED__
  190. #define __AsyncIUnknown_INTERFACE_DEFINED__
  191. /* interface AsyncIUnknown */
  192. /* [unique][uuid][object][local] */
  193. EXTERN_C const IID IID_AsyncIUnknown;
  194. #if defined(__cplusplus) && !defined(CINTERFACE)
  195. MIDL_INTERFACE("000e0000-0000-0000-C000-000000000046")
  196. AsyncIUnknown : public IUnknown
  197. {
  198. public:
  199. virtual HRESULT STDMETHODCALLTYPE Begin_QueryInterface(
  200. /* [in] */ REFIID riid) = 0;
  201. virtual HRESULT STDMETHODCALLTYPE Finish_QueryInterface(
  202. /* [out] */ void **ppvObject) = 0;
  203. virtual HRESULT STDMETHODCALLTYPE Begin_AddRef( void) = 0;
  204. virtual ULONG STDMETHODCALLTYPE Finish_AddRef( void) = 0;
  205. virtual HRESULT STDMETHODCALLTYPE Begin_Release( void) = 0;
  206. virtual ULONG STDMETHODCALLTYPE Finish_Release( void) = 0;
  207. };
  208. #else /* C style interface */
  209. typedef struct AsyncIUnknownVtbl
  210. {
  211. BEGIN_INTERFACE
  212. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  213. AsyncIUnknown * This,
  214. /* [in] */ REFIID riid,
  215. /* [iid_is][out] */ void **ppvObject);
  216. ULONG ( STDMETHODCALLTYPE *AddRef )(
  217. AsyncIUnknown * This);
  218. ULONG ( STDMETHODCALLTYPE *Release )(
  219. AsyncIUnknown * This);
  220. HRESULT ( STDMETHODCALLTYPE *Begin_QueryInterface )(
  221. AsyncIUnknown * This,
  222. /* [in] */ REFIID riid);
  223. HRESULT ( STDMETHODCALLTYPE *Finish_QueryInterface )(
  224. AsyncIUnknown * This,
  225. /* [out] */ void **ppvObject);
  226. HRESULT ( STDMETHODCALLTYPE *Begin_AddRef )(
  227. AsyncIUnknown * This);
  228. ULONG ( STDMETHODCALLTYPE *Finish_AddRef )(
  229. AsyncIUnknown * This);
  230. HRESULT ( STDMETHODCALLTYPE *Begin_Release )(
  231. AsyncIUnknown * This);
  232. ULONG ( STDMETHODCALLTYPE *Finish_Release )(
  233. AsyncIUnknown * This);
  234. END_INTERFACE
  235. } AsyncIUnknownVtbl;
  236. interface AsyncIUnknown
  237. {
  238. CONST_VTBL struct AsyncIUnknownVtbl *lpVtbl;
  239. };
  240. #ifdef COBJMACROS
  241. #define AsyncIUnknown_QueryInterface(This,riid,ppvObject) \
  242. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  243. #define AsyncIUnknown_AddRef(This) \
  244. (This)->lpVtbl -> AddRef(This)
  245. #define AsyncIUnknown_Release(This) \
  246. (This)->lpVtbl -> Release(This)
  247. #define AsyncIUnknown_Begin_QueryInterface(This,riid) \
  248. (This)->lpVtbl -> Begin_QueryInterface(This,riid)
  249. #define AsyncIUnknown_Finish_QueryInterface(This,ppvObject) \
  250. (This)->lpVtbl -> Finish_QueryInterface(This,ppvObject)
  251. #define AsyncIUnknown_Begin_AddRef(This) \
  252. (This)->lpVtbl -> Begin_AddRef(This)
  253. #define AsyncIUnknown_Finish_AddRef(This) \
  254. (This)->lpVtbl -> Finish_AddRef(This)
  255. #define AsyncIUnknown_Begin_Release(This) \
  256. (This)->lpVtbl -> Begin_Release(This)
  257. #define AsyncIUnknown_Finish_Release(This) \
  258. (This)->lpVtbl -> Finish_Release(This)
  259. #endif /* COBJMACROS */
  260. #endif /* C style interface */
  261. HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_QueryInterface_Proxy(
  262. AsyncIUnknown * This,
  263. /* [in] */ REFIID riid);
  264. void __RPC_STUB AsyncIUnknown_Begin_QueryInterface_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE AsyncIUnknown_Finish_QueryInterface_Proxy(
  270. AsyncIUnknown * This,
  271. /* [out] */ void **ppvObject);
  272. void __RPC_STUB AsyncIUnknown_Finish_QueryInterface_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_AddRef_Proxy(
  278. AsyncIUnknown * This);
  279. void __RPC_STUB AsyncIUnknown_Begin_AddRef_Stub(
  280. IRpcStubBuffer *This,
  281. IRpcChannelBuffer *_pRpcChannelBuffer,
  282. PRPC_MESSAGE _pRpcMessage,
  283. DWORD *_pdwStubPhase);
  284. ULONG STDMETHODCALLTYPE AsyncIUnknown_Finish_AddRef_Proxy(
  285. AsyncIUnknown * This);
  286. void __RPC_STUB AsyncIUnknown_Finish_AddRef_Stub(
  287. IRpcStubBuffer *This,
  288. IRpcChannelBuffer *_pRpcChannelBuffer,
  289. PRPC_MESSAGE _pRpcMessage,
  290. DWORD *_pdwStubPhase);
  291. HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_Release_Proxy(
  292. AsyncIUnknown * This);
  293. void __RPC_STUB AsyncIUnknown_Begin_Release_Stub(
  294. IRpcStubBuffer *This,
  295. IRpcChannelBuffer *_pRpcChannelBuffer,
  296. PRPC_MESSAGE _pRpcMessage,
  297. DWORD *_pdwStubPhase);
  298. ULONG STDMETHODCALLTYPE AsyncIUnknown_Finish_Release_Proxy(
  299. AsyncIUnknown * This);
  300. void __RPC_STUB AsyncIUnknown_Finish_Release_Stub(
  301. IRpcStubBuffer *This,
  302. IRpcChannelBuffer *_pRpcChannelBuffer,
  303. PRPC_MESSAGE _pRpcMessage,
  304. DWORD *_pdwStubPhase);
  305. #endif /* __AsyncIUnknown_INTERFACE_DEFINED__ */
  306. #ifndef __IClassFactory_INTERFACE_DEFINED__
  307. #define __IClassFactory_INTERFACE_DEFINED__
  308. /* interface IClassFactory */
  309. /* [unique][uuid][object] */
  310. typedef /* [unique] */ IClassFactory *LPCLASSFACTORY;
  311. EXTERN_C const IID IID_IClassFactory;
  312. #if defined(__cplusplus) && !defined(CINTERFACE)
  313. MIDL_INTERFACE("00000001-0000-0000-C000-000000000046")
  314. IClassFactory : public IUnknown
  315. {
  316. public:
  317. virtual /* [local] */ HRESULT STDMETHODCALLTYPE CreateInstance(
  318. /* [unique][in] */ IUnknown *pUnkOuter,
  319. /* [in] */ REFIID riid,
  320. /* [iid_is][out] */ void **ppvObject) = 0;
  321. virtual /* [local] */ HRESULT STDMETHODCALLTYPE LockServer(
  322. /* [in] */ BOOL fLock) = 0;
  323. };
  324. #else /* C style interface */
  325. typedef struct IClassFactoryVtbl
  326. {
  327. BEGIN_INTERFACE
  328. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  329. IClassFactory * This,
  330. /* [in] */ REFIID riid,
  331. /* [iid_is][out] */ void **ppvObject);
  332. ULONG ( STDMETHODCALLTYPE *AddRef )(
  333. IClassFactory * This);
  334. ULONG ( STDMETHODCALLTYPE *Release )(
  335. IClassFactory * This);
  336. /* [local] */ HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
  337. IClassFactory * This,
  338. /* [unique][in] */ IUnknown *pUnkOuter,
  339. /* [in] */ REFIID riid,
  340. /* [iid_is][out] */ void **ppvObject);
  341. /* [local] */ HRESULT ( STDMETHODCALLTYPE *LockServer )(
  342. IClassFactory * This,
  343. /* [in] */ BOOL fLock);
  344. END_INTERFACE
  345. } IClassFactoryVtbl;
  346. interface IClassFactory
  347. {
  348. CONST_VTBL struct IClassFactoryVtbl *lpVtbl;
  349. };
  350. #ifdef COBJMACROS
  351. #define IClassFactory_QueryInterface(This,riid,ppvObject) \
  352. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  353. #define IClassFactory_AddRef(This) \
  354. (This)->lpVtbl -> AddRef(This)
  355. #define IClassFactory_Release(This) \
  356. (This)->lpVtbl -> Release(This)
  357. #define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) \
  358. (This)->lpVtbl -> CreateInstance(This,pUnkOuter,riid,ppvObject)
  359. #define IClassFactory_LockServer(This,fLock) \
  360. (This)->lpVtbl -> LockServer(This,fLock)
  361. #endif /* COBJMACROS */
  362. #endif /* C style interface */
  363. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
  364. IClassFactory * This,
  365. /* [in] */ REFIID riid,
  366. /* [iid_is][out] */ IUnknown **ppvObject);
  367. void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
  368. IRpcStubBuffer *This,
  369. IRpcChannelBuffer *_pRpcChannelBuffer,
  370. PRPC_MESSAGE _pRpcMessage,
  371. DWORD *_pdwStubPhase);
  372. /* [call_as] */ HRESULT __stdcall IClassFactory_RemoteLockServer_Proxy(
  373. IClassFactory * This,
  374. /* [in] */ BOOL fLock);
  375. void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
  376. IRpcStubBuffer *This,
  377. IRpcChannelBuffer *_pRpcChannelBuffer,
  378. PRPC_MESSAGE _pRpcMessage,
  379. DWORD *_pdwStubPhase);
  380. #endif /* __IClassFactory_INTERFACE_DEFINED__ */
  381. /* Additional Prototypes for ALL interfaces */
  382. /* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory_CreateInstance_Proxy(
  383. IClassFactory * This,
  384. /* [unique][in] */ IUnknown *pUnkOuter,
  385. /* [in] */ REFIID riid,
  386. /* [iid_is][out] */ void **ppvObject);
  387. /* [call_as] */ HRESULT STDMETHODCALLTYPE IClassFactory_CreateInstance_Stub(
  388. IClassFactory * This,
  389. /* [in] */ REFIID riid,
  390. /* [iid_is][out] */ IUnknown **ppvObject);
  391. /* [local] */ HRESULT STDMETHODCALLTYPE IClassFactory_LockServer_Proxy(
  392. IClassFactory * This,
  393. /* [in] */ BOOL fLock);
  394. /* [call_as] */ HRESULT __stdcall IClassFactory_LockServer_Stub(
  395. IClassFactory * This,
  396. /* [in] */ BOOL fLock);
  397. /* end of Additional Prototypes */
  398. #ifdef __cplusplus
  399. }
  400. #endif
  401. #endif