| 1 | /*** Autogenerated by WIDL 6.4 from include/wbemads.idl - Do not edit ***/ | 
 
 
 
 
 | 2 |  | 
 
 
 
 
 | 3 | #ifdef _WIN32 | 
 
 
 
 
 | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 
 
 
 
 
 | 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | 
 
 
 
 
 | 6 | #endif | 
 
 
 
 
 | 7 | #include <rpc.h> | 
 
 
 
 
 | 8 | #include <rpcndr.h> | 
 
 
 
 
 | 9 | #endif | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | #ifndef COM_NO_WINDOWS_H | 
 
 
 
 
 | 12 | #include <windows.h> | 
 
 
 
 
 | 13 | #include <ole2.h> | 
 
 
 
 
 | 14 | #endif | 
 
 
 
 
 | 15 |  | 
 
 
 
 
 | 16 | #ifndef __wbemads_h__ | 
 
 
 
 
 | 17 | #define __wbemads_h__ | 
 
 
 
 
 | 18 |  | 
 
 
 
 
 | 19 | /* Forward declarations */ | 
 
 
 
 
 | 20 |  | 
 
 
 
 
 | 21 | #ifndef __WMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 22 | #define __WMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 23 | #ifdef __cplusplus | 
 
 
 
 
 | 24 | typedef class WMIExtension WMIExtension; | 
 
 
 
 
 | 25 | #else | 
 
 
 
 
 | 26 | typedef struct WMIExtension WMIExtension; | 
 
 
 
 
 | 27 | #endif /* defined __cplusplus */ | 
 
 
 
 
 | 28 | #endif /* defined __WMIExtension_FWD_DEFINED__ */ | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | #ifndef __IWMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 31 | #define __IWMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 32 | typedef interface IWMIExtension IWMIExtension; | 
 
 
 
 
 | 33 | #ifdef __cplusplus | 
 
 
 
 
 | 34 | interface IWMIExtension; | 
 
 
 
 
 | 35 | #endif /* __cplusplus */ | 
 
 
 
 
 | 36 | #endif | 
 
 
 
 
 | 37 |  | 
 
 
 
 
 | 38 | /* Headers for imported files */ | 
 
 
 
 
 | 39 |  | 
 
 
 
 
 | 40 | #include <oaidl.h> | 
 
 
 
 
 | 41 | #include <ocidl.h> | 
 
 
 
 
 | 42 | #include <wbemdisp.h> | 
 
 
 
 
 | 43 |  | 
 
 
 
 
 | 44 | #ifdef __cplusplus | 
 
 
 
 
 | 45 | extern "C" { | 
 
 
 
 
 | 46 | #endif | 
 
 
 
 
 | 47 |  | 
 
 
 
 
 | 48 | /** | 
 
 
 
 
 | 49 | * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 | 50 | * No warranty is given; refer to the file DISCLAIMER within this package. | 
 
 
 
 
 | 51 | */ | 
 
 
 
 
 | 52 |  | 
 
 
 
 
 | 53 | #include <winapifamily.h> | 
 
 
 
 
 | 54 |  | 
 
 
 
 
 | 55 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | 
 
 
 
 
 | 56 | #ifndef __WMIEXTENSIONLib_LIBRARY_DEFINED__ | 
 
 
 
 
 | 57 | #define __WMIEXTENSIONLib_LIBRARY_DEFINED__ | 
 
 
 
 
 | 58 |  | 
 
 
 
 
 | 59 | DEFINE_GUID(LIBID_WMIEXTENSIONLib, 0xe503d000, 0x5c7f, 0x11d2, 0x8b,0x74, 0x00,0x10,0x4b,0x2a,0xfb,0x41); | 
 
 
 
 
 | 60 |  | 
 
 
 
 
 | 61 | #ifndef __IWMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 62 | #define __IWMIExtension_FWD_DEFINED__ | 
 
 
 
 
 | 63 | typedef interface IWMIExtension IWMIExtension; | 
 
 
 
 
 | 64 | #ifdef __cplusplus | 
 
 
 
 
 | 65 | interface IWMIExtension; | 
 
 
 
 
 | 66 | #endif /* __cplusplus */ | 
 
 
 
 
 | 67 | #endif | 
 
 
 
 
 | 68 |  | 
 
 
 
 
 | 69 | /***************************************************************************** | 
 
 
 
 
 | 70 | * WMIExtension coclass | 
 
 
 
 
 | 71 | */ | 
 
 
 
 
 | 72 |  | 
 
 
 
 
 | 73 | DEFINE_GUID(CLSID_WMIExtension, 0xf0975afe, 0x5c7f, 0x11d2, 0x8b,0x74, 0x00,0x10,0x4b,0x2a,0xfb,0x41); | 
 
 
 
 
 | 74 |  | 
 
 
 
 
 | 75 | #ifdef __cplusplus | 
 
 
 
 
 | 76 | class DECLSPEC_UUID("f0975afe-5c7f-11d2-8b74-00104b2afb41") WMIExtension; | 
 
 
 
 
 | 77 | #ifdef __CRT_UUID_DECL | 
 
 
 
 
 | 78 | __CRT_UUID_DECL(WMIExtension, 0xf0975afe, 0x5c7f, 0x11d2, 0x8b,0x74, 0x00,0x10,0x4b,0x2a,0xfb,0x41) | 
 
 
 
 
 | 79 | #endif | 
 
 
 
 
 | 80 | #endif | 
 
 
 
 
 | 81 |  | 
 
 
 
 
 | 82 | #endif /* __WMIEXTENSIONLib_LIBRARY_DEFINED__ */ | 
 
 
 
 
 | 83 | /***************************************************************************** | 
 
 
 
 
 | 84 | * IWMIExtension interface | 
 
 
 
 
 | 85 | */ | 
 
 
 
 
 | 86 | #ifndef __IWMIExtension_INTERFACE_DEFINED__ | 
 
 
 
 
 | 87 | #define __IWMIExtension_INTERFACE_DEFINED__ | 
 
 
 
 
 | 88 |  | 
 
 
 
 
 | 89 | DEFINE_GUID(IID_IWMIExtension, 0xadc1f06e, 0x5c7e, 0x11d2, 0x8b,0x74, 0x00,0x10,0x4b,0x2a,0xfb,0x41); | 
 
 
 
 
 | 90 | #if defined(__cplusplus) && !defined(CINTERFACE) | 
 
 
 
 
 | 91 | MIDL_INTERFACE("adc1f06e-5c7e-11d2-8b74-00104b2afb41") | 
 
 
 
 
 | 92 | IWMIExtension : public IDispatch | 
 
 
 
 
 | 93 | { | 
 
 
 
 
 | 94 | virtual HRESULT STDMETHODCALLTYPE get_WMIObjectPath( | 
 
 
 
 
 | 95 | BSTR *strWMIObjectPath) = 0; | 
 
 
 
 
 | 96 |  | 
 
 
 
 
 | 97 | virtual HRESULT STDMETHODCALLTYPE GetWMIObject( | 
 
 
 
 
 | 98 | ISWbemObject **objWMIObject) = 0; | 
 
 
 
 
 | 99 |  | 
 
 
 
 
 | 100 | virtual HRESULT STDMETHODCALLTYPE GetWMIServices( | 
 
 
 
 
 | 101 | ISWbemServices **objWMIServices) = 0; | 
 
 
 
 
 | 102 |  | 
 
 
 
 
 | 103 | }; | 
 
 
 
 
 | 104 | #ifdef __CRT_UUID_DECL | 
 
 
 
 
 | 105 | __CRT_UUID_DECL(IWMIExtension, 0xadc1f06e, 0x5c7e, 0x11d2, 0x8b,0x74, 0x00,0x10,0x4b,0x2a,0xfb,0x41) | 
 
 
 
 
 | 106 | #endif | 
 
 
 
 
 | 107 | #else | 
 
 
 
 
 | 108 | typedef struct IWMIExtensionVtbl { | 
 
 
 
 
 | 109 | BEGIN_INTERFACE | 
 
 
 
 
 | 110 |  | 
 
 
 
 
 | 111 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 112 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | 
 
 
 
 
 | 113 | IWMIExtension *This, | 
 
 
 
 
 | 114 | REFIID riid, | 
 
 
 
 
 | 115 | void **ppvObject); | 
 
 
 
 
 | 116 |  | 
 
 
 
 
 | 117 | ULONG (STDMETHODCALLTYPE *AddRef)( | 
 
 
 
 
 | 118 | IWMIExtension *This); | 
 
 
 
 
 | 119 |  | 
 
 
 
 
 | 120 | ULONG (STDMETHODCALLTYPE *Release)( | 
 
 
 
 
 | 121 | IWMIExtension *This); | 
 
 
 
 
 | 122 |  | 
 
 
 
 
 | 123 | /*** IDispatch methods ***/ | 
 
 
 
 
 | 124 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | 
 
 
 
 
 | 125 | IWMIExtension *This, | 
 
 
 
 
 | 126 | UINT *pctinfo); | 
 
 
 
 
 | 127 |  | 
 
 
 
 
 | 128 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | 
 
 
 
 
 | 129 | IWMIExtension *This, | 
 
 
 
 
 | 130 | UINT iTInfo, | 
 
 
 
 
 | 131 | LCID lcid, | 
 
 
 
 
 | 132 | ITypeInfo **ppTInfo); | 
 
 
 
 
 | 133 |  | 
 
 
 
 
 | 134 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | 
 
 
 
 
 | 135 | IWMIExtension *This, | 
 
 
 
 
 | 136 | REFIID riid, | 
 
 
 
 
 | 137 | LPOLESTR *rgszNames, | 
 
 
 
 
 | 138 | UINT cNames, | 
 
 
 
 
 | 139 | LCID lcid, | 
 
 
 
 
 | 140 | DISPID *rgDispId); | 
 
 
 
 
 | 141 |  | 
 
 
 
 
 | 142 | HRESULT (STDMETHODCALLTYPE *Invoke)( | 
 
 
 
 
 | 143 | IWMIExtension *This, | 
 
 
 
 
 | 144 | DISPID dispIdMember, | 
 
 
 
 
 | 145 | REFIID riid, | 
 
 
 
 
 | 146 | LCID lcid, | 
 
 
 
 
 | 147 | WORD wFlags, | 
 
 
 
 
 | 148 | DISPPARAMS *pDispParams, | 
 
 
 
 
 | 149 | VARIANT *pVarResult, | 
 
 
 
 
 | 150 | EXCEPINFO *pExcepInfo, | 
 
 
 
 
 | 151 | UINT *puArgErr); | 
 
 
 
 
 | 152 |  | 
 
 
 
 
 | 153 | /*** IWMIExtension methods ***/ | 
 
 
 
 
 | 154 | HRESULT (STDMETHODCALLTYPE *get_WMIObjectPath)( | 
 
 
 
 
 | 155 | IWMIExtension *This, | 
 
 
 
 
 | 156 | BSTR *strWMIObjectPath); | 
 
 
 
 
 | 157 |  | 
 
 
 
 
 | 158 | HRESULT (STDMETHODCALLTYPE *GetWMIObject)( | 
 
 
 
 
 | 159 | IWMIExtension *This, | 
 
 
 
 
 | 160 | ISWbemObject **objWMIObject); | 
 
 
 
 
 | 161 |  | 
 
 
 
 
 | 162 | HRESULT (STDMETHODCALLTYPE *GetWMIServices)( | 
 
 
 
 
 | 163 | IWMIExtension *This, | 
 
 
 
 
 | 164 | ISWbemServices **objWMIServices); | 
 
 
 
 
 | 165 |  | 
 
 
 
 
 | 166 | END_INTERFACE | 
 
 
 
 
 | 167 | } IWMIExtensionVtbl; | 
 
 
 
 
 | 168 |  | 
 
 
 
 
 | 169 | interface IWMIExtension { | 
 
 
 
 
 | 170 | CONST_VTBL IWMIExtensionVtbl* lpVtbl; | 
 
 
 
 
 | 171 | }; | 
 
 
 
 
 | 172 |  | 
 
 
 
 
 | 173 | #ifdef COBJMACROS | 
 
 
 
 
 | 174 | #ifndef WIDL_C_INLINE_WRAPPERS | 
 
 
 
 
 | 175 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 176 | #define IWMIExtension_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 | 177 | #define IWMIExtension_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 | 178 | #define IWMIExtension_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 | 179 | /*** IDispatch methods ***/ | 
 
 
 
 
 | 180 | #define IWMIExtension_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | 
 
 
 
 
 | 181 | #define IWMIExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | 
 
 
 
 
 | 182 | #define IWMIExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | 
 
 
 
 
 | 183 | #define IWMIExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | 
 
 
 
 
 | 184 | /*** IWMIExtension methods ***/ | 
 
 
 
 
 | 185 | #define IWMIExtension_get_WMIObjectPath(This,strWMIObjectPath) (This)->lpVtbl->get_WMIObjectPath(This,strWMIObjectPath) | 
 
 
 
 
 | 186 | #define IWMIExtension_GetWMIObject(This,objWMIObject) (This)->lpVtbl->GetWMIObject(This,objWMIObject) | 
 
 
 
 
 | 187 | #define IWMIExtension_GetWMIServices(This,objWMIServices) (This)->lpVtbl->GetWMIServices(This,objWMIServices) | 
 
 
 
 
 | 188 | #else | 
 
 
 
 
 | 189 | /*** IUnknown methods ***/ | 
 
 
 
 
 | 190 | static FORCEINLINE HRESULT IWMIExtension_QueryInterface(IWMIExtension* This,REFIID riid,void **ppvObject) { | 
 
 
 
 
 | 191 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | 
 
 
 
 
 | 192 | } | 
 
 
 
 
 | 193 | static FORCEINLINE ULONG IWMIExtension_AddRef(IWMIExtension* This) { | 
 
 
 
 
 | 194 | return This->lpVtbl->AddRef(This); | 
 
 
 
 
 | 195 | } | 
 
 
 
 
 | 196 | static FORCEINLINE ULONG IWMIExtension_Release(IWMIExtension* This) { | 
 
 
 
 
 | 197 | return This->lpVtbl->Release(This); | 
 
 
 
 
 | 198 | } | 
 
 
 
 
 | 199 | /*** IDispatch methods ***/ | 
 
 
 
 
 | 200 | static FORCEINLINE HRESULT IWMIExtension_GetTypeInfoCount(IWMIExtension* This,UINT *pctinfo) { | 
 
 
 
 
 | 201 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | 
 
 
 
 
 | 202 | } | 
 
 
 
 
 | 203 | static FORCEINLINE HRESULT IWMIExtension_GetTypeInfo(IWMIExtension* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | 
 
 
 
 
 | 204 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | 
 
 
 
 
 | 205 | } | 
 
 
 
 
 | 206 | static FORCEINLINE HRESULT IWMIExtension_GetIDsOfNames(IWMIExtension* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | 
 
 
 
 
 | 207 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | 
 
 
 
 
 | 208 | } | 
 
 
 
 
 | 209 | static FORCEINLINE HRESULT IWMIExtension_Invoke(IWMIExtension* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | 
 
 
 
 
 | 210 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | 
 
 
 
 
 | 211 | } | 
 
 
 
 
 | 212 | /*** IWMIExtension methods ***/ | 
 
 
 
 
 | 213 | static FORCEINLINE HRESULT IWMIExtension_get_WMIObjectPath(IWMIExtension* This,BSTR *strWMIObjectPath) { | 
 
 
 
 
 | 214 | return This->lpVtbl->get_WMIObjectPath(This,strWMIObjectPath); | 
 
 
 
 
 | 215 | } | 
 
 
 
 
 | 216 | static FORCEINLINE HRESULT IWMIExtension_GetWMIObject(IWMIExtension* This,ISWbemObject **objWMIObject) { | 
 
 
 
 
 | 217 | return This->lpVtbl->GetWMIObject(This,objWMIObject); | 
 
 
 
 
 | 218 | } | 
 
 
 
 
 | 219 | static FORCEINLINE HRESULT IWMIExtension_GetWMIServices(IWMIExtension* This,ISWbemServices **objWMIServices) { | 
 
 
 
 
 | 220 | return This->lpVtbl->GetWMIServices(This,objWMIServices); | 
 
 
 
 
 | 221 | } | 
 
 
 
 
 | 222 | #endif | 
 
 
 
 
 | 223 | #endif | 
 
 
 
 
 | 224 |  | 
 
 
 
 
 | 225 | #endif | 
 
 
 
 
 | 226 |  | 
 
 
 
 
 | 227 |  | 
 
 
 
 
 | 228 | #endif  /* __IWMIExtension_INTERFACE_DEFINED__ */ | 
 
 
 
 
 | 229 |  | 
 
 
 
 
 | 230 | #endif | 
 
 
 
 
 | 231 | /* Begin additional prototypes for all interfaces */ | 
 
 
 
 
 | 232 |  | 
 
 
 
 
 | 233 | ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *); | 
 
 
 
 
 | 234 | unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *); | 
 
 
 
 
 | 235 | unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); | 
 
 
 
 
 | 236 | void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *); | 
 
 
 
 
 | 237 |  | 
 
 
 
 
 | 238 | /* End additional prototypes */ | 
 
 
 
 
 | 239 |  | 
 
 
 
 
 | 240 | #ifdef __cplusplus | 
 
 
 
 
 | 241 | } | 
 
 
 
 
 | 242 | #endif | 
 
 
 
 
 | 243 |  | 
 
 
 
 
 | 244 | #endif /* __wbemads_h__ */ |