hid_get_product_string

@brief Get The Product String from a HID device.

@ingroup API @param device A device handle returned from hid_open(). @param string A wide string buffer to put the data into. @param maxlen The length of the buffer in multiples of wchar_t.

@returns This function returns 0 on success and -1 on error.

extern (C)
int
hid_get_product_string
(,
wchar_t* string
,
size_t maxlen
)

Meta