IShellView::SaveViewState
Other versions of this page are also available for the following:
8/28/2008
This method saves the shell's view settings so the current state can be restored during a subsequent browsing session.
Syntax
HRESULT SaveViewState(void);
Parameters
None.
Return Value
Returns NOERROR if successful, or an OLE-defined error value otherwise.
Remarks
The shell view obtains a view stream by calling the IShellBrowser::GetViewStateStream method and stores the current view state in that stream.
Windows Explorer calls this method to save the view state for a view.
When you implement this method, be sure to make the format of the data stored in the stream robust enough that different versions of the implementation can read it without error.
Requirements
Header | shobjidl.h, shobjidl.idl |
Library | Developer Implemented |
Windows Embedded CE | Windows CE 5.0 and later |