Skip to main content

IOHIDValueCreateWithBytes

Function IOHIDValueCreateWithBytes 

Source
pub unsafe extern "C-unwind" fn IOHIDValueCreateWithBytes(
    allocator: Option<&CFAllocator>,
    element: &IOHIDElement,
    time_stamp: u64,
    bytes: NonNull<u8>,
    length: CFIndex,
) -> Option<CFRetained<IOHIDValue>>
👎Deprecated:

renamed to IOHIDValue::with_bytes

Available on crate feature hid only.