hidd_disconnect()

Disconnect a client driver from the HID stack

Synopsis:

#include <sys/hiddi.h>

int hidd_disconnect( struct hidd_connection *connection );

Arguments:

connection

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

Description:

The hidd_disconnect() function disconnects a client driver that had been previously connected to the HID stack via the hidd_connect() function.

The hidd_disconnect() function automatically de-registers for any reports previously registered for with hidd_report_attach().

Returns:

EOK
Success.
ENOTCONN
The connection argument is NULL.

Classification:

QNX OS

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