Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_LockDDMem (HIDS hf, void** ppMem, INT* pPitch)

Description

In DirectDraw mode is_LockDDMem() gives access to the image memory and returns the address pointer to the beginning of the image memory. In most cases the image memory is on the VGA card. Using the pointer the image memory can be accessed directly. Access is disabled with is_UnlockDDMem() – this must be done as soon as possible.

Digitizing to memory cannot be terminated with is_LockDDMem().

When in DirectDraw back buffer mode, within a LockDDMem –UnlockDDMem block there are no updates of the back buffer on the display.

Parameters

hf

Frame grabber handle

ppMem

Pointer to variable, which will contain address pointer

pPitch

Pointer to variable, which will contain the pitch value

Return value

IS_SUCCESS, IS_NO_SUCCESS