| 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 |
cpp_quote("#include <winapifamily.h>") |
| 7 |
cpp_quote("") |
| 8 |
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") |
| 9 |
cpp_quote("") |
| 10 |
cpp_quote("#define CDEF_CLASS_DEFAULT 0x1") |
| 11 |
cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER 0x2") |
| 12 |
cpp_quote("#define CDEF_MERIT_ABOVE_DO_NOT_USE 0x8") |
| 13 |
cpp_quote("#define CDEF_DEVMON_CMGR_DEVICE 0x10") |
| 14 |
cpp_quote("#define CDEF_DEVMON_DMO 0x20") |
| 15 |
cpp_quote("#define CDEF_DEVMON_PNP_DEVICE 0x40") |
| 16 |
cpp_quote("#define CDEF_DEVMON_FILTER 0x80") |
| 17 |
cpp_quote("") |
| 18 |
cpp_quote("#define CDEF_DEVMON_SELECTIVE_MASK 0xf0") |
| 19 |
cpp_quote("") |
| 20 |
|
| 21 |
import "oaidl.idl"; |
| 22 |
|
| 23 |
cpp_quote("") |
| 24 |
[object, local, uuid (29840822-5b84-11d0-BD3B-00a0c911ce86), pointer_default (unique)] |
| 25 |
interface ICreateDevEnum : IUnknown { |
| 26 |
HRESULT CreateClassEnumerator ([in] REFCLSID clsidDeviceClass,[out] IEnumMoniker **ppEnumMoniker,[in] DWORD dwFlags); |
| 27 |
} |
| 28 |
cpp_quote("#endif") |