Sensoray 811 Windows SDK User Manual

Page 19

Advertising
background image

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_DisplayChange(

);

Informs the video renderer that a WM_DISPLAYCHANGE message has been received by the
application. This callback should be called when the application has a WM_DISPLAYCHANGE event.

Parameters

none

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_SetPreviewWindow(

HWND hwnd,

int devid,

);

Sets the window for video streaming. Overrides S811_SetRenderVideo setting to TRUE.

Parameters

hwnd

Handle to video display window.

devid

current device id.

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_SetVideoPosition(

int xpos,

int ypos,

int xsize,

int ysize,

int left_clip,

int top_clip,

int right_clip,

19

Advertising