Microsoft supplies an Enhancements property page for the Audio Control Panel item. The page is associated with the Microsoft Audio Home Theater Effects sAPO. Vendors can replace this property page with a custom page by implementing and registering a custom property page provider. To implement the provider, use the standard techniques that are documented in the Platform SDK. To replace the default property page, install the DLL that contains the custom property page implementation and modify the appropriate registry value.
The Enhancements property page is registered under the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\Endpoint\FX key. Endpoint is the identifier of the endpoint to which the property sheet is to be associated. The property page is specified by assigning its CLSID to the registry value that is associated with the UserInterface property store value. For example:
HKLM
SOFTWARE
Microsoft
Windows
CurrentVersion
MMDevices
Audio
Render
Endpoint
FXProperties
...
"{d04e05a6-594b-4fb6-a80d-01af5eed7d1d},3"=
"{YOUR CLSID GOES HERE}"
To replace the default property page with a custom implementation, replace its CLSID with the CLSID of the custom property page. The custom property page provider is installed with the rest of the driver package, by using an INF. The following example is an excerpt from an INF that shows how to register an Enhancements property page DLL:
[SysFx.AddReg]
…
HKR,"FX\\0",%PKEY_SYSFX_UiClsid%,,%SYSFX_UI_CLSID%
…
[Strings]
PKEY_SYSFX_UiClsid = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},3"
SYSFX_UI_CLSID = "{YOUR GUID GOES HERE}"
…
|