pub unsafe extern "C-unwind" fn IOObjectConformsTo(
object: io_object_t,
class_name: *mut [c_char; 128],
) -> boolAvailable on crate feature
libc only.Expand description
Performs an OSDynamicCast operation on an IOKit object.
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.
Parameter object: An IOKit object.
Parameter className: The name of the class, as a C-string.
Returns: If the object handle is valid, and represents an object in the kernel that dynamic casts to the class true is returned, otherwise false.
ยงSafety
class_name Array TODO.