Method
AravisInterfaceopen_device
Declaration [src]
ArvDevice*
arv_interface_open_device (
ArvInterface* iface,
const char* device_id,
GError** error
)
Description [src]
Creates a new ArvDevice
object corresponding to the given device id string.
The first available device is returned if device_id
is NULL
.
Available since: | 0.2.0 |
Parameters
device_id |
const char* |
Device unique id. |
|
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 method takes ownership of the data, and is responsible for freeing it. |