This method of the IPersistStorage interface loads an object from its existing storage.
public void Load(IStorage pstg);
S_OK -- The object was successfully loaded.
CO_E_ALREADYINITIALIZED -- The object has already been initialized by a previous call to the IPersistStorage.Load method or the IPersistStorage.InitNew method.
E_OUTOFMEMORY -- The object was not loaded due to lack of memory.
E_FAIL -- The object was not loaded due to some reason besides a lack of memory.
[in] pstg | The IStorage pointer to the existing storage from which the object is to be loaded. |