This method of the IPersistFile interface checks an object for changes since it was last saved to its current file.
public boolean IsDirty();
S_OK -- The object has changed since it was last saved.
S_FALSE -- The object has not changed since the last save.