Source code of Windows XP (NT5)
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.

272 lines
7.1 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for wbemdcpl.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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. typedef /* [v1_enum] */
  57. enum tag_WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS
  58. { WBEM_FLAG_NOTIFY_START_STOP = 1,
  59. WBEM_FLAG_NOTIFY_QUERY_CHANGE = 2,
  60. WBEM_FLAG_CHECK_SECURITY = 4
  61. } WBEM_PSEUDO_PROVIDER_CONNECT_FLAGS;
  62. typedef /* [v1_enum] */
  63. enum tag_WBEM_PROVIDE_EVENTS_FLAGS
  64. { WBEM_FLAG_START_PROVIDING = 0,
  65. WBEM_FLAG_STOP_PROVIDING = 1
  66. } WBEM_PROVIDE_EVENTS_FLAGS;
  67. extern RPC_IF_HANDLE __MIDL_itf_wbemdcpl_0000_v0_0_c_ifspec;
  68. extern RPC_IF_HANDLE __MIDL_itf_wbemdcpl_0000_v0_0_s_ifspec;
  69. #ifndef __IWbemDecoupledEventSink_INTERFACE_DEFINED__
  70. #define __IWbemDecoupledEventSink_INTERFACE_DEFINED__
  71. /* interface IWbemDecoupledEventSink */
  72. /* [uuid][local][object] */
  73. EXTERN_C const IID IID_IWbemDecoupledEventSink;
  74. #if defined(__cplusplus) && !defined(CINTERFACE)
  75. MIDL_INTERFACE("CD94EBF2-E622-11d2-9CB3-00105A1F4801")
  76. IWbemDecoupledEventSink : public IUnknown
  77. {
  78. public:
  79. virtual HRESULT STDMETHODCALLTYPE Connect(
  80. /* [string][in] */ LPCWSTR wszNamespace,
  81. /* [string][in] */ LPCWSTR wszProviderName,
  82. /* [in] */ long lFlags,
  83. /* [out] */ IWbemObjectSink **ppSink,
  84. /* [out] */ IWbemServices **ppNamespace) = 0;
  85. virtual HRESULT STDMETHODCALLTYPE SetProviderServices(
  86. /* [in] */ IUnknown *pProviderServices,
  87. /* [in] */ long lFlags) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  89. };
  90. #else /* C style interface */
  91. typedef struct IWbemDecoupledEventSinkVtbl
  92. {
  93. BEGIN_INTERFACE
  94. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  95. IWbemDecoupledEventSink * This,
  96. /* [in] */ REFIID riid,
  97. /* [iid_is][out] */ void **ppvObject);
  98. ULONG ( STDMETHODCALLTYPE *AddRef )(
  99. IWbemDecoupledEventSink * This);
  100. ULONG ( STDMETHODCALLTYPE *Release )(
  101. IWbemDecoupledEventSink * This);
  102. HRESULT ( STDMETHODCALLTYPE *Connect )(
  103. IWbemDecoupledEventSink * This,
  104. /* [string][in] */ LPCWSTR wszNamespace,
  105. /* [string][in] */ LPCWSTR wszProviderName,
  106. /* [in] */ long lFlags,
  107. /* [out] */ IWbemObjectSink **ppSink,
  108. /* [out] */ IWbemServices **ppNamespace);
  109. HRESULT ( STDMETHODCALLTYPE *SetProviderServices )(
  110. IWbemDecoupledEventSink * This,
  111. /* [in] */ IUnknown *pProviderServices,
  112. /* [in] */ long lFlags);
  113. HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  114. IWbemDecoupledEventSink * This);
  115. END_INTERFACE
  116. } IWbemDecoupledEventSinkVtbl;
  117. interface IWbemDecoupledEventSink
  118. {
  119. CONST_VTBL struct IWbemDecoupledEventSinkVtbl *lpVtbl;
  120. };
  121. #ifdef COBJMACROS
  122. #define IWbemDecoupledEventSink_QueryInterface(This,riid,ppvObject) \
  123. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  124. #define IWbemDecoupledEventSink_AddRef(This) \
  125. (This)->lpVtbl -> AddRef(This)
  126. #define IWbemDecoupledEventSink_Release(This) \
  127. (This)->lpVtbl -> Release(This)
  128. #define IWbemDecoupledEventSink_Connect(This,wszNamespace,wszProviderName,lFlags,ppSink,ppNamespace) \
  129. (This)->lpVtbl -> Connect(This,wszNamespace,wszProviderName,lFlags,ppSink,ppNamespace)
  130. #define IWbemDecoupledEventSink_SetProviderServices(This,pProviderServices,lFlags) \
  131. (This)->lpVtbl -> SetProviderServices(This,pProviderServices,lFlags)
  132. #define IWbemDecoupledEventSink_Disconnect(This) \
  133. (This)->lpVtbl -> Disconnect(This)
  134. #endif /* COBJMACROS */
  135. #endif /* C style interface */
  136. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_Connect_Proxy(
  137. IWbemDecoupledEventSink * This,
  138. /* [string][in] */ LPCWSTR wszNamespace,
  139. /* [string][in] */ LPCWSTR wszProviderName,
  140. /* [in] */ long lFlags,
  141. /* [out] */ IWbemObjectSink **ppSink,
  142. /* [out] */ IWbemServices **ppNamespace);
  143. void __RPC_STUB IWbemDecoupledEventSink_Connect_Stub(
  144. IRpcStubBuffer *This,
  145. IRpcChannelBuffer *_pRpcChannelBuffer,
  146. PRPC_MESSAGE _pRpcMessage,
  147. DWORD *_pdwStubPhase);
  148. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_SetProviderServices_Proxy(
  149. IWbemDecoupledEventSink * This,
  150. /* [in] */ IUnknown *pProviderServices,
  151. /* [in] */ long lFlags);
  152. void __RPC_STUB IWbemDecoupledEventSink_SetProviderServices_Stub(
  153. IRpcStubBuffer *This,
  154. IRpcChannelBuffer *_pRpcChannelBuffer,
  155. PRPC_MESSAGE _pRpcMessage,
  156. DWORD *_pdwStubPhase);
  157. HRESULT STDMETHODCALLTYPE IWbemDecoupledEventSink_Disconnect_Proxy(
  158. IWbemDecoupledEventSink * This);
  159. void __RPC_STUB IWbemDecoupledEventSink_Disconnect_Stub(
  160. IRpcStubBuffer *This,
  161. IRpcChannelBuffer *_pRpcChannelBuffer,
  162. PRPC_MESSAGE _pRpcMessage,
  163. DWORD *_pdwStubPhase);
  164. #endif /* __IWbemDecoupledEventSink_INTERFACE_DEFINED__ */
  165. #ifndef __PassiveSink_LIBRARY_DEFINED__
  166. #define __PassiveSink_LIBRARY_DEFINED__
  167. /* library PassiveSink */
  168. /* [uuid] */
  169. EXTERN_C const IID LIBID_PassiveSink;
  170. EXTERN_C const CLSID CLSID_PseudoSink;
  171. #ifdef __cplusplus
  172. class DECLSPEC_UUID("E002E4F0-E6EA-11d2-9CB3-00105A1F4801")
  173. PseudoSink;
  174. #endif
  175. #endif /* __PassiveSink_LIBRARY_DEFINED__ */
  176. /* Additional Prototypes for ALL interfaces */
  177. /* end of Additional Prototypes */
  178. #ifdef __cplusplus
  179. }
  180. #endif
  181. #endif