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