Share via


DMAFlushBlockBuffer (Compact 2013)

3/26/2014

This function manually flushes the direct memory access (DMA) buffer block in order to regain cache coherency.

Syntax

BOOL DMAFlushBlockBuffer (
  DMA_BUFFER_HANDLE hBuffer
);

Parameters

  • hBuffer
    [in] DMA block descriptor handle returned by DMAOpenBuffer.

Return Value

Returns TRUE on success. Returns FALSE if an error occurs. For extended error information, the user driver can call GetLastError.

Remarks

This function should be used before the caller function uses the virtual pointer that was passed into DMAOpenBuffer.

Requirements

Header

oaldma.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll DMA Functions
Ceddk.dll DMA Structures