IOHIDValueMultipleCallback

Type Alias IOHIDValueMultipleCallback 

Source
pub type IOHIDValueMultipleCallback = Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, NonNull<CFDictionary>)>;
Available on crate feature hid only.
Expand description

Type and arguments of callout C function that is used when an element value completion routine is called.

Parameter context: void * pointer to more data.

Parameter result: Completion result of desired operation.

Parameter sender: Interface instance sending the completion routine.

Parameter multiple: CFDictionaryRef containing the returned element key value pairs.

See also Apple’s documentation

Aliased Type§

pub enum IOHIDValueMultipleCallback {
    None,
    Some(unsafe extern "C-unwind" fn(*mut c_void, i32, *mut c_void, NonNull<CFDictionary>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(*mut c_void, i32, *mut c_void, NonNull<CFDictionary>))

Some value of type T.