---
title: IOHIDManagerScheduleWithRunLoop
framework: IOKit
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: iokit/1438409-iohidmanagerschedulewithrunloop
---

# IOHIDManagerScheduleWithRunLoop

Schedules HID manager with run loop.

## Declaration

```occ
void IOHIDManagerScheduleWithRunLoop(IOHIDManagerRef manager, CFRunLoopRef runLoop, CFStringRef runLoopMode);
```

## Parameters

- `manager`: Reference to an IOHIDManager.
- `runLoop`: RunLoop to be used when scheduling any asynchronous activity.
- `runLoopMode`: Run loop mode to be used when scheduling any asynchronous activity.

## Discussion

Discussion Formally associates manager with client's run loop. Scheduling this device with the run loop is necessary before making use of any asynchronous APIs. This will propagate to current and future devices that are 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)
- [IOHIDManagerRegisterDeviceMatchingCallback](iokit/1438399-iohidmanagerregisterdevicematchi.md)
- [IOHIDManagerRegisterDeviceRemovalCallback](iokit/1438376-iohidmanagerregisterdeviceremova.md)
- [IOHIDManagerRegisterInputReportCallback](iokit/1438397-iohidmanagerregisterinputreportc.md)
- [IOHIDManagerRegisterInputValueCallback](iokit/1438367-iohidmanagerregisterinputvalueca.md)
- [IOHIDManagerSaveToPropertyDomain](iokit/1438395-iohidmanagersavetopropertydomain.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)
