Declaration
Automation:
void  LoadHistory ( [in]   interface IStream  pStream) ;
Native (C++):
HRESULT  LoadHistory ( [in]   interface IStream *  pStream) ;
Parameters
pStreamPointer to a stream object from which to load history.
Return Value
S_OK or standard OLE error code.
Remarks
Loads a document's operation history from a file. Complexity: linear-time, depending on the saved history's complexity.
Examples

A sample implementation of the LoadHistory method

C++Copy Code
HRESULT LoadHistory(IFileDocument *pFileDocument, IStream *pStream)
{
  return pFileDocument->LoadHistory(pStream);
}
    

See Also