Performs an OSDynamicCast operation on an IOKit object.
- macOS 10.0+
- Mac Catalyst 13.0+
An IOKit object.
The name of the class, as a C-string.
If the object handle is valid, and represents an object in the kernel that dynamic casts to the class true is returned, otherwise false.
This function uses the OSMetaClass system in the kernel to determine if the object will dynamic cast to a class, specified as a C-string. In other words, if the object is of that class or a subclass.