Sensoray 811 Windows SDK User Manual

Page 17

Advertising
background image

MID811_API int S811_SetVidSize(

MID811_RES eVidSize,

int devid

);

Sets the captured video size (resolution).

Parameters

eVidSize

see header file for supported resolutions.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_GetVidSize(

int *eVidSize,

int devid

);

Gets the captured video size (resolution).

Parameters

eVidSize

returns pointer to vid size.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_SetRenderVideo(

BOOL bDisplayVideo,

int devid

);

Turns the preview on and off.

17

Advertising