Instructs the object to load its persistent data from the memory pointed to by pvMem where cbSize indicates the amount of memory at pvMem. The object must not read past the address (BYTE*)((BYTE *)pvMem+cbSize).
HRESULT Load(
void* pvMem, //Pointer to the stream from which the object should
//be loaded
ULONG cbSize //Amount of memory from which the object can read
//its data
);
Any object that implements IPersistMemory has some information to load persistently, therefore E_NOTIMPL is not a valid return code.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.