Contents

IOHIDDeviceCopyValueMultiple

Copies a values for multiple elements.

Declaration

IOReturn IOHIDDeviceCopyValueMultiple(IOHIDDeviceRef device, CFArrayRef elements, CFDictionaryRef  _Nullable *pMultiple);

Parameters

  • device:

    Reference to an IOHIDDevice.

  • elements:

    CFArrayRef containing multiple IOHIDElementRefs whose values are to be obtained.

  • pMultiple:

    Pointer to CFDictionaryRef where the keys are the provided elements and the values are the requested values.

Return Value

Returns kIOReturnSuccess if successful.

Discussion

This method behaves synchronously and return back immediately for input type element. If requesting a value for a feature element, this will block until the report has been issued to the device.

See Also

Miscellaneous