共用方式為


INSSBuffer3 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 INSSBuffer3 interface enhances the INSSBuffer interface by adding the ability to set and retrieve single properties for a sample. This interface inherits its functionality from the INSSBuffer2 interface, which inherits functionality from INSSBuffer. INSSBuffer2 is not documented separately in this documentation because the two methods it exposes are not implemented at this time.

To obtain a pointer to the INSSBuffer3 interface of an existing buffer object, call INSSBuffer::QueryInterface.

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

Interface IID
INSSBuffer IID_INSSBuffer
INSSBuffer2 IID_INSSBuffer2
INSSBuffer4 IID_INSSBuffer4

Inheritance

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

Methods

The INSSBuffer3 interface has these methods.

 
INSSBuffer3::GetProperty

The GetProperty method is used to retrieve a property of the sample in the buffer. Buffer properties are used to pass information along with the sample to the writer object when writing ASF files. Sample properties are GUID values.
INSSBuffer3::SetProperty

The SetProperty method is used to specify a property for the sample in the buffer. Buffer properties are used to pass information along with the sample to the writer object when writing ASF files. Sample properties are GUID values.

Requirements

Requirement Value
Target Platform Windows
Header wmsbuffer.h

See also

INSSBuffer Interface

Interfaces