Last change
on this file since 1175 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1166] | 1 | cpp_quote("/**")
|
---|
| 2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
| 3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
| 4 | cpp_quote(" */")
|
---|
| 5 | cpp_quote("")
|
---|
| 6 |
|
---|
| 7 | import "oaidl.idl";
|
---|
| 8 | import "ocidl.idl";
|
---|
| 9 | import "wbemdisp.idl";
|
---|
| 10 |
|
---|
| 11 | cpp_quote("#include <winapifamily.h>")
|
---|
| 12 | cpp_quote("")
|
---|
| 13 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
| 14 |
|
---|
| 15 | [uuid (e503d000-5c7f-11d2-8b74-00104b2afb41), version (1.0)]
|
---|
| 16 | library 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)]
|
---|
| 29 | interface 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 | };
|
---|
| 34 | cpp_quote("#endif")
|
---|
Note:
See
TracBrowser
for help on using the repository browser.