Partager via


DMACloseBuffer (Windows Embedded CE 6.0)

1/6/2010

This function is called after DMA is finished and frees all the resources that were allocated by DMAOpenBuffer. It also calls DMAFlushBlockBuffer before it returns.

Syntax

BOOL DMACloseBuffer (
  DMA_BUFFER_HANDLE hBuffer
);

Parameters

  • hBuffer
    [in] Handle to a DMA block descriptor. The DMA block descriptor is 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.

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