Releases memory back to Windows, reversing the action of the L_AccessBitmap function. This has the same effect as the Windows C API GlobalUnlock function.
#include "l_bitmap.h"
L_LTKRN_API L_VOID L_ReleaseBitmap(pBitmap)
Pointer to the bitmap handle referencing the bitmap to be released.
None.
Use this along with the L_AccessBitmap function to control the access to bitmap data in memory. Any attempt to access the image data after calling L_ReleaseBitmap will result in an application error.
You should call this function whenever the image is not used, so that Windows can manage its memory properly.
Win32, x64, Linux.
For an example, refer to L_GetBitmapRow.
For complete sample code, refer to the RESIZE
example.
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