beautypg.com

Sensoray 2224 Windows User Manual

Page 52

background image

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

MID2226_API int S2226_OverlayImage(

int xpos,

int ypos,

char *imageFile,

int regionmask,

HANDLE hdev

);

Adds overlay image. If overlay already exists at that x, y position, deletes window before adding.

Parameters

xpos

start x position.

ypos

start y position.

imageFile

full path to image file. Must be a 24bit BMP or PCX bitmap image only. See demo

application and Logo.bmp.

regionmask

MID2226_REGION_MONITOR, MID2226_REGION_MPEG, MID2226_REGION_STILL.

hdev

handle to device (obtained from S2226_OpenBoard).

Returns

0 on success, -1 if too many regions, negative value if error (see mid2226types.h for error

codes list).

MID2226_API int S2226_OverlayImageIdx(

int AtIndex,

int xpos,

int ypos,

char *imageFile,

int regionmask,

HANDLE hdev

52

This manual is related to the following products: