Robert Bielik skrev 2010-10-31 09:43:
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... :(
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 ****************** 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/