The IPersistStreamInit::Load method loads an object from its associated stream. The seek pointer is set as it was in the most recent IPersistStreamInit::Save method. This method can seek and read from the stream, but cannot write to it.
On exit, the seek pointer must be in the same position it was in on entry, immediately past the end of the data.
HRESULT Load(
IStream *pStm// in
);
<pipeline.h>
<pipecomp.h>
The method returns an HRESULT value.