Return the class name of an IOKit object.
- macOS 10.4+
- Mac Catalyst 13.0+
The IOKit object.
The resulting CFStringRef. This should be released by the caller. If a valid object is not passed in, then NULL is returned.
This function does the same thing as IOObjectGetClass, but returns the result as a CFStringRef.