pub unsafe extern "C-unwind" fn IORegisterApp(
refcon: *mut c_void,
the_driver: io_service_t,
the_port_ref: *mut IONotificationPortRef,
callback: IOServiceInterestCallback,
notifier: *mut io_object_t,
) -> io_connect_t๐Deprecated
Available on crate features
libc and pwr_mgt only.Expand description
DEPRECATED - An obsolete method for interacting with driver power state changes.
This function is obsolete and deprecated. To receive notifications of driver power state changes, Please use IOServiceAddInterestNotification with interest type gIOGeneralInterest instead.
ยงSafety
refconmust be a valid pointer.the_port_refmust be a valid pointer.callbackmust be implemented correctly.notifiermust be a valid pointer.