Sensoray 811 Windows SDK User Manual

Page 18

Advertising
background image

Parameters

bDisplayVideo

TRUE to enable preview.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

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

MID811_API int S811_GetRenderVideo(

BOOL *bDisplayVideo,

int devid

);

Retrieves the preview setting.

Parameters

bDisplayVideo

pointer to retrieved setting.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

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

MID811_API int S811_Repaint(

HDC hdc

);

Repaint callback, should be called when application receives a WM_PAINT event. This is necessary
to notify the video renderer of a repaint event.

Parameters

hdc

device context handle or NULL if unknown.

Returns

18

Advertising