OLESTATUS OleRevertServerDoc(lhDoc) | |||||
LHSERVERDOC lhDoc; | /* handle to document | */ |
The OleRevertServerDoc function informs the server library that the server has reset a document to its saved state without closing it.
lhDoc
Identifies the document that has been reset 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.
Server applications should register open documents with the server library and notify the library when a document is renamed, closed, saved, or reset to a saved state.
OleRegisterServerDoc, OleRevokeServerDoc, OleRenameServerDoc, OleSavedServerDoc