Previous Next

DMA_ADAPTER

The DMA_ADAPTER structure describes a system-defined interface to a DMA controller for a given device. A driver calls IoGetDmaAdapter to obtain this structure.

typedef struct _DMA_ADAPTER {
  USHORT  Version;
  USHORT  Size;
  PDMA_OPERATIONS  DmaOperations;
  .
  .
} DMA_ADAPTER, *PDMA_ADAPTER;

Members

Version
Specifies the version of this structure.
Size
Specifies the size, in bytes, of this structure.
DmaOperations
Pointer to a DMA_OPERATIONS structure that contains pointers to DMA adapter functions. The Version parameter determines the version of the DMA_OPERATIONS structure returned.

Headers

Defined in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

Drivers for devices that use DMA to transfer data use this structure to obtain the addresses of functions that enable use of a DMA controller. Normally, drivers obtain this structure by means of a call to IoGetDmaAdapter. Drivers can also obtain this structure by querying for the BUS_INTERFACE_STANDARD interface.

See Also

IoGetDmaAdapter, DMA_OPERATIONS, BUS_INTERFACE_STANDARD