Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 1.89 KB

nc-wdm-pflush_dma_buffer.md

File metadata and controls

65 lines (51 loc) · 1.89 KB
UID title description tech.root ms.date keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos f1_keywords topic_type api_type api_location api_name
NC:wdm.PFLUSH_DMA_BUFFER
PFLUSH_DMA_BUFFER (wdm.h)
The callback routine flushes any data remaining in the memory region described by an MDL.
kernel
01/19/2023
PFLUSH_DMA_BUFFER callback function
wdm.h
Wdm.h
Windows
PFLUSH_DMA_BUFFER
wdm/PFLUSH_DMA_BUFFER
apiref
UserDefined
wdm.h
PFLUSH_DMA_BUFFER

-description

The callback routine flushes any data remaining in the memory region described by an MDL.

-parameters

-param DmaAdapter: [in]

A pointer to a DMA_ADAPTER structure. This structure is the adapter object that represents the driver's bus-master DMA device or system DMA channel. The caller obtained this pointer from a previous call to the IoGetDmaAdapter routine.

-param Mdl: [in]

A pointer to the MDL that describes the buffer previously passed in the driver's call to MapTransfer.

-param ReadOperation: [in]

Specifies TRUE if the flush is being performed for a read operation, and FALSE for a write operation. For more information, see the following Remarks section.

-returns

Returns STATUS_SUCCESS if the call is successful. Otherwise, returns an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.

-remarks

-see-also

Flushing Cached Data during DMA Operations