07.01.2013 Views

ICube SDK API Manual V2.x 1011 - NET GmbH

ICube SDK API Manual V2.x 1011 - NET GmbH

ICube SDK API Manual V2.x 1011 - NET GmbH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

iCube SERIES <strong>SDK</strong> <strong>API</strong> <strong>Manual</strong><br />

int iCube <strong>SDK</strong>_SetResolutionParam(int nCamIndex,HWND ImgHandle, int Preview, int<br />

Callback)<br />

Purpose: starts the video stream of roi2-4 (4133CU/BU only)<br />

description<br />

parameters int nCamIndex, HWND ImgHandle, int Preview, int Callback<br />

return value Int stat<br />

return value:<br />

int stat: IC_SUCCESS: success<br />

else: error<br />

parameters:<br />

int nCamIndex: index of camera.<br />

HWND ImgHandle: handle to preview window.<br />

int Preview: set/unset the use of a preview window. If preview mode is set and ImgHandle<br />

is NULL, a default preview window will be used.<br />

int Callback: set/unset the use of the callback function.<br />

int iCube <strong>SDK</strong>_GetSize(int nCamIndex,int* pnXRes,int* pnYRes)<br />

Purpose: get the current frame sizes.<br />

parameters<br />

return value<br />

description<br />

int CamIndex, int* pnXRes,int* pnYRes<br />

int stat<br />

return value:<br />

int stat: IC_SUCCESS: success<br />

else: error<br />

parameters:<br />

int nCamIndex: index of camera.<br />

int* pnXRes: current width.<br />

int* pnYRes: current height.<br />

<strong>NET</strong> <strong>GmbH</strong> All R ig hts Reser v ed<br />

<strong>ICube</strong> Series <strong>SDK</strong> <strong>API</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!