home | help
DC_USBHID_DEVICE_GET_VID(3)  Library Functions ManualDC_USBHID_DEVICE_GET_VID(3)

NAME
     dc_usbhid_device_get_vid -- Get the vendor id (VID) of the USB HID device.

LIBRARY
     libdivecomputer

SYNOPSIS
     #include <libdivecomputer/usbhid.h>

     unsigned int
     dc_usbhid_device_get_vid(dc_usbhid_device_t *device);

DESCRIPTION
     Get  the  vendor  id (VID) of the USB HID device. Used for displaying.  Re-
     quires a valid usbhid device of type dc_usbhid_device_t which  can  be  re-
     trieved using dc_usbhid_iterator_new(3).

RETURN VALUES
     Returns the vendor id (VID) of given usbhid device

SEE ALSO
     dc_usbhid_device_get_vid(3), dc_usbhid_iterator_new(3).

AUTHORS
     The  libdivecomputer  library  was  written by Jef Driesen, jef@libdivecom-
     puter.org.
     This manpage is written by
     Vincent Hagen, vinnie@script4web.nl.

FreeBSD ports 15.quarterly	  June 5, 2020	     DC_USBHID_DEVICE_GET_VID(3)

home | help