Partager via


IPersistStreamInit::IsDirty Method

This method should report whether the values of an object have changed since they were last saved. It returns the value of the IsDirty flag of the object. The flag should be cleared by the object in its implementation of the IPersistStreamInit::Save method.

HRESULT IsDirty(void);

Parameters

None.

Return Value

This method must return the HRESULT value S_OK to indicate that the data has changed, and must return a value of S_FALSE to indicate that the data has not changed since the last Save operation.

See Also

Other Resources

IPersistStreamInit Interface