PGET_DMA_DOMAIN callback function (wdm.h)

The PGET_DMA_DOMAIN callback function gets the handle to the DMA domain.

Syntax

PGET_DMA_DOMAIN PgetDmaDomain;

HANDLE PgetDmaDomain(
  [in] PDMA_ADAPTER DmaAdapter
)
{...}

Parameters

[in] DmaAdapter

A pointer to a DMA_ADAPTER structure. This structure is the adapter object that represents the driver's bus-master DMA device or system DMA channel. The caller obtained this pointer from a previous call to the IoGetDmaAdapter routine.

Return value

Returns the HANDLE to the DMA domain.

Requirements

Requirement Value
Minimum supported client Windows 10
Header wdm.h (include Wdm.h)
IRQL PASSIVE_LEVEL