Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Saves the state of a component.
Syntax
HRESULT retVal = object.SaveHistory(pStream);
Parameters
pStream [in]
Type: IStreamA pointer to the stream in which the object saves its persistent state.
Remarks
The container calls IPersistHistory::SaveHistory to request that the component save its state.
The component should never add a reference to the supplied stream. The stream is not cached by the component.