Home > C: Programming > Obsolete Functions > History back  Previous chapter  Next chapter  Print  

is_LockDDMem

uEye Camera Manual Version 3.80

is_LockDDMem

Windows_Logo

Linux_Logo

USB 2.0

GigE

-

Syntax

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

Description

Achtung

This function is obsolete and should not be used anymore. We recommend to use the is_DirectRenderer() function instead (see also Obsolete Functions).

is_LockDDMem() enables access to the image memory in DirectDraw mode and returns the pointer to the image memory. In most cases, the image memory is located on the graphics card. Using the pointer, you have direct access to the image memory. Make sure to release the memory as early as possible using the is_UnlockDDMem() function.

Calling is_LockDDMem() will not interrupt the process of digitizing an image and saving it to the memory area.

While a LockDDMem ... UnlockDDMem block is executed in DirectDraw BackBuffer mode, the contents of the back buffer will not be refreshed on the screen.

Input Parameters

hCam

Camera handle

ppMem

Pointer to the variable that holds the address pointer

pPitch

Pointer to the variable that holds the pitch value

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related Functions

is_UnlockDDMem()
is_LockDDOverlayMem()
is_UnlockDDOverlayMem()
is_LockSeqBuf()
is_UnlockSeqBuf()
is_UpdateDisplay()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com