Sensoray 812 Windows User Manual
Page 14

vidsize
MID812_RES_D1, MID812_RES_SIF, MID812_RES_CIF, MID812_RES_VGA,
MID812_RES_4SIF, MID812_RES_4CIF.
devid
device id in the system (use 0 with a single board installed).
strmidx
channel index (0-7)
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_GetVidSize(
MID812_RES *vidsize,
int devid,
int strmidx
);
Gets the current video size.
Parameters
vidsize
MID812_RES_D1, MID812_RES_SIF, MID812_RES_CIF, MID812_RES_VGA,
MID812_RES_4SIF, MID812_RES_4CIF.
devid
device id in the system (use 0 with a single board installed).
strmidx
channel index (0-7)
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_Repaint(
HDC hdc,
int devid,
int strmidx
);
Only used for preview and when rendering to a non-NULL hwnd. Call this function in your OnPaint
routine. See demo application for example usage.
Parameters
hdc
14