Hi all,
Thought I might pop the question here since nobody on wdmaudiodev seems to be able to answer it… :
How can I set the icon for my VAD in sound control panel ? It is possible to set it manually inside SCP but I’d like to set it
via my INF, searching for examples I have found no working ones…
Searching the net I found examples but I haven’t gotten them to work.
I’ve tried adding an iconpath entry for “EP\0” (“{259abffc-50a7-47ce-af08-68c9a7d73366},12”), but still the sound control panel
shows the default mmsys.cpl icon for the device type ??
In my INF I do:
[DevInst.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,DevInst.I.Topology
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,DevInst.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,DevInst.I.Wave
…
[DevInst.I.Topology]
AddReg=DevInst.I.Topology.AddReg
[DevInst.I.Topology.AddReg]
HKR,CLSID,%CLSID_Proxy%
HKR,FriendlyName,%DeviceFriendlyName%
HKR,“EP\0”,%PKEY_AudioEndpoint_Name%,%DeviceFriendlyName%
HKR,“EP\0”,%PKEY_AudioEndpoint_Icon%,“%windir%\system32\drivers%DriverFile%,-101”
[DevInst.I.Wave]
AddReg=DevInst.I.Wave.AddReg
[DevInst.I.Wave.AddReg]
HKR,CLSID,%CLSID_Proxy%
HKR,FriendlyName,%DeviceFriendlyName%
HKR,“EP\0”,%PKEY_AudioEndpoint_Name%,%DeviceFriendlyName%
HKR,“EP\0”,%PKEY_AudioEndpoint_Icon%,“%windir%\system32\drivers%DriverFile%,-101”
[Strings]
…
PKEY_AudioEndpoint_Name=“{A45C254E-DF1C-4EFD-8020-67D146A850E0},2”
PKEY_AudioEndpoint_Icon=“{259ABFFC-50A7-47CE-AF08-68C9A7D73366},12”
If I go directly to the MMDevice entry for the device and set the path (as shown in the INF), it shows up in SCP so it is
not an issue of the icon not being found.
Ideas ?
TIA
/Rob