Share via


IPersistDictionary::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 IPersistDictionary::Save method.

HRESULT IsDirty(
    long* pfDirty
);

Parameters

  • pfDirty
    [out, retval] A pointer to a long used to return the value of the IsDirty flag.

Return Value

This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.

See Also

Other Resources

IPersistDictionary Interface