pub extern "C-unwind" fn IOObjectGetRetainCount(
object: io_object_t,
) -> u32Available on crate feature
libc only.Expand description
Returns kernel retain count of an IOKit object. Identical to IOObjectGetKernelRetainCount() but available prior to Mac OS 10.6.
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.