IPersistStreamInit::Load

Same as IPersistStream::Load.

HRESULT Load(
  LPSTREAM pStm  //Pointer to the stream from which the object 
                 //should be loaded
);
 

Remarks

Notes to Implementers

If the object has already been initialized with InitNew, then this method must return E_UNEXPECTED.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.