Share via


DMACloseTransfer (Windows Embedded CE 6.0)

1/6/2010

This function closes a DMA Transfer and releases all related resources.

Syntax

BOOL DMACloseTransfer (
  DMA_TRANSFER_HANDLE DmaTransferHandle
);

Parameters

Return Value

Returns TRUE on success. Returns FALSE on failure.

Remarks

If the client driver calls DMAFreeChannel prior to closing all DMA transfers issued on the channel, then all outstanding DMA transfers will be closed automatically.

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