Sensoray 2251 Rev.A User Manual
Page 16

);
Takes a snapshot and saves it to a file.
Parameters
fileName
full path to the target file, no extension.
filetype
file type(s) to save to (MID2250_FILE_JPEG, MID2250_FILE_BMP, see mid2250types.h).
qual
JPEG quality (25-100, higher value yields better quality and bigger files).
board
board number in the system (use 0 for single board setups).
Returns
Image size in bytes or a negative value in case of an error.
MID2250_API int SN_SetPlayback(
char *filename,
int rawtype
int vidnum
);
Starts playback of the specified file in current window.
Parameters
filename
full path to the target file.
raw_type
unused. set as RAWTYPE_RGB24.
vidnum
Use –1 for playing back to hWnd. Other values are reserved.
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
16