Method
GUsbContextfind_by_platform_id
Declaration
GUsbDevice*
g_usb_context_find_by_platform_id (
GUsbContext* self,
const gchar* platform_id,
GError** error
)
Parameters
platform_id |
const gchar* |
A platform id, e.g. “usb:00:03:03:02” |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
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. |