次の方法で共有


DMAGetStatus (Windows Embedded CE 6.0)

1/6/2010

This function gets the current status of an active or queued DMA transfer.

Syntax

BOOL DMAGetStatus (
    DMA_TRANSFER_HANDLE hDmaTransferHandle,
  PDWORD lpCompletedLength,
    PDWORD lpCompletionCode
);

Parameters

  • lpCompletedLength
    [out] Pointer to the number of bytes transferred. If the pointer is NULL, the number of bytes transferred is not reported.
  • lpCompletionCode
    [out] Pointer to a value containing the completion code. Possible completion codes are Pending, In progress, Completed with success, Completed with error, and canceled.

Return Value

Returns TRUE if hDmaTransferHandle points to a valid DMA Transfer. Returns FALSE if hDmaTransferHandle does not point to a valid DMA Transfer.

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