---
title: Close
framework: hiddriverkit
role: symbol
role_heading: Instance Method
path: hiddriverkit/iohidinterface/close
---

# Close

Closes the interface and stops the delivery of input reports.

## Declaration

```occ
virtual kern_return_t Close(IOService *forClient, IOOptionBits options);
```

## Parameters

- `forClient`: The client that closed the interface.
- `options`: Options to use when closing the session. Specify 0 for no options.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

## See Also

### Managing the Session

- [Open](hiddriverkit/iohidinterface/open.md)
