hidd_reports_detach()

Detach from all the HID device reports for a device

Synopsis:

#include <sys/hiddi.h>

int hidd_reports_detach( struct hidd_connection *connection,
                         struct hidd_device_instance *device_instance );

Arguments:

connection

The HID stack connection handle (from hidd_connect()).

device_instance
A pointer to the hidd_device_instance_t instance.

Description:

The hidd_reports_detach() function un-registers reports for a device. You would typically call this function in the removal callback or if you were no longer interested in the device.

Returns:

EOK
Success.
ENOTCONN
The connection is NULL.
EINVAL
The device_instance is NULL.

Classification:

QNX OS

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