UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ocidl.IPersistStreamInit.Load |
IPersistStreamInit::Load (ocidl.h) |
Initializes an object from the stream where it was saved previously. (IPersistStreamInit.Load) |
|
com\ipersiststreaminit_load.htm |
com |
3e995e07-e088-40de-ba28-c30caea45786 |
12/05/2018 |
IPersistStreamInit interface [COM],Load method, IPersistStreamInit.Load, IPersistStreamInit::Load, Load, Load method [COM], Load method [COM],IPersistStreamInit interface, _com_ipersiststreaminit_load, com.ipersiststreaminit_load, ocidl/IPersistStreamInit::Load |
ocidl.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
OCIdl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Initializes an object from the stream where it was saved previously.
An IStream pointer to the stream from which the object should be loaded.
This method can return the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The object was not loaded due to lack of memory. |
|
The object was not loaded due to some reason other than a lack of memory. |
If the object has already been initialized with IPersistStreamInit::InitNew, then this method must return E_UNEXPECTED.
This 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.