[wdmaudiodev] Re: Device enumeration

  • From: "Jerry Evans" <jerry@xxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 31 Mar 2003 14:06:46 +0100

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/

Other related posts: