Method
GUsbDeviceListfind_by_vid_pid
Declaration
GUsbDevice*
g_usb_device_list_find_by_vid_pid (
GUsbDeviceList* self,
guint16 vid,
guint16 pid,
GError** error
)
Parameters
vid |
guint16 |
A vendor ID. |
|
pid |
guint16 |
A product ID. |
|
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GUsbDevice |
A new |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |