This project has moved and is read-only. For the latest updates, please go here.

Windows Vista MMDevice DeviceFriendlyName

Dec 5, 2013 at 12:02 PM
Hi,

When trying to get the FriendlyName and DeviceFriendlyName of an MMDevice in Windows Vista, i always get "Unknown". In Windows 7 it seems to work fine.
It returns the name of the playback device as it is shown in the Sound Panel, which might add a number in front of it if you have multiple usb soundcards with the same name connected to the computer.

Apparently the propertystore does not contain the key with guid PKEY_DeviceInterface_FriendlyName of the chosen device in Vista, while it does have this key in windows 7.

Does anyone know what might be the correct guid for this in Vista?

PS: this is the key: new PropertyKey(new Guid(0x026e516e, 0xb814, 0x414b, 0x83, 0xcd, 0x85, 0x6d, 0x6f, 0xef, 0x48, 0x22), 2)

Thanks in advance!
Dec 6, 2013 at 10:48 AM
it may be that those keys don't exist with in Vista. Sometimes new keys get introduced.