1cpp_quote("/**") 2cpp_quote(" * This file is part of the mingw-w64 runtime package.") 3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.") 4cpp_quote(" */") 5cpp_quote("") 6 7import "oaidl.idl"; 8import "ocidl.idl"; 9import "wbemdisp.idl"; 10 11cpp_quote("#include <winapifamily.h>") 12cpp_quote("") 13cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") 14 15[uuid (e503d000-5c7f-11d2-8b74-00104b2afb41), version (1.0)] 16library WMIEXTENSIONLib { 17 importlib ("stdole32.tlb"); 18 importlib ("stdole2.tlb"); 19 20 interface IWMIExtension; 21 22 [uuid (f0975afe-5c7f-11d2-8b74-00104b2afb41)] 23 coclass WMIExtension { 24 [default] interface IWMIExtension; 25 }; 26}; 27 28[object, uuid (adc1f06e-5c7e-11d2-8b74-00104b2afb41), dual, pointer_default (unique)] 29interface IWMIExtension : IDispatch { 30 [id (1), propget] HRESULT WMIObjectPath ([out, retval] BSTR *strWMIObjectPath); 31 [id (2)] HRESULT GetWMIObject ([out, retval] ISWbemObject **objWMIObject); 32 [id (3)] HRESULT GetWMIServices ([out, retval] ISWbemServices **objWMIServices); 33}; 34cpp_quote("#endif") 35