Contents Index Topic Contents | ||
Previous Topic: The IPersistHistory Interface Next Topic: IPersistHistory::LoadHistory |
IPersistHistory::SaveHistory
HRESULT SaveHistory( [in]IStream *pStream);The container calls this method to request that the component save its state.
- Returns:
S_OK The component successfully saved its state to the supplied stream. E_FAIL The component was unable to save its state. E_POINTER The stream pointer was invalid.
- pStream
- [in] Pointer to the stream into which the object should save its persistent state.
The component should under no circumstances add a reference to the supplied stream. The stream should not be cached by the component.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.