hidd_server_info()

Get the connected HID server and DDK versions

Synopsis:

#include <sys/hiddi.h>

int hidd_server_info( struct hidd_connection *connection,
                      hidd_server_info_t *info );

Arguments:

connection

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

info

A pointer to hidd_server_info_t instance, where the versions will be stored.

Description:

The hidd_server_info() function gets the version of the connected HID server and of the HID DDK it uses.

Returns:

EOK
Success.
ENOTCONN
The connection argument is NULL.
EINVAL
The info argument is NULL.

Classification:

QNX OS

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