Share via


DMAFreeChannel (Compact 2013)

3/26/2014

This function frees a DMA Channel buffer allocated by DMAAllocateChannel, along with all the resources the DMA Channel uses.

Syntax

BOOL DMAFreeChannel(
    DMA_CHANNEL_HANDLE Channel
);

Parameters

  • Channel
    [in] Handle to an allocated DMA Channel

Return Value

Returns TRUE on success. Returns FALSE on failure. Extended error information can be obtained through a call to GetLastError.

Requirements

Header

oaldma.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll DMA Functions
Ceddk.dll DMA Structures