Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.4 KiB

  1. //------------------------------------------------------------------------------
  2. // File: DevEnum.idl
  3. //
  4. // Desc: IDL source for devenum.dll. This file will be processed by the
  5. // MIDL tool to produce the type library (devenum.tlb) and marshalling
  6. // code.
  7. //
  8. // Copyright (c) 1998 - 2000, Microsoft Corporation. All rights reserved.
  9. //------------------------------------------------------------------------------
  10. cpp_quote("#define CDEF_CLASS_DEFAULT 0x0001")
  11. cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER 0x0002")
  12. //cpp_quote("#define CDEF_CLASS_LEGACY 0x0004")
  13. cpp_quote("#define CDEF_MERIT_ABOVE_DO_NOT_USE 0x0008")
  14. // if any of these flags are set, then only the types specified by the
  15. // flags are enumerated
  16. cpp_quote("#define CDEF_DEVMON_CMGR_DEVICE 0x0010")
  17. cpp_quote("#define CDEF_DEVMON_DMO 0x0020")
  18. cpp_quote("#define CDEF_DEVMON_PNP_DEVICE 0x0040")
  19. cpp_quote("#define CDEF_DEVMON_FILTER 0x0080")
  20. cpp_quote("#define CDEF_DEVMON_SELECTIVE_MASK 0x00f0")
  21. [
  22. object,
  23. uuid(29840822-5B84-11D0-BD3B-00A0C911CE86),
  24. pointer_default(unique)
  25. ]
  26. interface ICreateDevEnum : IUnknown
  27. {
  28. import "oaidl.idl";
  29. HRESULT CreateClassEnumerator(
  30. [in] REFCLSID clsidDeviceClass,
  31. [out] IEnumMoniker ** ppEnumMoniker,
  32. [in] DWORD dwFlags);
  33. }