[wdmaudiodev] Re: Audio miniport driver

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 21 Oct 2020 10:39:42 -0700

On Oct 21, 2020, at 8:42 AM, wdmaudiodev@xxxxxxxxxxxxxx wrote:

I'm working on an audio pass-through miniport driver, and I got a suggestion 
from Matthew van Eerde about only exposing the capture endpoint, and having 
our app use a custom device interface to send audio data to the driver.
...

...but the system bugchecks on the initial 
WdfWdmDeviceGetWdfDeviceHandle(DeviceObject) call (Fatal System Error: 
0x0000007e). Whether I did this in my AddDevice or StartDevice callback made 
no difference.

Do you actually have a KMDF driver?  Sysvad is a WDM driver, not KMDF.

Can anyone shed light on how to add a Custom Device Interface to an (audio) 
miniport driver?

Assuming you are not a KMDF driver, you use IoRegisterDeviceInterface and 
IoSetDeviceInterfaceState.
— 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: