typedef struct _VERSIONINFO 
   L_UINT uStructSize; 
   L_UCHAR Product[60]; 
   L_INT Level; 
   L_INT MajorNumber; 
   L_INT MinorNumber; 
   L_UCHAR Date[16]; 
   L_UCHAR Time[16]; 
   L_BOOL HasExpireDate; 

The VERSIONINFO structure, which is filled in using the L_VersionInfo function, provides information about the LEADTOOLS toolkit.



Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.


Product name, expressed as a character string.


Toolkit level. Possible values are:

Value Meaning
TOOLKIT_LEVEL_DOCUMENT [0x00] Document Toolkit
TOOLKIT_LEVEL_RASTER [0x01] Raster Toolkit
TOOLKIT_LEVEL_MEDICAL [0x02] Medical Toolkit
TOOLKIT_LEVEL_EVAL [0x03] Evaluation Toolkit
TOOLKIT_LEVEL_NAG [0x04] Nag Toolkit


Major version number.


Minor version number.


Date of the build, expressed as a character string.


Time of the build, expressed as a character string.


Flag that determines whether kernel has expiration date. Possible values are:

Value Meaning
TRUE Kernel has expiration date.
FALSE Kernel has no expiration date.


pVERSIONINFO is a pointer to a VERSIONINFO structure. Where a function parameter type is pVERSIONINFO, you can declare a VERSIONINFO variable and pass the variable's address in the parameter. Declaring a pVERSIONINFO variable is necessary only if your program requires a pointer.

Some functions which take this structure as a parameter require that the structure be initialized prior to the function call. You must set the uStructSize member to the total size, in bytes, of the structure. Use the sizeof() operator to calculate this value. Functions that do not require the structure be initialized will take the total size of the structure, in bytes, as an additional function parameter.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help