// wdfdmaenabler.h
typedef enum _WDF_DMA_DIRECTION {
WdfDmaDirectionReadFromDevice = FALSE,
WdfDmaDirectionWriteToDevice = TRUE
} WDF_DMA_DIRECTION;
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF only]
The WDF_DMA_DIRECTION enumeration defines the direction of a DMA transfer.
WdfDmaDirectionReadFromDevice:FALSE
The DMA transfer direction is from the device (read).
WdfDmaDirectionWriteToDevice:TRUE
The DMA transfer direction is to the device (write).
The WDF_DMA_DIRECTION enumeration is used as input to the EvtProgramDma callback function and the WdfDmaTransactionInitialize and WdfDmaTransactionInitializeUsingRequest methods.
WdfDmaTransactionInitializeUsingRequest