beautypg.com

Sensoray 2224 Windows User Manual

Page 55

background image

type

1=image, 0=text

region

MID2226_REGION_MONITOR, MID2226_REGION_MPEG, MID2226_REGION_STILL.

group

text with common group number is kept together.

xpos

start x position.

ypos

start y position.

value

pointer to text or image file path.

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

char *ImageFile,

char *Image,

int xPos,

int yPos,

int xSize,

int ySize,

int Backgnd_ForegndN,

HANDLE handle

);

Copy given image to region within sub-window position zero.

Assumes sub-window position zero is loaded into current memory

Assumes sub-window position zero has a width that is divisible by 8

Assumes all other overlays (1-7) are contained within the boundaries of overlay zero

55

This manual is related to the following products: