DEVICE_DMA_REQUIREMENT_INFO (Compact 2013)

3/26/2014

This structure is used by DMAGetAdapter when DMAGetAdapter populates a direct memory access (DMA) adapter structure for a physical device

Syntax

typedef struct _DEVICE_DMA_REQUIRMENT_INFO {
  ULONG Size;
  BOOLEAN DemandMode;
  BOOLEAN BusMaster;
  INTERFACE_TYPE InterfaceType;
  ULONG BusNumber;
  ULONG DeviceLocation;
  ULONG DmaAdapter;
  CE_REGISTER_ACCESS_WIDTH CeDmaWidth;
  CE_DMA_SPEED DmaSpeed;
  DWORD dwFlags;
} DEVICE_DMA_REQUIRMENT_INFO , *PDEVICE_DMA_REQUIRMENT_INFO;

Members

  • Size
    Size of this structure in bytes.
  • DemandMode
    Set to TRUE if the device and the DMA hardware have hardware handshaking.
  • BusMaster
    Indicates whether the device is a bus master.
  • InterfaceType
    Interface type on the device. This value could be internal or PCI. The specific value can be found by examining the registry.
  • BusNumber
    Indicates the location of the hardware. The specific value can be found by examining the registry.
  • DeviceLocation
    Device location identifier. This parameter is specific to the type of bus. For a PCI bus, this parameter is a PCI_SLOT_NUMBER value, which is the slot and function numbers combined.
  • DmaAdapter
    An optional parameter, set to DMA_ADAPTER_ANY if the system has only one DMA Adapter or the application does not care which DMA adapter is used.
  • CeDmaWidth
    Indicates whether an 8-bit, 16-bit, 32-bit or 64-bit operation should be performed during DMA transfer.
  • DmaSpeed
    DMA Speed is used by DMAGetAdapter to determine the DMA Adapter and Channel to use. The fastest device should use the highest priority DMA Adaptor and Channel.
  • dwFlags
    Global DMA transfer flag. This flag is used to determine what kind of transfer the device wants. One valid flag is DMA_FLAGS_INC_DEVICE_ADDRESS, which indicates that the device wants to perform memory to memory DMA transfer.

Requirements

Header

oaldma.h

See Also

Reference

Ceddk.dll DMA Structures