Function
Aravisopen_device
Declaration [src]
ArvDevice*
arv_open_device (
const char* device_id,
GError** error
)
Description [src]
Open a device corresponding to the given identifier. A NULL string makes
this function return the first available device.
| Available since: | 0.8.0 |
Parameters
device_id |
const char* |
A device identifier string. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | ArvDevice |
A new |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |