L_LTKRN_API L_VOID L_ReleaseBitmap(pBitmap)
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.
Pointer to the bitmap handle referencing the bitmap to be released.
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.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_GetBitmapRow. For complete sample code, refer to the RESIZE example.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries