Share via


DMACloseBuffer (Compact 2013)

3/26/2014

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

See Also

Reference

Ceddk.dll DMA Functions
Ceddk.dll DMA Structures