Partager via


DMAFreeChannel (Windows Embedded CE 6.0)

1/6/2010

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
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