pub unsafe extern "C-unwind" fn IOObjectCopyBundleIdentifierForClass(
classname: Option<&CFString>,
) -> Option<CFRetained<CFString>>Expand description
Return the bundle identifier of the given class.
This function uses the OSMetaClass system in the kernel to derive the name of the kmod, which is the same as the bundle identifier.
Parameter classname: The name of the class as a CFString.
Returns: The resulting CFStringRef. This should be released by the caller. If a valid class name is not passed in, then NULL is returned.
ยงSafety
classname might not allow None.