OleRevertClientDoc

  OLESTATUS OleRevertClientDoc(lhClientDoc)    
  LHCLIENTDOC lhClientDoc; /* handle to client document */

The OleRevertClientDoc function informs the client library that a document has reverted to its saved state.

Parameters

lhClientDoc

Identifies the document that has reverted to its saved state.

Return Value

The return value is OLE_OK if the function is successful. Otherwise, it is an error value, which can be OLE_ERROR_HANDLE.

Comments

Client applications should register open documents with the library and notify the library when a document is renamed, closed, saved, or reverted to a saved state.

See Also

OleRegisterClientDoc, OleRevokeClientDoc, OleRenameClientDoc, OleSavedClientDoc