Sensoray 2251 Rev.A User Manual

Page 25

Advertising
background image

Retrieves the aspect ratio control setting.

Parameters

mode

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_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

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

MID2250_API int SN_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 mid2250types.h for error codes list).

MID2250_API int SN_UpdateClippingWindow(

HWND hwnd

25

Advertising
This manual is related to the following products: