Determines whether the bitmap memory data is locked.
#include "ltwrappr.h"
L_BOOL LBitmapBase::IsMemoryLocked()
Value | Meaning |
---|---|
TRUE | The bitmap data memory is locked. |
FALSE | The bitmap data memory is not locked. |
Use this function to check whether the bitmap memory data is locked or not.
The bitmap memory must be locked before you can access the image data contained in the class objects bitmap.
Win32, x64.
L_INT LBitmapBase__IsMemoryLockedExample()
{
L_INT nRet;
LBitmapBase MyBitmap;
L_BOOL bLocked;
nRet =MyBitmap.Load(MAKE_IMAGE_PATH(TEXT("image1.cmp")));
if(nRet !=SUCCESS)
return nRet;
bLocked=MyBitmap.IsMemoryLocked();
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document