Robert, I've successfully used the technique described here: http://msdn.microsoft.com/en-us/library/ff536228(VS.85).aspx [MyDriver.AddReg] HKR,Branding,icon,,"mydriver.dll,100" Hope that helps, -Dan --------------------------------------------------
Date: Wed, 03 Nov 2010 11:18:24 +0100 From: Robert Bielik <robert.bielik@xxxxxxxxxx> Subject: [wdmaudiodev] Re: Custom device icon 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 itvia 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 panelshows 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 isnot 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/