INSSBuffer4 interface (wmsbuffer.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The INSSBuffer4 interface provides methods to enumerate buffer properties. These methods are important when reading files that may have properties of which you are not aware.

An INSSBuffer4 interface exists for every buffer object. To retrieve a pointer to an instance of INSSBuffer4, call the QueryInterface method of one of the other interfaces in the buffer object, typically INSSBuffer.

The following interfaces can be obtained by using the QueryInterface method of this interface.

Interface IID
INSSBuffer IID_INSSBuffer
INSSBuffer2 IID_INSSBuffer2
INSSBuffer3 IID_INSSBuffer3

Inheritance

The INSSBuffer4 interface inherits from INSSBuffer3. INSSBuffer4 also has these types of members:

Methods

The INSSBuffer4 interface has these methods.

 
INSSBuffer4::GetPropertyByIndex

The GetPropertyByIndex method retrieves a buffer property, also called a data unit extension, that was set using INSSBuffer3::SetProperty.
INSSBuffer4::GetPropertyCount

The GetPropertyCount method retrieves the total number of buffer properties, also called data unit extensions, associated with the sample contained in the buffer object.

Requirements

Requirement Value
Target Platform Windows
Header wmsbuffer.h

See also

INSSBuffer Interface

INSSBuffer3 Interface

Interfaces