Share via


DMAGetContexts (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the Context1 and Context2 values of a DMA transfer object. These values are set by functions such as DMAIssueTransfer during the creation of a DMA transfer object.

Syntax

BOOL DMAGetContexts (
  DMA_TRANSFER_HANDLE hDmaTransferHandle,
  PVOID *pContext1,
  PVOID *pContext2
);

Parameters

  • hDmaTransferHandle
    [in] DMA transfer handle returned by DMAIssueTransfer.
  • pContext1
    [out] Pointer to the value of Context1.
  • pContext2
    [out] Pointer to the value of Context2.

Return Value

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

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