Contents

IOHIDManagerRegisterDeviceMatchingCallback

Registers a callback to be used a device is enumerated.

Declaration

void IOHIDManagerRegisterDeviceMatchingCallback(IOHIDManagerRef manager, IOHIDDeviceCallback callback, void *context);

Parameters

  • manager:

    Reference to an IOHIDManagerRef.

  • callback:

    Pointer to a callback method of type IOHIDDeviceCallback.

  • context:

    Pointer to data to be passed to the callback.

Discussion

Only device matching the set criteria will be enumerated.

See Also

Miscellaneous