DMAGetAdapter (Compact 2013)

3/26/2014

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 subordinate DMA or on failure. For extended error information, the user driver can call GetLastError.

Requirements

Header

oaldma.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll DMA Functions
Ceddk.dll DMA Structures