yano
yano

Reputation: 4473

How can I determine if a Windows Audio Endpoint is associated with a Bluetooth device?

Using WASAPI, I am successfully enumerating the output devices using IMMDeviceEnumerator::EnumAudioEndpoints and then eventually I have my IMMDevice. Then I can get the IPropertyStore and see there are variety of properties, but not sure which if any I can use to then work with the SetupDi or CM_Get_Device APIs to try to determine if the endpoint is associated to Bluetooth hardware

This page https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-properties suggests I can get PKEY_Device_InstanceId and PKEY_Device_ContainerId from the property store, but they are not there.

Does anyone have an idea how to proceed here?

Upvotes: 1

Views: 46

Answers (0)

Related Questions