ReactOS 0.4.15-dev-7942-gd23573b
businterface.cpp File Reference
#include "hdaudbus.h"
Include dependency graph for businterface.cpp:

Go to the source code of this file.

Functions

VOID NTAPI HDA_InterfaceReference (PVOID BusContext)
 
VOID NTAPI HDA_InterfaceDereference (PVOID BusContext)
 
NTSTATUS NTAPI HDA_TransferCodecVerbs (IN PVOID _context, IN ULONG Count, IN OUT PHDAUDIO_CODEC_TRANSFER CodecTransfer, IN PHDAUDIO_TRANSFER_COMPLETE_CALLBACK Callback, IN PVOID Context)
 
NTSTATUS NTAPI HDA_AllocateCaptureDmaEngine (IN PVOID _context, IN UCHAR CodecAddress, IN PHDAUDIO_STREAM_FORMAT StreamFormat, OUT PHANDLE Handle, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
 
NTSTATUS NTAPI HDA_AllocateRenderDmaEngine (IN PVOID _context, IN PHDAUDIO_STREAM_FORMAT StreamFormat, IN BOOLEAN Stripe, OUT PHANDLE Handle, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
 
NTSTATUS NTAPI HDA_ChangeBandwidthAllocation (IN PVOID _context, IN HANDLE Handle, IN PHDAUDIO_STREAM_FORMAT StreamFormat, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
 
NTSTATUS NTAPI HDA_AllocateDmaBuffer (IN PVOID _context, IN HANDLE Handle, IN SIZE_T RequestedBufferSize, OUT PMDL *BufferMdl, OUT PSIZE_T AllocatedBufferSize, OUT PUCHAR StreamId, OUT PULONG FifoSize)
 
NTSTATUS NTAPI HDA_FreeDmaBuffer (IN PVOID _context, IN HANDLE Handle)
 
NTSTATUS NTAPI HDA_FreeDmaEngine (IN PVOID _context, IN HANDLE Handle)
 
NTSTATUS NTAPI HDA_SetDmaEngineState (IN PVOID _context, IN HDAUDIO_STREAM_STATE StreamState, IN ULONG NumberOfHandles, IN PHANDLE Handles)
 
VOID NTAPI HDA_GetWallClockRegister (IN PVOID _context, OUT PULONG *Wallclock)
 
NTSTATUS NTAPI HDA_GetLinkPositionRegister (IN PVOID _context, IN HANDLE Handle, OUT PULONG *Position)
 
NTSTATUS NTAPI HDA_RegisterEventCallback (IN PVOID _context, IN PHDAUDIO_UNSOLICITED_RESPONSE_CALLBACK Routine, IN PVOID Context, OUT PUCHAR Tag)
 
NTSTATUS NTAPI HDA_UnregisterEventCallback (IN PVOID _context, IN UCHAR Tag)
 
NTSTATUS NTAPI HDA_GetDeviceInformation (IN PVOID _context, OUT PHDAUDIO_DEVICE_INFORMATION DeviceInformation)
 
VOID NTAPI HDA_GetResourceInformation (IN PVOID _context, OUT PUCHAR CodecAddress, OUT PUCHAR FunctionGroupStartNode)
 
NTSTATUS NTAPI HDA_AllocateDmaBufferWithNotification (IN PVOID _context, IN HANDLE Handle, IN ULONG NotificationCount, IN SIZE_T RequestedBufferSize, OUT PMDL *BufferMdl, OUT PSIZE_T AllocatedBufferSize, OUT PSIZE_T OffsetFromFirstPage, OUT PUCHAR StreamId, OUT PULONG FifoSize)
 
NTSTATUS NTAPI HDA_FreeDmaBufferWithNotification (IN PVOID _context, IN HANDLE Handle, IN PMDL BufferMdl, IN SIZE_T BufferSize)
 
NTSTATUS NTAPI HDA_RegisterNotificationEvent (PVOID _context, HANDLE Handle, IN PKEVENT NotificationEvent)
 
NTSTATUS NTAPI HDA_UnregisterNotificationEvent (IN PVOID _context, IN HANDLE Handle, IN PKEVENT NotificationEvent)
 
NTSTATUS HDA_PDOHandleQueryInterface (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
 

Function Documentation

◆ HDA_AllocateCaptureDmaEngine()

NTSTATUS NTAPI HDA_AllocateCaptureDmaEngine ( IN PVOID  _context,
IN UCHAR  CodecAddress,
IN PHDAUDIO_STREAM_FORMAT  StreamFormat,
OUT PHANDLE  Handle,
OUT PHDAUDIO_CONVERTER_FORMAT  ConverterFormat 
)

Definition at line 65 of file businterface.cpp.

71{
75}
#define UNIMPLEMENTED
Definition: debug.h:115
#define FALSE
Definition: types.h:117
#define ASSERT(a)
Definition: mode.c:44
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_AllocateDmaBuffer()

NTSTATUS NTAPI HDA_AllocateDmaBuffer ( IN PVOID  _context,
IN HANDLE  Handle,
IN SIZE_T  RequestedBufferSize,
OUT PMDL BufferMdl,
OUT PSIZE_T  AllocatedBufferSize,
OUT PUCHAR  StreamId,
OUT PULONG  FifoSize 
)

Definition at line 106 of file businterface.cpp.

114{
116 ASSERT(FALSE);
118}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_AllocateDmaBufferWithNotification()

NTSTATUS NTAPI HDA_AllocateDmaBufferWithNotification ( IN PVOID  _context,
IN HANDLE  Handle,
IN ULONG  NotificationCount,
IN SIZE_T  RequestedBufferSize,
OUT PMDL BufferMdl,
OUT PSIZE_T  AllocatedBufferSize,
OUT PSIZE_T  OffsetFromFirstPage,
OUT PUCHAR  StreamId,
OUT PULONG  FifoSize 
)

Definition at line 242 of file businterface.cpp.

252{
254 ASSERT(FALSE);
256
257}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_AllocateRenderDmaEngine()

NTSTATUS NTAPI HDA_AllocateRenderDmaEngine ( IN PVOID  _context,
IN PHDAUDIO_STREAM_FORMAT  StreamFormat,
IN BOOLEAN  Stripe,
OUT PHANDLE  Handle,
OUT PHDAUDIO_CONVERTER_FORMAT  ConverterFormat 
)

Definition at line 79 of file businterface.cpp.

85{
89}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_ChangeBandwidthAllocation()

NTSTATUS NTAPI HDA_ChangeBandwidthAllocation ( IN PVOID  _context,
IN HANDLE  Handle,
IN PHDAUDIO_STREAM_FORMAT  StreamFormat,
OUT PHDAUDIO_CONVERTER_FORMAT  ConverterFormat 
)

Definition at line 93 of file businterface.cpp.

98{
100 ASSERT(FALSE);
102}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_FreeDmaBuffer()

NTSTATUS NTAPI HDA_FreeDmaBuffer ( IN PVOID  _context,
IN HANDLE  Handle 
)

Definition at line 122 of file businterface.cpp.

125{
127 ASSERT(FALSE);
129}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_FreeDmaBufferWithNotification()

NTSTATUS NTAPI HDA_FreeDmaBufferWithNotification ( IN PVOID  _context,
IN HANDLE  Handle,
IN PMDL  BufferMdl,
IN SIZE_T  BufferSize 
)

Definition at line 260 of file businterface.cpp.

265{
267 ASSERT(FALSE);
269
270}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_FreeDmaEngine()

NTSTATUS NTAPI HDA_FreeDmaEngine ( IN PVOID  _context,
IN HANDLE  Handle 
)

Definition at line 133 of file businterface.cpp.

136{
138 ASSERT(FALSE);
140}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_GetDeviceInformation()

NTSTATUS NTAPI HDA_GetDeviceInformation ( IN PVOID  _context,
OUT PHDAUDIO_DEVICE_INFORMATION  DeviceInformation 
)

Definition at line 204 of file businterface.cpp.

207{
208 PHDA_PDO_DEVICE_EXTENSION DeviceExtension;
209
210 DeviceExtension = (PHDA_PDO_DEVICE_EXTENSION)_context;
211
212 DPRINT1("HDA_GetDeviceInformation\n");
213
214 DeviceInformation->Size = sizeof(HDAUDIO_DEVICE_INFORMATION);
215 DeviceInformation->CodecsDetected = 1; // FIXME
216 DeviceInformation->DeviceVersion = DeviceExtension->Codec->Major << 8 | DeviceExtension->Codec->Minor;
217 DeviceInformation->DriverVersion = DeviceExtension->Codec->Major << 8 | DeviceExtension->Codec->Minor;
218 DeviceInformation->IsStripingSupported = FALSE;
219
220 return STATUS_SUCCESS;
221}
#define DPRINT1
Definition: precomp.h:8
struct HDA_PDO_DEVICE_EXTENSION * PHDA_PDO_DEVICE_EXTENSION
struct _HDAUDIO_DEVICE_INFORMATION HDAUDIO_DEVICE_INFORMATION
#define STATUS_SUCCESS
Definition: shellext.h:65
UCHAR Major
Definition: hdaudbus.h:48
UCHAR Minor
Definition: hdaudbus.h:49
PHDA_CODEC_ENTRY Codec
Definition: hdaudbus.h:88

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_GetLinkPositionRegister()

NTSTATUS NTAPI HDA_GetLinkPositionRegister ( IN PVOID  _context,
IN HANDLE  Handle,
OUT PULONG Position 
)

Definition at line 167 of file businterface.cpp.

171{
173 ASSERT(FALSE);
175}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_GetResourceInformation()

VOID NTAPI HDA_GetResourceInformation ( IN PVOID  _context,
OUT PUCHAR  CodecAddress,
OUT PUCHAR  FunctionGroupStartNode 
)

Definition at line 225 of file businterface.cpp.

229{
230 PHDA_PDO_DEVICE_EXTENSION DeviceExtension;
231
232 DeviceExtension = (PHDA_PDO_DEVICE_EXTENSION)_context;
233
234 DPRINT1("HDA_GetResourceInformation Addr %x NodeId %x\n", DeviceExtension->Codec->Addr, DeviceExtension->AudioGroup->NodeId);
235
236 *CodecAddress = DeviceExtension->Codec->Addr;
237 *FunctionGroupStartNode = DeviceExtension->AudioGroup->NodeId;
238}
UCHAR Addr
Definition: hdaudbus.h:52
PHDA_CODEC_AUDIO_GROUP AudioGroup
Definition: hdaudbus.h:89

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_GetWallClockRegister()

VOID NTAPI HDA_GetWallClockRegister ( IN PVOID  _context,
OUT PULONG Wallclock 
)

Definition at line 157 of file businterface.cpp.

160{
162 ASSERT(FALSE);
163}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_InterfaceDereference()

VOID NTAPI HDA_InterfaceDereference ( PVOID  BusContext)

Definition at line 21 of file businterface.cpp.

23{
24 DPRINT1("HDA_InterfaceDereference\n");
25}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_InterfaceReference()

VOID NTAPI HDA_InterfaceReference ( PVOID  BusContext)

Definition at line 13 of file businterface.cpp.

15{
16 DPRINT1("HDA_InterfaceReference\n");
17}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_PDOHandleQueryInterface()

NTSTATUS HDA_PDOHandleQueryInterface ( IN PDEVICE_OBJECT  DeviceObject,
IN PIRP  Irp 
)

Definition at line 299 of file businterface.cpp.

302{
303 PIO_STACK_LOCATION IoStack;
304 PHDAUDIO_BUS_INTERFACE_V2 InterfaceHDA;
305 PHDA_PDO_DEVICE_EXTENSION DeviceExtension;
306
307 /* get device extension */
308 DeviceExtension = (PHDA_PDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
309 ASSERT(DeviceExtension->IsFDO == FALSE);
310
312
313 if (IsEqualGUIDAligned(*IoStack->Parameters.QueryInterface.InterfaceType, GUID_HDAUDIO_BUS_INTERFACE))
314 {
315 InterfaceHDA = (PHDAUDIO_BUS_INTERFACE_V2)IoStack->Parameters.QueryInterface.Interface;
316 InterfaceHDA->Version = IoStack->Parameters.QueryInterface.Version;
317 InterfaceHDA->Size = sizeof(HDAUDIO_BUS_INTERFACE);
318 InterfaceHDA->Context = DeviceExtension;
321
327 InterfaceHDA->FreeDmaBuffer = HDA_FreeDmaBuffer;
328 InterfaceHDA->FreeDmaEngine = HDA_FreeDmaEngine;
336 return STATUS_SUCCESS;
337 }
338 else if (IsEqualGUIDAligned(*IoStack->Parameters.QueryInterface.InterfaceType, GUID_HDAUDIO_BUS_INTERFACE_V2))
339 {
340 InterfaceHDA = (PHDAUDIO_BUS_INTERFACE_V2)IoStack->Parameters.QueryInterface.Interface;
341 InterfaceHDA->Version = IoStack->Parameters.QueryInterface.Version;
342 InterfaceHDA->Size = sizeof(HDAUDIO_BUS_INTERFACE_V2);
343 InterfaceHDA->Context = DeviceExtension;
346
352 InterfaceHDA->FreeDmaBuffer = HDA_FreeDmaBuffer;
353 InterfaceHDA->FreeDmaEngine = HDA_FreeDmaEngine;
361
366 }
367
368 // FIXME
369 // implement support for GUID_HDAUDIO_BUS_INTERFACE_BDL
372}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
VOID NTAPI HDA_InterfaceDereference(PVOID BusContext)
VOID NTAPI HDA_GetResourceInformation(IN PVOID _context, OUT PUCHAR CodecAddress, OUT PUCHAR FunctionGroupStartNode)
NTSTATUS NTAPI HDA_UnregisterEventCallback(IN PVOID _context, IN UCHAR Tag)
NTSTATUS NTAPI HDA_TransferCodecVerbs(IN PVOID _context, IN ULONG Count, IN OUT PHDAUDIO_CODEC_TRANSFER CodecTransfer, IN PHDAUDIO_TRANSFER_COMPLETE_CALLBACK Callback, IN PVOID Context)
NTSTATUS NTAPI HDA_SetDmaEngineState(IN PVOID _context, IN HDAUDIO_STREAM_STATE StreamState, IN ULONG NumberOfHandles, IN PHANDLE Handles)
VOID NTAPI HDA_GetWallClockRegister(IN PVOID _context, OUT PULONG *Wallclock)
NTSTATUS NTAPI HDA_ChangeBandwidthAllocation(IN PVOID _context, IN HANDLE Handle, IN PHDAUDIO_STREAM_FORMAT StreamFormat, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
NTSTATUS NTAPI HDA_AllocateRenderDmaEngine(IN PVOID _context, IN PHDAUDIO_STREAM_FORMAT StreamFormat, IN BOOLEAN Stripe, OUT PHANDLE Handle, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
NTSTATUS NTAPI HDA_FreeDmaBuffer(IN PVOID _context, IN HANDLE Handle)
NTSTATUS NTAPI HDA_RegisterEventCallback(IN PVOID _context, IN PHDAUDIO_UNSOLICITED_RESPONSE_CALLBACK Routine, IN PVOID Context, OUT PUCHAR Tag)
NTSTATUS NTAPI HDA_GetDeviceInformation(IN PVOID _context, OUT PHDAUDIO_DEVICE_INFORMATION DeviceInformation)
NTSTATUS NTAPI HDA_GetLinkPositionRegister(IN PVOID _context, IN HANDLE Handle, OUT PULONG *Position)
NTSTATUS NTAPI HDA_AllocateCaptureDmaEngine(IN PVOID _context, IN UCHAR CodecAddress, IN PHDAUDIO_STREAM_FORMAT StreamFormat, OUT PHANDLE Handle, OUT PHDAUDIO_CONVERTER_FORMAT ConverterFormat)
NTSTATUS NTAPI HDA_AllocateDmaBufferWithNotification(IN PVOID _context, IN HANDLE Handle, IN ULONG NotificationCount, IN SIZE_T RequestedBufferSize, OUT PMDL *BufferMdl, OUT PSIZE_T AllocatedBufferSize, OUT PSIZE_T OffsetFromFirstPage, OUT PUCHAR StreamId, OUT PULONG FifoSize)
NTSTATUS NTAPI HDA_UnregisterNotificationEvent(IN PVOID _context, IN HANDLE Handle, IN PKEVENT NotificationEvent)
NTSTATUS NTAPI HDA_RegisterNotificationEvent(PVOID _context, HANDLE Handle, IN PKEVENT NotificationEvent)
NTSTATUS NTAPI HDA_AllocateDmaBuffer(IN PVOID _context, IN HANDLE Handle, IN SIZE_T RequestedBufferSize, OUT PMDL *BufferMdl, OUT PSIZE_T AllocatedBufferSize, OUT PUCHAR StreamId, OUT PULONG FifoSize)
NTSTATUS NTAPI HDA_FreeDmaBufferWithNotification(IN PVOID _context, IN HANDLE Handle, IN PMDL BufferMdl, IN SIZE_T BufferSize)
NTSTATUS NTAPI HDA_FreeDmaEngine(IN PVOID _context, IN HANDLE Handle)
VOID NTAPI HDA_InterfaceReference(PVOID BusContext)
_In_ PIRP Irp
Definition: csq.h:116
struct _HDAUDIO_BUS_INTERFACE_V2 * PHDAUDIO_BUS_INTERFACE_V2
#define STATUS_NOT_SUPPORTED
Definition: ntstatus.h:423
PALLOCATE_CAPTURE_DMA_ENGINE AllocateCaptureDmaEngine
Definition: hdaudio.h:355
PALLOCATE_DMA_BUFFER_WITH_NOTIFICATION AllocateDmaBufferWithNotification
Definition: hdaudio.h:368
PFREE_DMA_ENGINE FreeDmaEngine
Definition: hdaudio.h:360
PINTERFACE_REFERENCE InterfaceReference
Definition: hdaudio.h:352
PGET_DEVICE_INFORMATION GetDeviceInformation
Definition: hdaudio.h:366
PCHANGE_BANDWIDTH_ALLOCATION ChangeBandwidthAllocation
Definition: hdaudio.h:357
PFREE_DMA_BUFFER FreeDmaBuffer
Definition: hdaudio.h:359
PUNREGISTER_NOTIFICATION_EVENT UnregisterNotificationEvent
Definition: hdaudio.h:371
PSET_DMA_ENGINE_STATE SetDmaEngineState
Definition: hdaudio.h:361
PREGISTER_EVENT_CALLBACK RegisterEventCallback
Definition: hdaudio.h:364
PREGISTER_NOTIFICATION_EVENT RegisterNotificationEvent
Definition: hdaudio.h:370
PGET_LINK_POSITION_REGISTER GetLinkPositionRegister
Definition: hdaudio.h:363
PUNREGISTER_EVENT_CALLBACK UnregisterEventCallback
Definition: hdaudio.h:365
PINTERFACE_DEREFERENCE InterfaceDereference
Definition: hdaudio.h:353
PTRANSFER_CODEC_VERBS TransferCodecVerbs
Definition: hdaudio.h:354
PGET_WALL_CLOCK_REGISTER GetWallClockRegister
Definition: hdaudio.h:362
PFREE_DMA_BUFFER_WITH_NOTIFICATION FreeDmaBufferWithNotification
Definition: hdaudio.h:369
PALLOCATE_DMA_BUFFER AllocateDmaBuffer
Definition: hdaudio.h:358
PGET_RESOURCE_INFORMATION GetResourceInformation
Definition: hdaudio.h:367
PALLOCATE_RENDER_DMA_ENGINE AllocateRenderDmaEngine
Definition: hdaudio.h:356
union _IO_STACK_LOCATION::@1564 Parameters
struct _IO_STACK_LOCATION::@3978::@4004 QueryInterface
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
#define IsEqualGUIDAligned(guid1, guid2)
Definition: wdm.template.h:235

Referenced by HDA_PdoPnp().

◆ HDA_RegisterEventCallback()

NTSTATUS NTAPI HDA_RegisterEventCallback ( IN PVOID  _context,
IN PHDAUDIO_UNSOLICITED_RESPONSE_CALLBACK  Routine,
IN PVOID  Context,
OUT PUCHAR  Tag 
)

Definition at line 179 of file businterface.cpp.

184{
186 *Tag = 1;
187 return STATUS_SUCCESS;
188}
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_RegisterNotificationEvent()

NTSTATUS NTAPI HDA_RegisterNotificationEvent ( PVOID  _context,
HANDLE  Handle,
IN PKEVENT  NotificationEvent 
)

Definition at line 274 of file businterface.cpp.

278{
280 ASSERT(FALSE);
282
283}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_SetDmaEngineState()

NTSTATUS NTAPI HDA_SetDmaEngineState ( IN PVOID  _context,
IN HDAUDIO_STREAM_STATE  StreamState,
IN ULONG  NumberOfHandles,
IN PHANDLE  Handles 
)

Definition at line 144 of file businterface.cpp.

149{
151 ASSERT(FALSE);
153}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_TransferCodecVerbs()

NTSTATUS NTAPI HDA_TransferCodecVerbs ( IN PVOID  _context,
IN ULONG  Count,
IN OUT PHDAUDIO_CODEC_TRANSFER  CodecTransfer,
IN PHDAUDIO_TRANSFER_COMPLETE_CALLBACK  Callback,
IN PVOID  Context 
)

Definition at line 29 of file businterface.cpp.

35{
38 PHDA_PDO_DEVICE_EXTENSION DeviceExtension;
39
40 DPRINT1("HDA_TransferCodecVerbs Count %lu CodecTransfer %p Callback %p Context %p\n", Count, CodecTransfer, Callback, Context);
41
42 /* get device extension */
43 DeviceExtension = (PHDA_PDO_DEVICE_EXTENSION)_context;
44 ASSERT(DeviceExtension->IsFDO == FALSE);
45
46 /* FIXME handle callback*/
48
49 for (Index = 0; Index < Count; Index++)
50 {
51 Verbs[Index] = CodecTransfer[Index].Output.Command;
52 }
53
54 HDA_SendVerbs(DeviceExtension->FDO, DeviceExtension->Codec, Verbs, Responses, Count);
55
56 for (Index = 0; Index < DeviceExtension->Codec->ResponseCount; Index++)
57 {
58 CodecTransfer[Index].Input.Response = DeviceExtension->Codec->Responses[Index];
59 }
60 return STATUS_SUCCESS;
61}
#define NULL
Definition: types.h:112
#define MAX_CODEC_RESPONSES
Definition: driver.h:43
NTSTATUS HDA_SendVerbs(IN PDEVICE_OBJECT DeviceObject, IN PHDA_CODEC_ENTRY Codec, IN PULONG Verbs, OUT PULONG Responses, IN ULONG Count)
Definition: fdo.cpp:139
int Count
Definition: noreturn.cpp:7
ULONG ResponseCount
Definition: hdaudbus.h:55
ULONG Responses[MAX_CODEC_RESPONSES]
Definition: hdaudbus.h:54
PDEVICE_OBJECT FDO
Definition: hdaudbus.h:90
uint32_t ULONG
Definition: typedefs.h:59
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:458

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_UnregisterEventCallback()

NTSTATUS NTAPI HDA_UnregisterEventCallback ( IN PVOID  _context,
IN UCHAR  Tag 
)

Definition at line 193 of file businterface.cpp.

196{
198 ASSERT(FALSE);
200}

Referenced by HDA_PDOHandleQueryInterface().

◆ HDA_UnregisterNotificationEvent()

NTSTATUS NTAPI HDA_UnregisterNotificationEvent ( IN PVOID  _context,
IN HANDLE  Handle,
IN PKEVENT  NotificationEvent 
)

Definition at line 287 of file businterface.cpp.

291{
293 ASSERT(FALSE);
295}

Referenced by HDA_PDOHandleQueryInterface().