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.

278 lines
7.8 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 wbemdcpl.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 __wbemdcpl_h__
  27. #define __wbemdcpl_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWbemDecoupledEventSink_FWD_DEFINED__
  33. #define __IWbemDecoupledEventSink_FWD_DEFINED__
  34. typedef interface IWbemDecoupledEventSink IWbemDecoupledEventSink;
  35. #endif /* __IWbemDecoupledEventSink_FWD_DEFINED__ */
  36. #ifndef __PseudoSink_FWD_DEFINED__
  37. #define __PseudoSink_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class PseudoSink PseudoSink;
  40. #else
  41. typedef struct PseudoSink PseudoSink;
  42. #endif /* __cplusplus */
  43. #endif /* __PseudoSink_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "objidl.h"
  46. #include "oleidl.h"
  47. #include "oaidl.h"
  48. #include "wbemcli.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. void * __RPC_USER MIDL_user_allocate(size_t);
  53. void __RPC_USER MIDL_user_free( void * );
  54. /* interface __MIDL_itf_wbemdcpl_0000 */
  55. /* [local] */
  56. /*******************************************************************************/
  57. /* */
  58. /* Copyright � Microsoft Corporation. All rights reserved. */
  59. /* */
  60. /*******************************************************************************/
  61. typedef /* [v1_enum] */
  62. enum tag_WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS
  63. { WBEM_FLAG_NOTIFY_START_STOP = 1,
  64. WBEM_FLAG_NOTIFY_QUERY_CHANGE = 2,
  65. WBEM_FLAG_CHECK_SECURITY = 4
  66. } WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS;
  67. typedef /* [v1_enum] */
  68. enum tag_WBEM_PROVIDE_EVENTS_FLAGS
  69. { WBEM_FLAG_START_PROVIDING = 0,
  70. WBEM_FLAG_STOP_PROVIDING = 1
  71. } WBEM_PROVIDE_EVENTS_FLAGS;
  72. extern RPC_IF_HANDLE __MIDL_itf_wbemdcpl_0000_v0_0_c_ifspec;
  73. extern RPC_IF_HANDLE __MIDL_itf_wbemdcpl_0000_v0_0_s_ifspec;
  74. #ifndef __IWbemDecoupledEventSink_INTERFACE_DEFINED__
  75. #define __IWbemDecoupledEventSink_INTERFACE_DEFINED__
  76. /* interface IWbemDecoupledEventSink */
  77. /* [uuid][local][object] */
  78. EXTERN_C const IID IID_IWbemDecoupledEventSink;
  79. #if defined(__cplusplus) && !defined(CINTERFACE)
  80. MIDL_INTERFACE("CD94EBF2-E622-11d2-9CB3-00105A1F4801")
  81. IWbemDecoupledEventSink : public IUnknown
  82. {
  83. public:
  84. virtual HRESULT STDMETHODCALLTYPE Connect(
  85. /* [string][in] */ LPCWSTR wszNamespace,
  86. /* [string][in] */ LPCWSTR wszProviderName,
  87. /* [in] */ long lFlags,
  88. /* [out] */ IWbemObjectSink **ppSink,
  89. /* [out] */ IWbemServices **ppNamespace) = 0;
  90. virtual HRESULT STDMETHODCALLTYPE SetProviderServices(
  91. /* [in] */ IUnknown *pProviderServices,
  92. /* [in] */ long lFlags) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  94. };
  95. #else /* C style interface */
  96. typedef struct IWbemDecoupledEventSinkVtbl
  97. {
  98. BEGIN_INTERFACE
  99. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  100. IWbemDecoupledEventSink * This,
  101. /* [in] */ REFIID riid,
  102. /* [iid_is][out] */ void **ppvObject);
  103. ULONG ( STDMETHODCALLTYPE *AddRef )(
  104. IWbemDecoupledEventSink * This);
  105. ULONG ( STDMETHODCALLTYPE *Release )(
  106. IWbemDecoupledEventSink * This);
  107. HRESULT ( STDMETHODCALLTYPE *Connect )(
  108. IWbemDecoupledEventSink * This,
  109. /* [string][in] */ LPCWSTR wszNamespace,
  110. /* [string][in] */ LPCWSTR wszProviderName,
  111. /* [in] */ long lFlags,
  112. /* [out] */ IWbemObjectSink **ppSink,
  113. /* [out] */ IWbemServices **ppNamespace);
  114. HRESULT ( STDMETHODCALLTYPE *SetProviderServices )(
  115. IWbemDecoupledEventSink * This,
  116. /* [in] */ IUnknown *pProviderServices,
  117. /* [in] */ long lFlags);
  118. HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  119. IWbemDecoupledEventSink * This);
  120. END_INTERFACE
  121. } IWbemDecoupledEventSinkVtbl;
  122. interface IWbemDecoupledEventSink
  123. {
  124. CONST_VTBL struct IWbemDecoupledEventSinkVtbl *lpVtbl;
  125. };
  126. #ifdef COBJMACROS
  127. #define IWbemDecoupledEventSink_QueryInterface(This,riid,ppvObject) \
  128. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  129. #define IWbemDecoupledEventSink_AddRef(This) \
  130. (This)->lpVtbl -> AddRef(This)
  131. #define IWbemDecoupledEventSink_Release(This) \
  132. (This)->lpVtbl -> Release(This)
  133. #define IWbemDecoupledEventSink_Connect(This,wszNamespace,wszProviderName,lFlags,ppSink,ppNamespace) \
  134. (This)->lpVtbl -> Connect(This,wszNamespace,wszProviderName,lFlags,ppSink,ppNamespace)
  135. #define IWbemDecoupledEventSink_SetProviderServices(This,pProviderServices,lFlags) \
  136. (This)->lpVtbl -> SetProviderServices(This,pProviderServices,lFlags)
  137. #define IWbemDecoupledEventSink_Disconnect(This) \
  138. (This)->lpVtbl -> Disconnect(This)
  139. #endif /* COBJMACROS */
  140. #endif /* C style interface */
  141. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_Connect_Proxy(
  142. IWbemDecoupledEventSink * This,
  143. /* [string][in] */ LPCWSTR wszNamespace,
  144. /* [string][in] */ LPCWSTR wszProviderName,
  145. /* [in] */ long lFlags,
  146. /* [out] */ IWbemObjectSink **ppSink,
  147. /* [out] */ IWbemServices **ppNamespace);
  148. void __RPC_STUB IWbemDecoupledEventSink_Connect_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_SetProviderServices_Proxy(
  154. IWbemDecoupledEventSink * This,
  155. /* [in] */ IUnknown *pProviderServices,
  156. /* [in] */ long lFlags);
  157. void __RPC_STUB IWbemDecoupledEventSink_SetProviderServices_Stub(
  158. IRpcStubBuffer *This,
  159. IRpcChannelBuffer *_pRpcChannelBuffer,
  160. PRPC_MESSAGE _pRpcMessage,
  161. DWORD *_pdwStubPhase);
  162. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_Disconnect_Proxy(
  163. IWbemDecoupledEventSink * This);
  164. void __RPC_STUB IWbemDecoupledEventSink_Disconnect_Stub(
  165. IRpcStubBuffer *This,
  166. IRpcChannelBuffer *_pRpcChannelBuffer,
  167. PRPC_MESSAGE _pRpcMessage,
  168. DWORD *_pdwStubPhase);
  169. #endif /* __IWbemDecoupledEventSink_INTERFACE_DEFINED__ */
  170. #ifndef __PassiveSink_LIBRARY_DEFINED__
  171. #define __PassiveSink_LIBRARY_DEFINED__
  172. /* library PassiveSink */
  173. /* [uuid] */
  174. EXTERN_C const IID LIBID_PassiveSink;
  175. EXTERN_C const CLSID CLSID_PseudoSink;
  176. #ifdef __cplusplus
  177. class DECLSPEC_UUID("E002E4F0-E6EA-11d2-9CB3-00105A1F4801")
  178. PseudoSink;
  179. #endif
  180. #endif /* __PassiveSink_LIBRARY_DEFINED__ */
  181. /* Additional Prototypes for ALL interfaces */
  182. /* end of Additional Prototypes */
  183. #ifdef __cplusplus
  184. }
  185. #endif
  186. #endif