pub type IOServiceInterestCallback = Option<unsafe extern "C-unwind" fn(*mut c_void, io_service_t, u32, *mut c_void)>;Available on crate feature
libc only.Expand description
Callback function to be notified of changes in state of an IOService.
Parameter refcon: The refcon passed when the notification was installed.
Parameter service: The IOService whose state has changed.
Parameter messageType: A messageType enum, defined by IOKit/IOMessage.h or by the IOService’s family.
Parameter messageArgument: An argument for the message, dependent on the messageType. If the message data is larger than sizeof(void*), then messageArgument contains a pointer to the message data; otherwise, messageArgument contains the message data.
See also Apple’s documentation
Aliased Type§
pub enum IOServiceInterestCallback {
None,
Some(unsafe extern "C-unwind" fn(*mut c_void, u32, u32, *mut c_void)),
}