---
title: handleReport
framework: hiddriverkit
role: symbol
role_heading: Instance Method
path: hiddriverkit/iohiddevice/handlereport
---

# handleReport

Handles an asynchronous report received from the HID device.

## Declaration

```occ
virtual kern_return_t handleReport(uint64_t timestamp, IOMemoryDescriptor *report, uint32_t reportLength, IOHIDReportType reportType, IOOptionBits options);
```

## Parameters

- `report`: A memory descriptor that describes the report.
- `reportType`: The type of report.
- `options`: Options to specify in the request. No options are currently supported, and the default value is 0.

## Return Value

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

## Discussion

Discussion The default implementation of this method parses the report data and notifies attached interfaces of any changes.

## See Also

### Processing Device Reports

- [getReport](hiddriverkit/iohiddevice/getreport.md)
- [setReport](hiddriverkit/iohiddevice/setreport.md)
- [CompleteReport](hiddriverkit/iohiddevice/completereport.md)
- [Report Options](hiddriverkit/report-options-enum.md)
