From b1f9e28cd155459ab2843690c248ed9f4767bc3f Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Sun, 2 Jun 2019 06:00:38 +0300 Subject: skeleton updated, windows specific stuff added --- dxsdk/Include/DShowIDL/devenum.idl | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dxsdk/Include/DShowIDL/devenum.idl (limited to 'dxsdk/Include/DShowIDL/devenum.idl') diff --git a/dxsdk/Include/DShowIDL/devenum.idl b/dxsdk/Include/DShowIDL/devenum.idl new file mode 100644 index 00000000..257193f4 --- /dev/null +++ b/dxsdk/Include/DShowIDL/devenum.idl @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------ +// File: DevEnum.idl +// +// Desc: IDL source for devenum.dll. This file will be processed by the +// MIDL tool to produce the type library (devenum.tlb) and marshalling +// code. +// +// Copyright (c) 1998 - 2002, Microsoft Corporation. All rights reserved. +//------------------------------------------------------------------------------ + + +cpp_quote("#define CDEF_CLASS_DEFAULT 0x0001") +cpp_quote("#define CDEF_BYPASS_CLASS_MANAGER 0x0002") +//cpp_quote("#define CDEF_CLASS_LEGACY 0x0004") +cpp_quote("#define CDEF_MERIT_ABOVE_DO_NOT_USE 0x0008") + +// if any of these flags are set, then only the types specified by the +// flags are enumerated +cpp_quote("#define CDEF_DEVMON_CMGR_DEVICE 0x0010") +cpp_quote("#define CDEF_DEVMON_DMO 0x0020") +cpp_quote("#define CDEF_DEVMON_PNP_DEVICE 0x0040") +cpp_quote("#define CDEF_DEVMON_FILTER 0x0080") +cpp_quote("#define CDEF_DEVMON_SELECTIVE_MASK 0x00f0") + +[ + object, + uuid(29840822-5B84-11D0-BD3B-00A0C911CE86), + pointer_default(unique) +] +interface ICreateDevEnum : IUnknown +{ + import "oaidl.idl"; + + HRESULT CreateClassEnumerator( + [in] REFCLSID clsidDeviceClass, + [out] IEnumMoniker ** ppEnumMoniker, + [in] DWORD dwFlags); +} -- cgit v1.2.3