Enumerating capture devices excluding VFW
- From: qwejohn@xxxxxxxxxxx
- Date: 28 Apr 2005 03:08:34 -0700
Hello,
I am using devEnum.CoCreateInstance(CLSID_SystemDeviceEnum)
and then
devEnum.CreateClassEnumerator(CLSID_VideoInputDeviceCategory,...)
to enumerate video capture decices.
When there are webcams which support also vfw emulation, I get 2
instances for
each such webcam. One with "vfw" in the device name and one without.
When using the device with the vfw emulation,
there are problems with some such webcams.
Is there a way to enumerate capture devices excluding VFW ?
(I mean a different way than the primitive one of checking if the
device name includes the string "vfw").
I have thought if and tried Filter Mapper (IFilterMapper2 Interface)
but I don't know if it is the right solution.
Regards,
John
.
- Prev by Date: Re: DirectShow base classes and the possible deadlocks
- Next by Date: Two overlay surfaces with different transparencies
- Previous by thread: How to create a WDM driver for 1394 DCAM?
- Next by thread: Two overlay surfaces with different transparencies
- Index(es):