Sensoray 614 Windows User Manual
Page 12

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.
board
board number in the system (use 0 for single board setups).
Returns
0 on success, negative value if error (see mid314types.h for error codes list).
MID314_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.
MID314_API int SN_SetSource(
MID314_SOURCE input,
int board
);
Selects between composite and S-video inputs.
Parameters
input
enumerated input MID314_SOURCE (see mid314types.h). For model 314 the allowed values
are MID314_SOURCE_COMPOSITE_0, MID314_SOURCE_COMPOSITE_1,
MID314_SOURCE_COMPOSITE_2, MID314_SOURCE_COMPOSITE_3,
MID314_SOURCE_SVIDEO_0 and MID314_SOURCE_SVIDEO_1.
12