Sensoray 2251 Rev.A User Manual
Page 24

BOOL *bDisplayVideo,
int board
);
Retrieves the preview setting.
Parameters
bDisplayVideo
pointer to retrieved setting.
board
board number in the system (use 0 for single board setups).
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
MID2250_API int SN_SetAspectRatio(
MID2250_ASPECT_MODE mode,
int board
);
Allows modifying the video aspect ratio for preview.
Parameters
mode
MID2250_ASPECT_NONE allows stretched preview image, MID2250_ASPECT_CONST
maintains original aspect ratio (see mid2250types.h).
board
board number in the system (use 0 for single board setups).
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
MID2250_API int SN_GetAspectRatio(
MID2250_ASPECT_MODE *mode,
int board
);
24