WdfDmaTransactionWdmGetTransferContext function (wdfdmatransaction.h)
[Applies to KMDF only]
The WdfDmaTransactionWdmGetTransferContext method retrieves the WDM transfer context that is associated with a DMA transaction.
PVOID WdfDmaTransactionWdmGetTransferContext( WDFDMATRANSACTION DmaTransaction );
[in] A handle to an initialized DMA transaction object from which to retrieve the transfer context.
A pointer to the DMA transfer context (PTRANSFER_CONTEXT) associated with the transaction.
The DMA transfer context for a transaction is allocated when the driver creates the transaction.
WdfDmaTransactionWdmGetTransferContext must be used with a DMA enabler that uses DMA version 3. To select version 3, set the WdmDmaVersionOverride member of WDF_DMA_ENABLER_CONFIG to 3.
Your driver can use the DMA transfer context to call the following WDM DMA library routines directly:
|Minimum supported client||Windows 8|
|Minimum KMDF version||1.11|
|Header||wdfdmatransaction.h (include Wdf.h)|
|Library||Wdf01000.sys (see Framework Library Versioning.)|
|DDI compliance rules||DriverCreate|