Providing a Custom Icon

An ACM driver can provide a custom icon. This icon is displayed by the Control Panel’s Multimedia applet inside the driver’s Properties and About boxes. If the driver does not provide a custom icon, the Multimedia applet uses a default icon. To provide a custom icon, you should design the icon using a graphics application and define it to be a resource in the driver’s resource definition (.rc) file. For more information about creating icons, see the Win32 SDK.

When the driver receives an ACMDM_DRIVER_DETAILS message, it should call LoadIcon (described in the Win32 SDK) to load the icon, and return the icon’s handle in the ACMDRIVERDETAILS structure’s hIcon member. To use the default icon, the driver should return NULL in hIcon.