Sensoray 812 Windows User Manual
Page 15

handle to device context.
hdev
handle to device (obtained from S812_OpenBoard).
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_DisplayChange(
int devid,
int strmidx
);
Call if display changes for the preview window.
Parameters
hdc
handle to device context.
hdev
handle to device (obtained from S812_OpenBoard).
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_StartCallback(
int devid,
int strmidx
);
Starts streaming with data sent to the callback functions registered with S812_RegisterCallback
function. Callbacks should be short and return quickly. Do not use blocking functions in the
callback.
Parameters
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).
15