This method of the IPersistStreamInit interface saves an object to the specified stream.
public void Save(IStream pstm, boolean fClearDirty);
S_OK -- The object was successfully saved to the stream.
STG_E_CANTSAVE -- The object could not save itself to the stream.
STG_E_MEDIUMFULL -- The object could not be saved because there is no space left on the storage device.
[in] pstm | The IStream pointer to the stream into which the object should be saved. |
[in] fClearDirty | Indicates whether to clear the dirty flag after the save is complete. If TRUE, the flag should be cleared. If FALSE, the flag should be left unchanged. |