KasperskyOS Community Edition 1.1

KnHandleRevoke()

This function is declared in the coresrv/handle/handle_api.h file.

Retcode KnHandleRevoke(Handle handle);

Deletes the handle and revokes all of its descendants.

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.