[wdmaudiodev] Getting hardware ID from endpoint-ID

  • From: Dadi <dadiku@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 30 Mar 2016 17:23:35 +0300

Hi,

I need to get the hardware-ID string based on a given audio endpoint-ID
string or from an instance of IMMDevice. The best way is to use
IMMDevice::OpenPropertyStore  to read the hardware-ID from some property.

Inspecting the registry (... \MMDevices\Audio\Render\<ep-guid>\Properties\)
I found the following properties containing the information I need but I
didn't find any header containing their PKEY_xxx definitions:

  {233164c8-1b2c-4c7d-bc68-b671687a2567},1
  {83da6326-97a6-4088-9453-a1923f573b29},3
  {b3f8fa53-0004-438e-9003-51a46e139bfc},2

Are these properties defined in some header?
If not defined, is it safe for me to define relevant PKEY and use it?
If I cannot use any of these properties, how do you recommend to read the
hardware ID information of a given endpoint?

Thank you,
Dadi

Other related posts: