|
|
Modules | |
| Examples | |
| Device handling example
| |
Functions | |
| int | gx_listdevices (int *nitems, GX_DEVICE_INFO *items, unsigned int flags=0, GX_DEVICE_INFO *filter=0) |
| Lists the available GX devices (Unicode version). | |
| int | gx_listdevicesa (int *nitems, GX_DEVICE_INFOA *items, unsigned int flags, GX_DEVICE_INFOA *filter) |
| Lists the available GX devices (ASCII version). | |
| int | gx_listdevices (int *nitems, GX_DEVICE_INFOA *items, unsigned int flags=0, GX_DEVICE_INFOA *filter=0) |
| Lists the available GX devices (ASCII version). | |
| int | gx_opendevicea (gxHANDLE *handle, GX_DEVICE_INFOA *info, unsigned int flags, GX_DEVICE_INFOA *filter, int nproperties, const char **properties, int timeoutms) |
| Selects and opens a device in the GX system (ASCII version). | |
| int | gx_opendevice (gxHANDLE *handle, GX_DEVICE_INFOA *info, unsigned int flags=0, GX_DEVICE_INFOA *filter=0, int nproperties=0, const char **properties=0, int timeoutms=0) |
| Selects and opens a device in the GX system (ASCII version). | |
| int | gx_opendevice (gxHANDLE *handle, GX_DEVICE_INFO *info, unsigned int flags=0, GX_DEVICE_INFO *filter=0, int nproperties=0, const wchar_t **properties=0, int timeoutms=0) |
| Selects and opens a device in the GX system (Unicode version). | |
| int | gx_getsysteminfo (GX_SYSTEM_INFO *info) |
| Returns information about the GX system. | |
| int gx_listdevices | ( | int * | nitems, | |
| GX_DEVICE_INFO * | items, | |||
| unsigned int | flags = 0, |
|||
| GX_DEVICE_INFO * | filter = 0 | |||
| ) | [inline] |
Lists the available GX devices (Unicode version).
| nitems | Number of items in the array. On input set the maximal size of the array. The function will updates it with the number of the devices found. | |
| items | Pointer to the items of the array. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. |
References gx_call().
Referenced by gxSystem::ListDevices().
| int gx_listdevicesa | ( | int * | nitems, | |
| GX_DEVICE_INFOA * | items, | |||
| unsigned int | flags, | |||
| GX_DEVICE_INFOA * | filter | |||
| ) | [inline] |
Lists the available GX devices (ASCII version).
| nitems | Number of items in the array. On input set the maximal size of the array. The function will updates it with the number of the devices found. | |
| items | Pointer to items of the array. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. |
References gx_call().
Referenced by gx_listdevices(), and gxSystem::ListDevicesA().
| int gx_listdevices | ( | int * | nitems, | |
| GX_DEVICE_INFOA * | items, | |||
| unsigned int | flags = 0, |
|||
| GX_DEVICE_INFOA * | filter = 0 | |||
| ) | [inline] |
Lists the available GX devices (ASCII version).
| nitems | Number of items in the array. On input set the maximal size of the array. The function will updates it with the number of the devices found. | |
| items | Pointer to items of the array. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. |
References gx_listdevicesa().
| int gx_opendevicea | ( | gxHANDLE * | handle, | |
| GX_DEVICE_INFOA * | info, | |||
| unsigned int | flags, | |||
| GX_DEVICE_INFOA * | filter, | |||
| int | nproperties, | |||
| const char ** | properties, | |||
| int | timeoutms | |||
| ) | [inline] |
Selects and opens a device in the GX system (ASCII version).
| handle | The function will update it with the opened handle. | |
| info | The function will fill it with the information of the opened device. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. You can pass NULL to it (if the flags field is zero too). | |
| nproperties | Number of properties of the device. It can be zero. | |
| properties | Pointer to properties of the device. It can be NULL. | |
| timeoutms | Timeout in milliseconds. |
References gx_call().
Referenced by gx_opendevice().
| int gx_opendevice | ( | gxHANDLE * | handle, | |
| GX_DEVICE_INFOA * | info, | |||
| unsigned int | flags = 0, |
|||
| GX_DEVICE_INFOA * | filter = 0, |
|||
| int | nproperties = 0, |
|||
| const char ** | properties = 0, |
|||
| int | timeoutms = 0 | |||
| ) | [inline] |
Selects and opens a device in the GX system (ASCII version).
| handle | The function will update it with the opened handle. | |
| info | The function will fill it with the information of the opened device. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. You can pass NULL to it (if the flags field is zero too). | |
| nproperties | Number of properties of the device. It can be zero. | |
| properties | Pointer to properties of the device. It can be NULL. | |
| timeoutms | Timeout in milliseconds. |
References gx_opendevicea().
| int gx_opendevice | ( | gxHANDLE * | handle, | |
| GX_DEVICE_INFO * | info, | |||
| unsigned int | flags = 0, |
|||
| GX_DEVICE_INFO * | filter = 0, |
|||
| int | nproperties = 0, |
|||
| const wchar_t ** | properties = 0, |
|||
| int | timeoutms = 0 | |||
| ) | [inline] |
Selects and opens a device in the GX system (Unicode version).
| handle | The function will update it with the opened handle. | |
| info | The function will fill it with the information of the opened device. | |
| flags | Flags for the filter structure (see GX_DEVICE_FLAGS). | |
| filter | The filter structure. You can pass NULL to it (if the flags field is zero too). | |
| nproperties | Number of properties of the device. It can be zero. | |
| properties | Pointer to properties of the device. It can be NULL. | |
| timeoutms | Timeout in milliseconds. |
References gx_call().
| int gx_getsysteminfo | ( | GX_SYSTEM_INFO * | info | ) | [inline] |
Returns information about the GX system.
| info | Buffer for the result. Before calling this function, do not forget to set the size member of the structure. A non 0 value specifies the number of bytes required. If it is set to 0, the function returns the proper size that can be used in a successive call. |
References gx_call().
Referenced by gxSystem::GetSystemInfo().