
29 / 58
29
int
iCube
SDK_
Start (int nCamIndex,HWND ImgHandle,bool Preview,bool Callback)
Purpose: starts the video stream
Linux: NETUSBCAM_Start uses only the parameter nCamIndex, because there is
no internal preview functionality implemented.
Description
Parameters
int
CamIndex,
HWND
ImgHandle,
bool
Preview,
bool
CallBack
Return value
Int
stat
Return value:
int
stat
:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
HWND
ImgHandle: handle to preview window.
bool
Preview: set/unset the use of a preview window. If preview mode is set and
ImgHandle is NULL, a default preview window will be used.
bool
Callback: set/unset the use of the callback function.
void
iCube
SDK_
IsStarted (int nCamIndex)
Purpose: checks for open image stream.
Description
Parameters
int
CamIndex
Return value
-
Return value:
int
stat
:
ON: image stream is open
OFF: image stream is not open
Parameters:
int
nCamIndex: index of camera.