[wdmaudiodev] Re: USB Audio Class driver

  • From: Pete Gontier <pete@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 20 Sep 2005 15:22:52 -0700

>> It seems likely SPDRP_HARDWAREID would be of some use to you. There are many
>> other properties in that vicinity that you might find useful as well.

> Thanks. Any clues as to how I'd use SPDRP_HARDWAREID? I've tried Googling for
> info but only get installation examples, nothing about enumeration in an
> application.

I'm not sure what to say except that I pass SPDRP_HARDWAREID as a parameter
to SetupDiGetDeviceRegistryProperty. SPDRP_HARDWAREID is a string property,
so I call SetupDiGetDeviceRegistryProperty once to get the string's size in
bytes, allocate a buffer, and call SetupDiGetDeviceRegistryProperty a second
time to get the data.

? Pete Gontier <http://www.m-audio.com/>

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

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.com/

Other related posts: