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.

292 lines
8.2 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 wbemads.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 __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. #ifndef __WMIEXTENSIONLib_LIBRARY_DEFINED__
  58. #define __WMIEXTENSIONLib_LIBRARY_DEFINED__
  59. /* library WMIEXTENSIONLib */
  60. /* [helpstring][version][uuid] */
  61. EXTERN_C const IID LIBID_WMIEXTENSIONLib;
  62. #ifndef __IWMIExtension_INTERFACE_DEFINED__
  63. #define __IWMIExtension_INTERFACE_DEFINED__
  64. /* interface IWMIExtension */
  65. /* [unique][helpstring][dual][uuid][object] */
  66. EXTERN_C const IID IID_IWMIExtension;
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68. MIDL_INTERFACE("adc1f06e-5c7e-11d2-8b74-00104b2afb41")
  69. IWMIExtension : public IDispatch
  70. {
  71. public:
  72. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_WMIObjectPath(
  73. /* [retval][out] */ BSTR *strWMIObjectPath) = 0;
  74. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIObject(
  75. /* [retval][out] */ ISWbemObject **objWMIObject) = 0;
  76. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWMIServices(
  77. /* [retval][out] */ ISWbemServices **objWMIServices) = 0;
  78. };
  79. #else /* C style interface */
  80. typedef struct IWMIExtensionVtbl
  81. {
  82. BEGIN_INTERFACE
  83. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  84. IWMIExtension * This,
  85. /* [in] */ REFIID riid,
  86. /* [iid_is][out] */ void **ppvObject);
  87. ULONG ( STDMETHODCALLTYPE *AddRef )(
  88. IWMIExtension * This);
  89. ULONG ( STDMETHODCALLTYPE *Release )(
  90. IWMIExtension * This);
  91. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  92. IWMIExtension * This,
  93. /* [out] */ UINT *pctinfo);
  94. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  95. IWMIExtension * This,
  96. /* [in] */ UINT iTInfo,
  97. /* [in] */ LCID lcid,
  98. /* [out] */ ITypeInfo **ppTInfo);
  99. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  100. IWMIExtension * This,
  101. /* [in] */ REFIID riid,
  102. /* [size_is][in] */ LPOLESTR *rgszNames,
  103. /* [in] */ UINT cNames,
  104. /* [in] */ LCID lcid,
  105. /* [size_is][out] */ DISPID *rgDispId);
  106. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  107. IWMIExtension * This,
  108. /* [in] */ DISPID dispIdMember,
  109. /* [in] */ REFIID riid,
  110. /* [in] */ LCID lcid,
  111. /* [in] */ WORD wFlags,
  112. /* [out][in] */ DISPPARAMS *pDispParams,
  113. /* [out] */ VARIANT *pVarResult,
  114. /* [out] */ EXCEPINFO *pExcepInfo,
  115. /* [out] */ UINT *puArgErr);
  116. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WMIObjectPath )(
  117. IWMIExtension * This,
  118. /* [retval][out] */ BSTR *strWMIObjectPath);
  119. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIObject )(
  120. IWMIExtension * This,
  121. /* [retval][out] */ ISWbemObject **objWMIObject);
  122. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWMIServices )(
  123. IWMIExtension * This,
  124. /* [retval][out] */ ISWbemServices **objWMIServices);
  125. END_INTERFACE
  126. } IWMIExtensionVtbl;
  127. interface IWMIExtension
  128. {
  129. CONST_VTBL struct IWMIExtensionVtbl *lpVtbl;
  130. };
  131. #ifdef COBJMACROS
  132. #define IWMIExtension_QueryInterface(This,riid,ppvObject) \
  133. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  134. #define IWMIExtension_AddRef(This) \
  135. (This)->lpVtbl -> AddRef(This)
  136. #define IWMIExtension_Release(This) \
  137. (This)->lpVtbl -> Release(This)
  138. #define IWMIExtension_GetTypeInfoCount(This,pctinfo) \
  139. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  140. #define IWMIExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  141. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  142. #define IWMIExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  143. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  144. #define IWMIExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  145. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  146. #define IWMIExtension_get_WMIObjectPath(This,strWMIObjectPath) \
  147. (This)->lpVtbl -> get_WMIObjectPath(This,strWMIObjectPath)
  148. #define IWMIExtension_GetWMIObject(This,objWMIObject) \
  149. (This)->lpVtbl -> GetWMIObject(This,objWMIObject)
  150. #define IWMIExtension_GetWMIServices(This,objWMIServices) \
  151. (This)->lpVtbl -> GetWMIServices(This,objWMIServices)
  152. #endif /* COBJMACROS */
  153. #endif /* C style interface */
  154. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_get_WMIObjectPath_Proxy(
  155. IWMIExtension * This,
  156. /* [retval][out] */ BSTR *strWMIObjectPath);
  157. void __RPC_STUB IWMIExtension_get_WMIObjectPath_Stub(
  158. IRpcStubBuffer *This,
  159. IRpcChannelBuffer *_pRpcChannelBuffer,
  160. PRPC_MESSAGE _pRpcMessage,
  161. DWORD *_pdwStubPhase);
  162. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_GetWMIObject_Proxy(
  163. IWMIExtension * This,
  164. /* [retval][out] */ ISWbemObject **objWMIObject);
  165. void __RPC_STUB IWMIExtension_GetWMIObject_Stub(
  166. IRpcStubBuffer *This,
  167. IRpcChannelBuffer *_pRpcChannelBuffer,
  168. PRPC_MESSAGE _pRpcMessage,
  169. DWORD *_pdwStubPhase);
  170. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMIExtension_GetWMIServices_Proxy(
  171. IWMIExtension * This,
  172. /* [retval][out] */ ISWbemServices **objWMIServices);
  173. void __RPC_STUB IWMIExtension_GetWMIServices_Stub(
  174. IRpcStubBuffer *This,
  175. IRpcChannelBuffer *_pRpcChannelBuffer,
  176. PRPC_MESSAGE _pRpcMessage,
  177. DWORD *_pdwStubPhase);
  178. #endif /* __IWMIExtension_INTERFACE_DEFINED__ */
  179. EXTERN_C const CLSID CLSID_WMIExtension;
  180. #ifdef __cplusplus
  181. class DECLSPEC_UUID("f0975afe-5c7f-11d2-8b74-00104b2afb41")
  182. WMIExtension;
  183. #endif
  184. #endif /* __WMIEXTENSIONLib_LIBRARY_DEFINED__ */
  185. /* Additional Prototypes for ALL interfaces */
  186. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  187. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  188. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  189. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  190. /* end of Additional Prototypes */
  191. #ifdef __cplusplus
  192. }
  193. #endif
  194. #endif