hidd_get_report_props()
Get the properties from the report instance
Synopsis:
#include <sys/hiddi.h>
int hidd_get_report_props( struct hidd_report_instance *report_instance,
hidd_report_props_t *report_props,
_Uint16t *len );Arguments:
- report_instance
-
The handle of a report instance, as returned by hidd_get_report_instance().
- report_props
- A pointer to pre-allocated block of memory that can fit at least len instances of the hidd_report_props_t structure. If NULL, this function will only return the number of properties found.
- num
-
The number of properties to be copied. Upon exit contains number of properties copied, or number of properties found, if report_props is NULL.
Description:
The hidd_get_report_props() function gets the properties found in the report instance. Copies the properties into memory region indicated by report_props, up to len reports, then returns the number of reports copied.
Returns:
- EOK
- Success.
- EINVAL
- The report_instance or len is NULL.
- ENOSPC
- More than len properties are found.
Classification:
QNX OS
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Signal handler | No |
| Thread | Yes |
Page updated:
