From: Tim Roberts on
Kris <Kris(a)discussions.microsoft.com> wrote:
>
>I've searched the DDK for all GUID_DEVINTERFACE occurences, but couldn't
>find on that really matched with a webcam device.

A motion camera should register under both KSCATEGORY_CAPTURE and
KSCATEGORY_VIDEO. An audio source should register under both
KSCATEGORY_CAPTURE and KSCATEGORY_AUDIO.

>Except for the
>GUID_DEVINTERFACE_IMAGE, but that one did not work with at least 1 type of
>webcam. Even though this GUID is for still image devices, a web cam is also
>capable of taking stills, so that GUID would have been ok in my opinion.

But that's not how you want to use it, right? You should use the category
appropriate for the way you're going to use the device.

>For now I use the KSCATEGORY_CAPTURE to get notification of web cam events.
>But I'm wondering if this is the most appropriate GUID since this is the
>class for audio and video streaming capture devices (and I guess e.g. a
>microphone will also use this GUID) ?

That's certainly what I'd use.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.