Share via


DMAGetAdapter (Windows Embedded CE 6.0)

1/6/2010

This function populates a direct memory access (DMA) adapter structure for a physical device.

Syntax

BOOL DMAGetAdapter(
    PDEVICE_DMA_REQUIRMENT_INFO pDeviceDmaRequirementInfo,
    PCE_DMA_ADAPTER pDmaAdapter
);

Parameters

  • pDmaAdapter
    [in, out] Pointer to a DMA adapter structure, populated after a successful return from DMAGetAdapter.

Return Value

Returns TRUE on success. Returns FALSE if the system does not support slave DMA or on failure. For extended error information, the user driver can call 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