共用方式為


IWMWriterPostView interface (wmsdkidl.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 IWMWriterPostView interface manages advanced writing functionality related to the postviewing of samples. Postviewing displays the media samples as a viewer of the ASF file would see them, and is often used after encoding to check the output. Postviewing is supported only for video.

This interface can be obtained from any interface on the writer object by calling QueryInterface.

Inheritance

The IWMWriterPostView interface inherits from the IUnknown interface. IWMWriterPostView also has these types of members:

Methods

The IWMWriterPostView interface has these methods.

 
IWMWriterPostView::GetAllocateForPostView

The GetAllocateForPostView method ascertains whether the application, and not the writer, must supply the buffers.
IWMWriterPostView::GetPostViewFormat

The GetPostViewFormat method retrieves the media properties for the specified output stream and output format.
IWMWriterPostView::GetPostViewFormatCount

The GetPostViewFormatCount method is used for ascertaining all possible format types supported for the specified stream.
IWMWriterPostView::GetPostViewProps

The GetPostViewProps method retrieves the properties for the specified output stream.
IWMWriterPostView::GetReceivePostViewSamples

The GetReceivePostViewSamples method retrieves a flag indicating whether delivery of postview samples has been turned on for the specified stream.
IWMWriterPostView::SetAllocateForPostView

The SetAllocateForPostView method specifies whether the application, and not the writer, must supply the buffers.
IWMWriterPostView::SetPostViewCallback

The SetPostViewCallback method specifies the callback interface to use for receiving postview samples.
IWMWriterPostView::SetPostViewProps

The SetPostViewProps method specifies the format for the specified output stream.
IWMWriterPostView::SetReceivePostViewSamples

The SetReceivePostViewSamples method enables or disables delivery of postview samples for the specified stream.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMWriterPostViewCallback Interface

Interfaces

To Use Writer Postview

Writer Object