WDF_DMA_DIRECTION - NtDoc

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

typedef enum _WDF_DMA_DIRECTION {
  WdfDmaDirectionReadFromDevice = FALSE,
  WdfDmaDirectionWriteToDevice = TRUE
} WDF_DMA_DIRECTION;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdfdmaenabler-_wdf_dma_direction)

_WDF_DMA_DIRECTION enumeration

Description

[Applies to KMDF only]

The WDF_DMA_DIRECTION enumeration defines the direction of a DMA transfer.

Constants

WdfDmaDirectionReadFromDevice:FALSE

The DMA transfer direction is from the device (read).

WdfDmaDirectionWriteToDevice:TRUE

The DMA transfer direction is to the device (write).

Remarks

The WDF_DMA_DIRECTION enumeration is used as input to the EvtProgramDma callback function and the WdfDmaTransactionInitialize and WdfDmaTransactionInitializeUsingRequest methods.

See also

EvtProgramDma

WdfDmaTransactionInitialize

WdfDmaTransactionInitializeUsingRequest