Sign in to follow this  

DirectShow - Enumerating capture devices

Recommended Posts

Sorry if this is the wrong forum - think DirectShow is DirectX (even though it's with the Platform SDK these days). I'm enumerating direct show capture devices. I have one webcam plugged in and my enumeration results in 2 device monikers. These are: @device:pnp:\\?\usb#vid_041e&pid_401d#6&71691ff&0&3#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global and @device:cm:{860BB310-5D01-11D0-BD3B-00A0C911CE86}\Creative WebCam NX Ultra (VFW) Now I would like to know what the first device is (pnp?), what the monikers actually mean and how I can parse them to get display names for a list box. Can I assume for example that the display name is always the rightmost string after the \ delimeter? Thanks.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this