beautypg.com

Sensoray 614 Windows User Manual

Page 25

background image

MID314_ASPECT_NONE allows stretched preview image, MID314_ASPECT_CONST

maintains original aspect ratio (see mid314types.h).

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_GetAspectRatio(

MID314_ASPECT_MODE *mode,

int board

);

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 mid314types.h for error codes list).

MID314_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 mid314types.h for error codes list).

25

This manual is related to the following products: