_Handle Struct Reference
Information associated with a device handle.
More...
#include <Libs/libwebcam/libwebcam.h>
|
Data Fields |
|
Device * | device |
| | Pointer to the device structure associated with this handle.
|
|
int | open |
| | True if the handle is open (valid or invalid).
|
|
int | last_system_error |
| | The number of the last system error (e.g. a V4L2 return value).
|
Detailed Description
Information associated with a device handle.
Note that a handle can have three different states:
- Closed/free: The device handle is not being used by an application.
- Valid: The device handle is open by an application and points to a valid device.
- Invalid: The device handle is open by an application but does not point to a (valid) device anymore. This happens when a device is removed from the system but there are still open handles around. An "open" handle can be both valid or invalid.
The documentation for this struct was generated from the following file: