pub extern "C-unwind" fn IOObjectGetKernelRetainCount(
object: io_object_t,
) -> u32Available on crate feature
libc only.Expand description
Returns kernel retain count of an IOKit object.
This function may be used in diagnostics to determine the current retain count of the kernel object at the kernel level.
Parameter object: An IOKit object.
Returns: If the object handle is valid, the kernel objects retain count is returned, otherwise zero is returned.