WDF_DMA_DIRECTION
TOC
Collapse the table of content
Expand the table of content

WDF_DMA_DIRECTION enumeration

[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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft