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.

308 lines
9.3 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 wbemads.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 __wbemads_h__
  27. #define __wbemads_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMIExtension_FWD_DEFINED__
  33. #define __IWMIExtension_FWD_DEFINED__
  34. typedef interface IWMIExtension IWMIExtension;
  35. #endif /* __IWMIExtension_FWD_DEFINED__ */
  36. #ifndef __WMIExtension_FWD_DEFINED__
  37. #define __WMIExtension_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class WMIExtension WMIExtension;
  40. #else
  41. typedef struct WMIExtension WMIExtension;
  42. #endif /* __cplusplus */
  43. #endif /* __WMIExtension_FWD_DEFINED__ */
  44. #ifndef __IWMIExtension_FWD_DEFINED__
  45. #define __IWMIExtension_FWD_DEFINED__
  46. typedef interface IWMIExtension IWMIExtension;
  47. #endif /* __IWMIExtension_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oaidl.h"
  50. #include "ocidl.h"
  51. #include "wbemdisp.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. /* interface __MIDL_itf_wbemads_0000 */
  58. /* [local] */
  59. /*******************************************************************************/
  60. /* */
  61. /* Copyright � Microsoft Corporation. All rights reserved. */
  62. /* */
  63. /* IDL source for WMI ADSI extension */
  64. /* */
  65. /*******************************************************************************/
  66. extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_v0_0_c_ifspec;
  67. extern RPC_IF_HANDLE __MIDL_itf_wbemads_0000_v0_0_s_ifspec;
  68. #ifndef __WMIEXTENSIONLib_LIBRARY_DEFINED__
  69. #define __WMIEXTENSIONLib_LIBRARY_DEFINED__
  70. /* library WMIEXTENSIONLib */
  71. /* [helpstring][version][uuid] */
  72. EXTERN_C const IID LIBID_WMIEXTENSIONLib;
  73. #ifndef __IWMIExtension_INTERFACE_DEFINED__
  74. #define __IWMIExtension_INTERFACE_DEFINED__
  75. /* interface IWMIExtension */
  76. /* [unique][helpstring][dual][uuid][object] */
  77. EXTERN_C const IID IID_IWMIExtension;
  78. #if defined(__cplusplus) && !defined(CINTERFACE)
  79. MIDL_INTERFACE("adc1f06e-5c7e-11d2-8b74-00104b2afb41")
  80. IWMIExtension : public IDispatch
  81. {
  82. public:
  83. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_WMIObjectPath(
  84. /* [retval][out] */ BSTR *strWMIObjectPath) = 0;
  85. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIObject(
  86. /* [retval][out] */ ISWbemObject **objWMIObject) = 0;
  87. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIServices(
  88. /* [retval][out] */ ISWbemServices **objWMIServices) = 0;
  89. };
  90. #else /* C style interface */
  91. typedef struct IWMIExtensionVtbl
  92. {
  93. BEGIN_INTERFACE
  94. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  95. IWMIExtension * This,
  96. /* [in] */ REFIID riid,
  97. /* [iid_is][out] */ void **ppvObject);
  98. ULONG ( STDMETHODCALLTYPE *AddRef )(
  99. IWMIExtension * This);
  100. ULONG ( STDMETHODCALLTYPE *Release )(
  101. IWMIExtension * This);
  102. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  103. IWMIExtension * This,
  104. /* [out] */ UINT *pctinfo);
  105. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  106. IWMIExtension * This,
  107. /* [in] */ UINT iTInfo,
  108. /* [in] */ LCID lcid,
  109. /* [out] */ ITypeInfo **ppTInfo);
  110. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  111. IWMIExtension * This,
  112. /* [in] */ REFIID riid,
  113. /* [size_is][in] */ LPOLESTR *rgszNames,
  114. /* [in] */ UINT cNames,
  115. /* [in] */ LCID lcid,
  116. /* [size_is][out] */ DISPID *rgDispId);
  117. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  118. IWMIExtension * This,
  119. /* [in] */ DISPID dispIdMember,
  120. /* [in] */ REFIID riid,
  121. /* [in] */ LCID lcid,
  122. /* [in] */ WORD wFlags,
  123. /* [out][in] */ DISPPARAMS *pDispParams,
  124. /* [out] */ VARIANT *pVarResult,
  125. /* [out] */ EXCEPINFO *pExcepInfo,
  126. /* [out] */ UINT *puArgErr);
  127. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WMIObjectPath )(
  128. IWMIExtension * This,
  129. /* [retval][out] */ BSTR *strWMIObjectPath);
  130. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIObject )(
  131. IWMIExtension * This,
  132. /* [retval][out] */ ISWbemObject **objWMIObject);
  133. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIServices )(
  134. IWMIExtension * This,
  135. /* [retval][out] */ ISWbemServices **objWMIServices);
  136. END_INTERFACE
  137. } IWMIExtensionVtbl;
  138. interface IWMIExtension
  139. {
  140. CONST_VTBL struct IWMIExtensionVtbl *lpVtbl;
  141. };
  142. #ifdef COBJMACROS
  143. #define IWMIExtension_QueryInterface(This,riid,ppvObject) \
  144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  145. #define IWMIExtension_AddRef(This) \
  146. (This)->lpVtbl -> AddRef(This)
  147. #define IWMIExtension_Release(This) \
  148. (This)->lpVtbl -> Release(This)
  149. #define IWMIExtension_GetTypeInfoCount(This,pctinfo) \
  150. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  151. #define IWMIExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  152. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  153. #define IWMIExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  154. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  155. #define IWMIExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  156. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  157. #define IWMIExtension_get_WMIObjectPath(This,strWMIObjectPath) \
  158. (This)->lpVtbl -> get_WMIObjectPath(This,strWMIObjectPath)
  159. #define IWMIExtension_GetWMIObject(This,objWMIObject) \
  160. (This)->lpVtbl -> GetWMIObject(This,objWMIObject)
  161. #define IWMIExtension_GetWMIServices(This,objWMIServices) \
  162. (This)->lpVtbl -> GetWMIServices(This,objWMIServices)
  163. #endif /* COBJMACROS */
  164. #endif /* C style interface */
  165. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_get_WMIObjectPath_Proxy(
  166. IWMIExtension * This,
  167. /* [retval][out] */ BSTR *strWMIObjectPath);
  168. void __RPC_STUB IWMIExtension_get_WMIObjectPath_Stub(
  169. IRpcStubBuffer *This,
  170. IRpcChannelBuffer *_pRpcChannelBuffer,
  171. PRPC_MESSAGE _pRpcMessage,
  172. DWORD *_pdwStubPhase);
  173. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_GetWMIObject_Proxy(
  174. IWMIExtension * This,
  175. /* [retval][out] */ ISWbemObject **objWMIObject);
  176. void __RPC_STUB IWMIExtension_GetWMIObject_Stub(
  177. IRpcStubBuffer *This,
  178. IRpcChannelBuffer *_pRpcChannelBuffer,
  179. PRPC_MESSAGE _pRpcMessage,
  180. DWORD *_pdwStubPhase);
  181. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_GetWMIServices_Proxy(
  182. IWMIExtension * This,
  183. /* [retval][out] */ ISWbemServices **objWMIServices);
  184. void __RPC_STUB IWMIExtension_GetWMIServices_Stub(
  185. IRpcStubBuffer *This,
  186. IRpcChannelBuffer *_pRpcChannelBuffer,
  187. PRPC_MESSAGE _pRpcMessage,
  188. DWORD *_pdwStubPhase);
  189. #endif /* __IWMIExtension_INTERFACE_DEFINED__ */
  190. EXTERN_C const CLSID CLSID_WMIExtension;
  191. #ifdef __cplusplus
  192. class DECLSPEC_UUID("f0975afe-5c7f-11d2-8b74-00104b2afb41")
  193. WMIExtension;
  194. #endif
  195. #endif /* __WMIEXTENSIONLib_LIBRARY_DEFINED__ */
  196. /* Additional Prototypes for ALL interfaces */
  197. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  198. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  199. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  200. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  201. /* end of Additional Prototypes */
  202. #ifdef __cplusplus
  203. }
  204. #endif
  205. #endif