Previous Next

IAllocatorMXF::GetBufferSize

The GetBufferSize method gets the buffer size from the allocator.

USHORT
  GetBufferSize(
    VOID
    );

Parameters

None

Return Value

GetBufferSize returns the size in bytes of the buffer.

Headers

Declared in dmusicks.h. Include dmusicks.h.

Comments

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 miniport stream is created.

See Also

IAllocatorMXF::GetBuffer