[wdmaudiodev] Re: Device enumeration

  • From: "Olivier Roblin" <oroblin@xxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 31 Mar 2003 16:41:50 +0200

The string 'USB Audio Device' (or another description) comes from the .inf
file that you use to install the device. If the device is a generic
USB-AUDIO device, and if no custom driver are provided, the string comes
from the default installer and is then : 'USB Audio Device'. You cannot have
something more accurate without a custom inf file.

Olivier


----- Original Message -----
From: "Jerry Evans" <jerry@xxxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Monday, March 31, 2003 4:00 PM
Subject: [wdmaudiodev] Re: Device enumeration


>
> It is. but is the device description 'USB Audio Device' or something more
> descriptive. For example I've got 5 USB audio devices plugged into one of
> the workstations and there is no easy way to distinguish between them ...
>
> ----- Original Message -----
> From: "Olivier Roblin" <oroblin@xxxxxxxxxxxx>
> To: <wdmaudiodev@xxxxxxxxxxxxx>
> Sent: Monday, March 31, 2003 2:16 PM
> Subject: [wdmaudiodev] Re: Device enumeration
>
>
> >
> > You can get any information stored in registry. In the case I mentioned,
> it
> > returned the device description in an ANSI string...I think it's what
you
> > want, no?
> >
> >
> > ----- Original Message -----
> > From: "Jerry Evans" <jerry@xxxxxxxxxx>
> > To: <wdmaudiodev@xxxxxxxxxxxxx>
> > Sent: Monday, March 31, 2003 3:06 PM
> > Subject: [wdmaudiodev] Re: Device enumeration
> >
> >
> > >
> > > Hi Olivier
> > >
> > > Thanks for the tip. What, precisely, do you get back from the function
?
> > >
> > > The stuff is not device specific - it should work with any hardware
that
> > has
> > > a WDM driver.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Olivier Roblin" <oroblin@xxxxxxxxxxxx>
> > > To: <wdmaudiodev@xxxxxxxxxxxxx>
> > > Sent: Monday, March 31, 2003 1:10 PM
> > > Subject: [wdmaudiodev] Re: Device enumeration
> > >
> > >
> > > >
> > > > Hi Jerry,
> > > >
> > > > You should use SetupDiGetDeviceRegistryProperty in the function
> > > EnumFilters
> > > > (enum.cpp).
> > > > SetupDiGetDeviceRegistryProperty  read registry information for a
> > specific
> > > > DevInfoData. Ask it for a SPDRP_DEVICEDESC.
> > > >
> > > > For which device do you write your dll?
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Jerry Evans" <jerry@xxxxxxxxxx>
> > > > To: <wdmaudiodev@xxxxxxxxxxxxx>
> > > > Sent: Monday, March 31, 2003 1:13 PM
> > > > Subject: [wdmaudiodev] Device enumeration
> > > >
> > > >
> > > > > Does anyone have a clever way to enumerate KS devices ? I'm
> > > experimenting
> > > > with the MS KS sample but would like to be able to display available
> > > devices
> > > > in a friendlier fashion than their internal GUID style identifiers.
> How
> > > does
> > > > DirectX do things ? I've tried manually enumerating the appropriate
> > > registry
> > > > entries to get the GLOBAL\Device Parameters\FriendlyName value but
> this
> > > > generally contains things like USB Audio Device which is not so
> helpful.
> > > > >
> > > > > TIA+ATB
> > > > >
> > > > >
> > > > > Jerry
> > > > > ******************
> > > > >
> > > > > WDMAUDIODEV addresses:
> > > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> > > > > Subscribe:
> > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> > > > > Unsubscribe:
> > > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> > > > > Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> > > > >
> > > > > URL to WDMAUDIODEV page:
> > > > > http://www.wdmaudiodev.de/
> > > > >
> > > >
> > > > ******************
> > > >
> > > > WDMAUDIODEV addresses:
> > > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> > > > Subscribe:
> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> > > > Unsubscribe:
> > mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> > > > Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> > > >
> > > > URL to WDMAUDIODEV page:
> > > > http://www.wdmaudiodev.de/
> > > >
> > > >
> > >
> > >
> > > ******************
> > >
> > > WDMAUDIODEV addresses:
> > > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> > > Subscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> > > Unsubscribe:
> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> > > Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> > >
> > > URL to WDMAUDIODEV page:
> > > http://www.wdmaudiodev.de/
> > >
> >
> > ******************
> >
> > WDMAUDIODEV addresses:
> > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> > Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> > Unsubscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> > Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> >
> > URL to WDMAUDIODEV page:
> > http://www.wdmaudiodev.de/
> >
> >
>
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.de/
>

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: