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.
lhClientDoc
Identifies the document that has reverted to its saved state.
The return value is OLE_OK if the function is successful. Otherwise, it is an error value, which can be OLE_ERROR_HANDLE.
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.
OleRegisterClientDoc, OleRevokeClientDoc, OleRenameClientDoc, OleSavedClientDoc