SaveHistory method
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.