Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Instructs the object to load its persistent data from memory.
Syntax
HRESULT retVal = object.Load(pvMem, cbSize);
Parameters
pvMem [in]
Type: voidThe address of the memory from which the object can read up to cbSize bytes of its data. The object must not read past the address (BYTE*)((BYTE *)pvMem+cbSize).
cbSize [in]
Type: unsigned longThe amount of memory available at pvMem from which the object can read its data.
Remarks
Any object that implements IPersistMemory has some information to load persistently; therefore, E_NOTIMPL is not a valid return code.