hidd_report_len()

Get length of a raw report sent/received by device

Synopsis:

#include <sys/hiddi.h>

int hidd_report_len( struct hidd_report_instance *report_instance,
                     _Uint16t *report_len );

Arguments:

report_instance

The handle of a report instance, as returned by hidd_get_report_instance().

report_len
A pointer to memory where to store the length of the raw report the device will send/receive.

Description:

The hidd_report_len() function gets the length of a raw report sent or received by a device. You would typically use this function to allocate buffer space for a output/feature report to send to a device. You would then use hidd_set_*() functions to fill in the data for the report.

Returns:

EOK
Success.
EINVAL
One of the arguments is NULL.

Classification:

QNX OS

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