IDmaChannel::GetAdapterObject method

The GetAdapterObject method returns the DMA channel's hardware adapter object.

Syntax


PADAPTER_OBJECT  GetAdapterObject(
    void
);

Parameters

void

Return value

GetAdapterObject returns a pointer to the DMA-channel object's internal adapter object, which is a DMA_ADAPTER structure.

Remarks

The method returns a pointer to a DMA adapter object that has a system-defined interface to the DMA operations that the hardware supports. The adapter driver can pass this pointer as a parameter to the AllocateCommonBuffer and FreeCommonBuffer functions if the miniport driver needs to allocate its own physically contiguous memory for common buffer blocks. These blocks can be accessed both by DMA hardware and by software running on the processor.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

Any level

See also

DMA_ADAPTER
AllocateCommonBuffer
FreeCommonBuffer

 

 

Send comments about this topic to Microsoft

Show: