KasperskyOS Community Edition 1.1

nk_is_handle_dereferenced()

This function is declared in the nk/types.h file.

static inline

nk_bool_t nk_is_handle_dereferenced(const nk_handle_desc_t *desc);

This function returns a non-zero value if the handle in the transport container of desc was obtained as a result of a handle dereferencing operation.

This function returns zero if the handle in the transport container of desc was obtained as a result of a handle transfer operation.