[wdmaudiodev] Re: Vista 32 + friendly names

Hello,

I'm still not 100% sure how Vista determines what device name to display, so it would be great if someone from Microsoft would give a complete description. Things certainly changed from XP. With XP if the driver supplied a handler for KSPROPERTY_GENERAL_COMPONENTID then the registry would then supply the device name based on what the handler returned.

With Vista this is no longer the case. If there is a Topology driver, then it appears that the Category element on the destination pin that is connected to the wave out device is used. In addition, if you want to have the system sounds control panel applet show speaker configuration (to allow selection of surround sound speaker setup), then that Topology Category element must be KSNODETYPE_SPEAKER which will name your device "Speakers" with your driver name concatenated to the end. In this case the Name element of the pin descriptor is ignored.

If you don't have a topology driver, then the name of the destination pin returned in CWaveMiniport::GetDescription() is used. For multi-channel multi-device drivers that might have reused the filter description tables, this presents a problem in Vista as all the devices end up being the same name. Unique filter description tables are required for each device in Vista.

In other words you have much less control over how your devices are named with Vista if you want to support surround sound speaker setups.

I know that this isn't even close to a complete description, since if you change the category of your pin it will effect the name the will be used in the pin descriptor.

Hopefully someone from Microsoft will answer and correct me if I am wrong on any of the above points and fill in the missing details.

Thank you,

David A. Hoatson
Lynx Studio Technology, Inc.
www.lynxstudio.com

----- Original Message ----- From: "Uwe Kirst" <u.kirst@xxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Monday, November 05, 2007 5:22 AM
Subject: [wdmaudiodev] Vista 32 + friendly names


Hello,

It seems that the device names (friendly names) of my mme audio driver are reported to applications which are running with administrator rights only. If the arbitrary application does not run as administrator, the device names will not be listed.

How can I change this? mme drivers are user mode .dlls.

Thank you,
/Uwe
******************

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/


******************

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: