[wdmaudiodev] Re: Custom "advanced audio properties" pages

  • From: Nick Dowell <nick@xxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 13 Sep 2007 16:54:08 +0100

Thanks for the quick response Mitchell :-)

Do you know if this works with Windows XP?
The following page suggests its a Vista-only feature:
http://msdn2.microsoft.com/en-us/library/ms679149.aspx

I'm not clear what PKEY_FX_UserInterfaceClsid is, I can't seem to find a reference to it anywhere.

My understanding was that for a GFX, the UI's CLSID should be registered here:
/<DIRegKey>/*\Gfx\AutoLoad\*/<GfxAutoLoadInst>\/*UserInterface\CLSID

*What would the equivalent be for this case?

Also, where can I find the definition for AudioExtensionParams?

Thanks,

Nick

Mitchell Rundle wrote:
Yes.  The implementation is identical to that shown in the gfxswap sample except

1) in your inf
   * register the extension using PKEY_AudioEndpoint_ControlPanelPageProvider 
instead of PKEY_FX_UserInterfaceClsid
   * register the extension using "EP\\0" registry entries instead of "FX\\0"

2) in your IShellPropSheetExt::AddPages method, cast the lparam to 
(AudioExtensionParams*) instead of (AudioFXExtensionParams*)

Regards,
Mitch Rundle
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Nick Dowell
Sent: Thursday, September 13, 2007 7:29 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Custom "advanced audio properties" pages

Hi,

Is it possible to add a custom property page to mmsys.cpl's advanced
audio properties dialog?

I've been studying the gfxswap sample code in the DDK which shows how
to add an audio GFX filter with property page, but is there a similar
mechanism for doing so with a regular (not GFX) audio driver?

The msdn documentation I've found (http://msdn2.microsoft.com/en-us/
library/ms790054.aspx) specifically talks about GFX filters and
nothing else..

Cheers,

Nick
******************

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/

Other related posts: