LBitmapBase::Access

#include "ltwrappr.h"

virtual L_INT LBitmapBase::Access()

Provides exclusive access to the image data contained in a class objects bitmap handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This call locks the memory. To make the most of available system resources, you should only keep a bitmap handle locked when you need to access the image data. Call LBitmapBase::Release to unlock the bitmap data, for more efficient use of Windows memory resources.

Required DLLs and Libraries

LTDIS
LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LBitmapBase::Release, LBitmapBase::ChangeHeight, LBitmapBase::PutRow, LBitmapBase::PutRowCol, LBitmapBase::PutRowCompressed, LBitmapBase::PutRowColCompressed, Class Members

Topics:

Raster Image Functions: Getting and Setting Pixel Values

Example

For an example, refer to LBitmapBase::GetRow.