Share via


DMAFlushBlockBuffer (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

CEDDK Dynamic-Link Library DMA Functions
CEDDK Dynamic-Link Library DMA Structures