The names Vista gives to its endpoints are the bridge pin names of the respective pins in the topology miniports, with the caveat being that endpoints with bridge pins of type KSNODETYPE_SPEAKER are always named "Speakers" so you might have to change these to KSNODETYPE_LINE_CONNECTOR when it's running on Vista.
Wouldn't it be wonderful if this stuff actually got documented in the WDK sometime?
Jeff----- Original Message ----- From: "Chinmay Mahata" <chinmay.mahata@xxxxxxxxx>
To: "wdmaudiodev" <wdmaudiodev@xxxxxxxxxxxxx> Sent: Friday, September 19, 2008 1:42 AM Subject: [wdmaudiodev] WDM Miniport Driver :: Friendly Name Problem in VISTA
Hi All,I've developed a WDM miniport driver for multiple (physical) ports on a card(which has only one PCI ID and set of resources) using the multiple subdevices approach. Each port has its own wave subdevice, and within each I have a physicalportId (instance) field that I initialise when the subdevices are created bycalling SetPhysicalPortId, so I can tell them apart later on. InstallSubdevice(..., "WaveA",...); InstallSubdevice(..., "WaveB",...); InstallSubdevice(..., "WaveC",...); InstallSubdevice(..., "WaveD",...); And there are corresponding AddInterface, AddReg and FriendlyName entries in the INF. In WinXP it works just fine. From the user space multimedia application we can easily get the friendly names of the specific ports (devices) exactly what we specified in the INF. But after porting that miniport WDM driver in Windows VISTA, we are NOTgetting the friendly names of the devices and having hard time to identify aparticular device from our multimedia application (using WaveIn/OutGetDevCaps). Could anyone please let us know how we can get the friendly names of the devices from an application in Windows VISTA? Please let me know if you need any more details. Thanks in advance. With best regards, --Chinmay Mahata
****************** 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/