Share via


DMAGetContexts (Compact 2013)

3/26/2014

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

See Also

Reference

Ceddk.dll DMA Functions
Ceddk.dll DMA Structures