hidd_report_desc()

Get a report from device instance handle

Synopsis:

#include <sys/hiddi.h>

int hidd_report_desc( hidd_device_instance_t *device_instance,
                      _uint32 rep_no,
                      struct hidd_report_instance **report );

Arguments:

device_instance
The handle of the HID device instance to search.
rep_no
The report number to find and return.
report
Where to store the pointer to the report found, or NULL if not found.

Description:

The hidd_report_desc() function finds and returns the rep_no report instance from the device_instance.

Returns:

EOK
Success.
EINVAL
The device_instance or report argument is NULL.
ENOENT
Less than rep_no + 1 reports were found.

Classification:

QNX OS

Safety:
Cancellation point Yes
Signal handler No
Thread Yes
Page updated: