Function IOObject Get Kernel Retain Count
Returns kernel retain count of an IOKit object.
macOS 10.6+ UIKit for Mac 13.0+ Beta Declaration uint32_t IOObjectGetKernelRetainCount( object);
io _object _t Return Value
If the object handle is valid, the kernel objects retain count is returned, otherwise zero is returned.
This function may be used in diagnostics to determine the current retain count of the kernel object at the kernel level.
See Also Miscellaneous IOBSDName Matching
Create a matching dictionary that specifies an IOService match based on BSD device name.
IOCreate Receive Port
Creates and returns a mach port suitable for receiving IOKit messages of the specified type.
Returns the mach port used to initiate communication with IOKit.
IONotification Port Create
Creates and returns a notification object for receiving IOKit notifications of new devices or state changes.
IOObject Get Retain Count
Returns kernel retain count of an IOKit object. Identical to IOObjectGetKernelRetainCount() but available prior to Mac OS 10.6.
IOObject Is Equal To
Checks two object handles to see if they represent the same kernel object.
Retains an object handle previously returned by IOKitLib.
IOService Add Matching Notification
Look up registered IOService objects that match a matching dictionary, and install a notification request of new IOServices that match.
Close a connection to an IOService and destroy the connect handle.
Create a matching dictionary that specifies an IOService class match.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software