Asks a view to initialize itself to a previously saved state.
HRESULT ApplyViewState(
IStream *pstm // Pointer to stream containing state data
);
Typically, this function is called after an existing view has been created in the container but before that view has been displayed. It is the responsibility of the view to validate the data in the view stream; the container does not attempt to interpret the view's state data.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in docobj.h.
IOleDocument::CreateView, IOleDocumentView::SaveViewState