---
title: IOHIDManagerClose
framework: IOKit
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: iokit/1438405-iohidmanagerclose
---

# IOHIDManagerClose

Closes the IOHIDManager.

## Declaration

```occ
IOReturn IOHIDManagerClose(IOHIDManagerRef manager, IOOptionBits options);
```

## Parameters

- `manager`: Reference to an IOHIDManager.
- `options`: Option bits to be sent down to the manager and device.

## Return Value

Return Value Returns kIOReturnSuccess if successful.

## Discussion

Discussion This will also close all devices that are currently enumerated.

## See Also

### Miscellaneous

- [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)
- [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)
