devenum.idl 1.0 KB

12345678910111213141516171819202122232425262728
  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. import "oaidl.idl";
  21. cpp_quote("")
  22. [object, local, uuid (29840822-5b84-11d0-BD3B-00a0c911ce86), pointer_default (unique)]
  23. interface ICreateDevEnum : IUnknown {
  24. HRESULT CreateClassEnumerator ([in] REFCLSID clsidDeviceClass,[out] IEnumMoniker **ppEnumMoniker,[in] DWORD dwFlags);
  25. }
  26. cpp_quote("#endif")