Re: "Microsoft DV Camera and VCR" capture filter - Get actual device
From: Iain (idownsXXXX_at_dircon.co.uk)
Date: 06/10/04
- Next message: Iain: "Re: Loading a filter graph rather than constructing one"
- Previous message: Nak: "Re: Creating a filtergraph in code"
- In reply to: Jon Evans: "Re: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Next in thread: Jon Evans: "RE: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 12:05:40 +0100
The format of this moniker is documented in the DDK.
In theory you should be able to decompose this into its constituent parts.
However, unless you happen to be a DDK guru, you will need to spend several
days (weeks?) finding out what this stuff means (you think DS is badly
documented. HAH!).
I think that the information is proabably in the SetupApi docs (this is
where device enumeration seems to occur), but I wouldn't guarantee it.
personally, I would leave WELL alone unles syou have time to spare.
Iain
"Jon Evans" <anonymous@discussions.microsoft.com> wrote in message
news:DB2EE847-6E62-41C5-BC0C-0D5341EC84DC@microsoft.com...
> Thanks.
>
> I did ponder this ; I'm specifically dealing with a DV source on a firwire
port, won't the DevicePath also change if the user plugged the device into a
different port (I would try it if I had a second port ...) ?.
>
> Does the DevicePath follow a standard format ? I've had a search but alls
I can tell is it is supposed to be unique for a device. By chance I plugged
in Sony DVCR and the path is :-
>
> \\?\avc\#sony&dv-vcr&typ_4&.......
>
> Whereas the canopusADVC100 is
>
> \\?\avc\#ven_2011&mod_0&typ_4&.....
>
> So, how safe is it to utilise just part of the DevicePath ? I want to tie
to a particular physical device even if it gets plugged into different
sockets.
>
> TTFN,
> Jon
>
- Next message: Iain: "Re: Loading a filter graph rather than constructing one"
- Previous message: Nak: "Re: Creating a filtergraph in code"
- In reply to: Jon Evans: "Re: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Next in thread: Jon Evans: "RE: "Microsoft DV Camera and VCR" capture filter - Get actual device"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|