beautypg.com

Sensoray 2224 Windows User Manual

Page 53

background image

);

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

Parameters

AtIndex

(0-7) sub-window position to update/add text.

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, negative value if error (see mid2226types.h for error codes list).

MID2226_API int S2226_OverlayImageRaw(

BYTE *image,

int xPos,

int yPos,

int xSize,

int ySize,

int AtIndex,

int regionmask,

HANDLE handle

);

Adds/Update overlay image. If overlay already exists at index WinIndex, deletes window before
adding.

53

This manual is related to the following products: