Partager via


IPersistMessage::IsDirty

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Checks the form for changes that were made since the last save.

HRESULT IsDirty( void );

Parameters

None

Return Value

  • S_OK
    The form has changes that were made since it was last saved.

  • S_FALSE
    The form does not have changes that were made since it was last saved.

Remarks

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

See Also

Reference

IPersistMessage : IUnknown

IPersistStorage::IsDirty

IPersistStream::IsDirty

IPersistFile::IsDirty