StreamClassGetDmaBuffer - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// strmini.h

PVOID STREAMAPI StreamClassGetDmaBuffer(
  [in] PVOID HwDeviceExtension
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-strmini-streamclassgetdmabuffer)

StreamClassGetDmaBuffer function

Description

The StreamClassGetDmaBuffer routine returns a pointer to the DMA buffer that the class driver allocates for the minidriver.

Parameters

HwDeviceExtension [in]

Pointer to the minidriver's device extension. The minidriver specifies the size of this buffer in the HW_INITIALIZATION_DATA structure it passes when it registers itself via StreamClassRegisterMinidriver. The class driver then passes pointers to the buffer in the HwDeviceExtension member of the HW_STREAM_REQUEST_BLOCK, HW_STREAM_OBJECT, HW_TIME_CONTEXT, and PORT_CONFIGURATION_INFORMATION structures it passes to the minidriver.

Return value

StreamClassGetDmaBuffer returns a pointer to the DMA buffer.

Remarks

The minidriver specifies the size of the DMA buffer in the DmaBufferSize member of its HW_INITIALIZATION_DATA structure.

See also

HW_INITIALIZATION_DATA