Method
GUsbContextfind_by_vid_pid
Declaration
GUsbDevice*
g_usb_context_find_by_vid_pid (
GUsbContext* 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. |