IPersistHistory::LoadHistoryIPersistHistory::LoadHistory*
*Contents  *Index  *Topic Contents
*Previous Topic: IPersistHistory::SaveHistory
*Next Topic: IPersistHistory::SetPositionCookie

IPersistHistory::LoadHistory

HRESULT LoadHistory(
    [in]IStream *pStream,
    [in]IBindCtx *pbc);

The container calls this method to request that the component restore its state.

pStream
[in] Pointer to an interface on the stream from which the object should loaded its persistent state
pbc
[in] Pointer to an interface on a bind context. The bind context can be used in binding operations to restore the component's state and should be passed along to any objects contained by the component if a binding is to be performed by the contained component.

The component should under no circumstances add a reference to the supplied stream. The stream should not be cached by the component.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.