OLESTATUS OleSavedServerDoc(lhDoc) | |||||
LHSERVERDOC lhDoc; | /* handle to document | */ |
The OleSavedServerDoc function informs the server library that a document has been saved.
lhDoc
Identifies the document that has been saved.
The return value is OLE_OK if the function is successful. Otherwise, it is an error value, which can be OLE_ERROR_HANDLE.
The OleSavedServerDoc function has the same effect as sending the OLE_SAVED notification to the client application's callback function. The server application calls this function when it saves changes to a document.
Server applications should register open documents with the server library and notify the library when a document is renamed, closed, saved, or reverted to a saved state.
OleRegisterServerDoc, OleRevokeServerDoc, OleRenameServerDoc, OleRevertServerDoc