Compartilhar via


IMediaBuffer (Windows CE 5.0)

Send Feedback

This interface provides methods for manipulating a data buffer. Any buffer passed to a Microsoft DirectX Media Object (DMO) must implement this interface.

The following table shows the methods for IMediaBuffer in the order the compiler calls them.

Method Description
SetLength Specifies the length of the data currently in the buffer.
GetMaxLength Retrieves the maximum number of bytes this buffer can hold.
GetBufferAndLength Retrieves the buffer and the size of the valid data in the buffer.

The IMediaBuffer interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

DMO Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.