Enumerating capture devices excluding VFW

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.