Bewerken

Delen via


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 = FALSE,
  WdfDmaDirectionWriteToDevice = TRUE
} WDF_DMA_DIRECTION;

Constants

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

Requirements

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

See also

EvtProgramDma

WdfDmaTransactionInitialize

WdfDmaTransactionInitializeUsingRequest