IOHIDUserDeviceSetReportBlock

Type Alias IOHIDUserDeviceSetReportBlock 

Source
pub type IOHIDUserDeviceSetReportBlock = *mut DynBlock<dyn Fn(IOHIDReportType, u32, NonNull<u8>, CFIndex) -> IOReturn>;
Available on crate features block2 and hid and hidsystem only.
Expand description

The type block used for IOHIDUserDevice set report calls.

Parameter type: The report type.

Parameter reportID: The report ID.

Parameter report: The report bytes.

Parameter reportLength: The length of the report being passed in.

See also Apple’s documentation