[wdmaudiodev] Re: WDM Miniport Driver :: Friendly Name Problem in VISTA

  • From: "Chinmay Mahata" <chinmay.mahata@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 23 Sep 2008 19:43:03 +0530

Dear Jeff,

Thanks a lot for your help. We will give a try as you suggested, and let you
know the status.

This issue regarding the friendly name in Vista should be properly
documented in the WDK with the solutions.

Thanking you again.

Warm regards,
--Chinmay Mahata


On Fri, Sep 19, 2008 at 2:18 AM, Jeff Pages <barefeet@xxxxxxxxxxxxxx> wrote:

> 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 physical
>> portId (instance) field that I initialise when the subdevices are created
>> by
>> calling 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 NOT
>> getting the friendly names of the devices and having hard time to identify
>> a
>> particular 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/
>
>

Other related posts: