KasperskyOS Community Edition 1.1
Contents
Contents
KnHandleRevokeSubtree()
This function is declared in the coresrv/handle/handle_api.h
file.
Retcode KnHandleRevokeSubtree(Handle handle, Handle badge);
This function revokes the handles that make up the handle inheritance subtree of the specified handle
.
The root node of the inheritance subtree is the handle that was generated by the transfer of the specified handle
associated with the badge
resource transfer context object.
If successful, the function returns rcOk, otherwise it returns an error code.
Revoked handles are not deleted. However, you cannot query resources via revoked handles. Any function that accepts a handle will end with the rcHandleRevoked error if this function is called with a revoked handle.