OLESTATUS OleRevokeClientDoc(lhClientDoc)
LHCLIENTDOC lhClientDoc;
The OleRevokeClientDoc function informs the client DLL that a document is no longer open.
Parameter | Description |
lhClientDoc | Identifies the document that is no longer open. This handle is invalid following the call to the OleRevokeClientDoc function. |
The client application should release all the objects in a document before calling the OleRevokeClientDoc function.
Client applications should register open documents with the DLL and notify the DLL when a document is renamed, closed, saved, or restored to a changed state.
The return value is OLE_OK if successful; otherwise, it could be one of the following:
OLE_ERROR_HANDLE
OLE_ERROR_NOT_EMPTY
See AlsoOleRegisterClientDoc