IAllocatorMXF::GetBufferSize method

The GetBufferSize method gets the buffer size from the allocator.

Syntax


USHORT GetBufferSize(
    None
);

Parameters

None

Return value

GetBufferSize returns the size in bytes of the buffer.

Remarks

GetBufferSize simply returns the size of the buffer that the allocator provides through the IAllocatorMXF::GetBuffer call. (For more information, see IAllocatorMXF introduction.) Because this is constant for any version of the port driver, GetBufferSize typically needs to be called only once, at the time that the stream is created.

Requirements

Target platform

Desktop

Header

Dmusicks.h (include Dmusicks.h)

IRQL

Any level

See also

IAllocatorMXF::GetBuffer

 

 

Send comments about this topic to Microsoft

Show: