Contents Index Topic Contents | ||
Previous Topic: IShellView::Refresh Next Topic: IShellView::SelectItem |
IShellView::SaveViewState
HRESULT SaveViewState(void)Saves the shell's view settings so the current state can be restored during a subsequent browsing session.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
The shell view obtains a view stream by calling the IShellBrowser::GetViewStateStream method and stores the current view state in that stream.
Notes to Callers
Windows Explorer calls this method when it wants to save the view state for a view.
Notes to Implementers
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.
See also IShellView
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.