Sensoray 812 Windows User Manual
Page 20

strmidx
channel index (0-7)
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_EnableSnapshots(
int devid,
int strmidx,
BOOL bOn,
);
Controls whether snapshots are on or not. Snapshots require intermediate buffering of the data.
Enabling snapshots may degrade preview performance because the image can no longer be
directly rendered to video RAM.
Parameters
devid
device id in the system (use 0 with a single board installed).
strmidx
channel index (0-7).
bOn
TRUE-snapshots on, FALSE, snapshots off.
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_SetDirectShow(
int devid,
int strmidx,
BOOL bDecomp,
MID812_DSHOW renderer,
);
Advanced setting for more control of the preview. Sets which DirectShow rendering filters are
used for preview.
Parameters
devid
device id in the system (use 0 with a single board installed).
20