| #include <ole.h> |
| OLESTATUS OleRevokeObject(lpClient) | |||||
| LPOLECLIENT lpClient; | /* address of OLECLIENT structure | */ | |||
The OleRevokeObject function revokes access to an object. A server application typically calls this function when the user destroys an object.
lpClient
Points to the OLECLIENT structure associated with the object being revoked.
The return value is OLE_OK if the function is successful. Otherwise, it is an error value.