PJOIN_DMA_DOMAIN callback function (wdm.h)

The PJOIN_DMA_DOMAIN callback function joins the specified DMA domain.

Syntax

PJOIN_DMA_DOMAIN PjoinDmaDomain;

NTSTATUS PjoinDmaDomain(
  [in] PDMA_ADAPTER DmaAdapter,
  [in] HANDLE DomainHandle
)
{...}

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.

[in] DomainHandle

The handle to the DMA domain that the caller previous obtained through PGET_DMA_DOMAIN.

Return value

Returns STATUS_SUCCESS if the call is successful. Otherwise, returns an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.

Requirements

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