IPersistStreamInit interface (ocidl.h)
A replacement for IPersistStream that adds an initialization method.
This interface is not derived from IPersistStream; it is mutually exclusive with IPersistStream. An object chooses to support only one of the two interfaces, based on whether it requires the InitNew method.
The IPersistStreamInit interface inherits from IPersist. IPersistStreamInit also has these types of members:
The IPersistStreamInit interface has these methods.
Retrieves the size of the stream needed to save the object. (IPersistStreamInit.GetSizeMax)
Initializes an object to a default state. This method is to be called instead of IPersistStreamInit::Load.
Determines whether an object has changed since it was last saved to its stream. (IPersistStreamInit.IsDirty)
Initializes an object from the stream where it was saved previously. (IPersistStreamInit.Load)
Saves an object to the specified stream. (IPersistStreamInit.Save)
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|