hidd_get_report()
Get an output or feature report from a HID device
Synopsis:
#include <sys/hiddi.h>
int hidd_get_report( struct hidd_report *report,
_Uint8t *report_data );Arguments:
- report
-
The handle of a report (from hidd_report_attach()).
- report_data
-
User provided buffer in which to store the raw report. The length of the buffer to provide, use hidd_report_len().
Description:
The hidd_get_report() function gets an output or feature report from a HID device.
Returns:
- EOK
- Success.
- EINVAL
- One of the arguments is NULL.
- ENOENT
- A specified report doesn't exist, or the device was removed.
- ENOTSUP
- The device doesn't support reading reports.
This function can also return a device-specific error code.
Classification:
QNX OS
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Signal handler | No |
| Thread | Yes |
Page updated:
