Поделиться через


IWMWriterPostViewCallback 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 IWMWriterPostViewCallback interface manages the receiving of uncompressed samples from the writer. Postview can be used only for video streams.

This interface must be implemented by the application and passed to IWMWriterPostView::SetPostViewCallback.

Inheritance

The IWMWriterPostViewCallback interface inherits from IWMStatusCallback. IWMWriterPostViewCallback also has these types of members:

Methods

The IWMWriterPostViewCallback interface has these methods.

 
IWMWriterPostViewCallback::AllocateForPostView

The AllocateForPostView method allocates a buffer for use in postviewing operations. The application implements this method.
IWMWriterPostViewCallback::OnPostViewSample

The OnPostViewSample method is called when new postview data is available. The application implements this method.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMStatusCallback Interface

Interfaces

To Use Writer Postview

Writer Object