WDF_DMA_DIRECTION enumeration (wdfdmaenabler.h)

[Applies to KMDF only]

The WDF_DMA_DIRECTION enumeration defines the direction of a DMA transfer.

Syntax

typedef enum _WDF_DMA_DIRECTION {
  WdfDmaDirectionReadFromDevice,
  WdfDmaDirectionWriteToDevice
} WDF_DMA_DIRECTION;

Constants

 
WdfDmaDirectionReadFromDevice
The DMA transfer direction is from the device (read).
WdfDmaDirectionWriteToDevice
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.

Requirements

   
Minimum KMDF version 1.0
Header wdfdmaenabler.h (include Wdf.h)

See also

EvtProgramDma

WdfDmaTransactionInitialize

WdfDmaTransactionInitializeUsingRequest