IShellView::SaveViewState

[Now Supported on Windows NT]

Allows the shell view to store its view settings so the current state can be restored during a subsequent browsing session.

HRESULT SaveViewState(

Parameters

This method has no parameters.

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

The shell view is supposed to get a view stream by calling IShellBrowser::GetViewStateStream and store the current view state in that stream.

Notes to Callers

The Explorer calls this method when it wants to save the view state for a view.

Notes to Implementors

Be sure to make the format of the data stored in the stream robust and versionable.

See Also

IShellBrowser::GetViewStateStream, IShellView