Checks an object for changes since it was last saved to its current file.

Return Value

This method returns the raw COM error code without raising the normal COM exception. You should treat any error return codes as an indication that the object has changed. Unless this method explicitly returns S_FALSE, assume that the object must be saved.