函数 | |
| KSJ_API int __stdcall | KSJ_DeviceOpen (int nIndex) |
| KSJ_DeviceOpen. | |
| KSJ_API int __stdcall | KSJ_DeviceClose (int nIndex) |
| KSJ_DeviceClose. | |
| KSJ_API int __stdcall | KSJ_DeviceGetStatus (int nIndex, KSJ_DEVICESTATUS *pDs) |
| KSJ_DeviceGetStatus. | |
| enum KSJ_DEVICESTATUS |
| KSJ_API int __stdcall KSJ_DeviceOpen | ( | int | nIndex | ) |
KSJ_DeviceOpen.
-----------------------------------------------------------------------------
打开指定索引的相机
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_DeviceClose | ( | int | nIndex | ) |
KSJ_DeviceClose.
-----------------------------------------------------------------------------
关闭指定索引的相机,如果不关闭指定相机,那么在多进程下是不能操作这台相机的
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_DeviceGetStatus | ( | int | nIndex, | |
| KSJ_DEVICESTATUS * | pDs | |||
| ) |
KSJ_DeviceGetStatus.
-----------------------------------------------------------------------------
获取相机在当前进程中的开启关闭状态
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pDs | [out] 获取相机在当前进程中的开启关闭状态 |
-----------------------------------------------------------------------------