[wdmaudiodev] Re: Code example for getting DDI from hdaudbus.sys?

  • From: "Cheng-mean Liu (SOCCER)" <soccerl@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 2 Sep 2010 17:24:27 +0000

There is an example in the section "Push Mode and Pull Mode Support in Windows 
Vista" of the "Windows 7 Changes Related to Audio Drivers" documentation. 
(http://www.microsoft.com/whdc/device/audio/W7Changes-Audio.mspx)


From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of 
Edward_Averill@xxxxxxxxxxxx
Sent: Thursday, September 02, 2010 8:54 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Code example for getting DDI from hdaudbus.sys?

Hello list! I'm a newbie, so I have a newbies question:

I need to send a VERB down to the HD audio hardware to perform jack sense for a 
diagnostic.  The only driver I'm guaranteed to have is hdaudbus.sys, which 
should be sufficient.  I see that I need to query for an 
HDAUDIO_BUS_INTERFACE_V2 interface, but I don't see any examples in the DDK on 
how to go about doing this.

Can someone kindly point me in the direction of some code snippets and/or 
documentation on how to go about doing this?  The mechanism I'm currently using 
(Setup API to get device class, then trying to enumerate interfaces) fails 
horribly.

All info appreciated.

..ed..

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

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: