IPersistMessage::IsDirty

The IPersistMessage::IsDirty method checks the form for changes made since the last save.

Quick Info

See IPersistMessage : IUnknown.

HRESULT IsDirty();

Parameters

None

Return Values

S_OK
The form has had changes made since it was last saved.
S_FALSE
The form has not had changes made since it was last saved.

Remarks

Form viewers call the IPersistMessage::IsDirty method to determine whether the message has unsaved data.

For more information, see the documentation for the following OLE methods in the OLE Programmer's Reference:

IPersistStorage::IsDirty

IPersistStream::IsDirty

IPersistFile::IsDirty