Sensoray 2251 Rev.A User Manual
Page 9

board number in the system (use 0 for single board setups).
MID2250_API int SN_SetPlaybackWindow(
HWND hwnd,
BOOL bResize
);
Sets the window for playback.
hwnd
A handle to the window to display video in.
bResize
If set to TRUE, the window will be resized to match native video size.
MID2250_API int SN_SetSource(
MID2250_SOURCE input,
int board
);
Selects between composite and S-video inputs.
Parameters
input
enumerated input MID2250_SOURCE (see mid2250types.h). For model 2250 the allowed
values are MID2250_SOURCE_COMPOSITE_0 and MID2250_SOURCE_SVIDEO_0.
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_GetSource(
MID2250_SOURCE *pSource,
int board
9