---
title: IOHIDManagerRegisterDeviceMatchingCallback
framework: IOKit
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: iokit/1438399-iohidmanagerregisterdevicematchi
---

# IOHIDManagerRegisterDeviceMatchingCallback

Registers a callback to be used a device is enumerated.

## Declaration

```occ
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

Discussion Only device matching the set criteria will be enumerated.

## See Also

### Miscellaneous

- [IOHIDManagerClose](iokit/1438405-iohidmanagerclose.md)
- [IOHIDManagerCopyDevices](iokit/1438391-iohidmanagercopydevices.md)
- [IOHIDManagerCreate](iokit/1438383-iohidmanagercreate.md)
- [IOHIDManagerGetProperty](iokit/1438403-iohidmanagergetproperty.md)
- [IOHIDManagerGetTypeID](iokit/1438375-iohidmanagergettypeid.md)
- [IOHIDManagerOpen](iokit/1438369-iohidmanageropen.md)
- [IOHIDManagerRegisterDeviceRemovalCallback](iokit/1438376-iohidmanagerregisterdeviceremova.md)
- [IOHIDManagerRegisterInputReportCallback](iokit/1438397-iohidmanagerregisterinputreportc.md)
- [IOHIDManagerRegisterInputValueCallback](iokit/1438367-iohidmanagerregisterinputvalueca.md)
- [IOHIDManagerSaveToPropertyDomain](iokit/1438395-iohidmanagersavetopropertydomain.md)
- [IOHIDManagerScheduleWithRunLoop](iokit/1438409-iohidmanagerschedulewithrunloop.md)
- [IOHIDManagerSetDeviceMatching](iokit/1438371-iohidmanagersetdevicematching.md)
- [IOHIDManagerSetDeviceMatchingMultiple](iokit/1438387-iohidmanagersetdevicematchingmul.md)
- [IOHIDManagerSetInputValueMatching](iokit/1438389-iohidmanagersetinputvaluematchin.md)
- [IOHIDManagerSetInputValueMatchingMultiple](iokit/1438379-iohidmanagersetinputvaluematchin.md)
- [IOHIDManagerSetProperty](iokit/1438401-iohidmanagersetproperty.md)
- [IOHIDManagerUnscheduleFromRunLoop](iokit/1438378-iohidmanagerunschedulefromrunloo.md)
