The UnlockFlagsConstants2 constants define the level at which unlocking will be performed.
Note
As of v21 the LEADTOOLS Multimedia toolkit has been updated to use a seamless license mechanism and any new development must use it. The new licensing mechanism uses L_SetLicenseFile and L_SetLicenseBuffer. For a step-by-step tutorial on a C DLL platform, refer to Add References and Set a License.
The ILMDSKernel2::UnlockModule mechanism is still supported in v21.
typedef enum UnLockFlagsConstants2
{
UNLOCK_COMPUTER = 0x01,
UNLOCK_APP_ONCE = 0x02,
UNLOCK_APP_ALWAYS = 0x03,
UNLOCK_APP_PATH = 0x04,
UNLOCK_MM = 0x80000000
} UnLockFlagsConstants2;
Constant | Description |
---|---|
UNLOCK_COMPUTER | [0x01] Use this flag to unlock the module at the computer level. |
UNLOCK_APP_ONCE | [0x02] Use this flag to unlock the module at the application level for the current application instance. This is the correct way to unlock the toolkit. |
UNLOCK_APP_ALWAYS | [0x03] Same as UNLOCK_APP_ONCE. |
UNLOCK_APP_PATH | [0x04] Use this flag to unlock the application that was locked using LOCK_APP_PATH. |
UNLOCK_MM | [0x80000000] For internal use to unlock the multimedia toolkit. |
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