IMediaBuffer interface
The IMediaBuffer interface provides methods for manipulating a data buffer. Buffers passed to the IMediaObject::ProcessInput and ProcessOutput methods must implement this interface.
Methods
The IMediaBuffer interface has these methods.
| Method | Description |
|---|---|
| IMediaBuffer::GetBufferAndLength | The GetBufferAndLength method retrieves the buffer and the size of the valid data in the buffer. |
| IMediaBuffer::GetMaxLength | The GetMaxLength method retrieves the maximum number of bytes this buffer can hold. |
| IMediaBuffer::SetLength | The SetLength method specifies the length of the data currently in the buffer. |
Requirements
| Target Platform | Windows |
| Header | mediaobj.h (include Dmo.h) |