IDmaChannel::BufferSize method

The BufferSize method returns the size in bytes of the DMA channel's data buffer.

Syntax


ULONG BufferSize(
    void
);

Parameters

void

Return value

BufferSize returns the size in bytes of the buffer.

Remarks

The BufferSize method returns the buffer size that was set by the previous call to IDmaChannel::SetBufferSize. If SetBufferSize has not been called since the IDmaChannel::AllocateBuffer call, BufferSize returns the allocated buffer size. The DMA-channel object does not actually use this value internally. This value is maintained by the object to allow its various clients to communicate the intended size of the buffer. This call is often used to obtain the map-size parameter to the IDmaChannelSlave::Start method.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

Any level

See also

IDmaChannel::SetBufferSize
IDmaChannel::AllocateBuffer
IDmaChannelSlave::Start

 

 

Send comments about this topic to Microsoft

Show: