home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / devenum.idl < prev    next >
Text File  |  1998-04-25  |  720b  |  25 lines

  1. // devenum.idl : IDL source for devenum.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (devenum.tlb) and marshalling code.
  6.  
  7. cpp_quote("#define CDEF_CLASS_DEFAULT      0x0001")
  8. cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER   0x0002")
  9. //cpp_quote("#define CDEF_CLASS_LEGACY  0x0004")
  10.  
  11. [
  12.         object,
  13.         uuid(29840822-5B84-11D0-BD3B-00A0C911CE86),
  14.         pointer_default(unique)
  15. ]
  16. interface ICreateDevEnum : IUnknown
  17. {
  18.         import "oaidl.idl";
  19.  
  20.         HRESULT CreateClassEnumerator(
  21.                         [in] REFCLSID clsidDeviceClass,
  22.                         [out] IEnumMoniker ** ppEnumMoniker,
  23.                         [in] DWORD dwFlags);
  24. }
  25.