VERSIONINFO
typedef struct struct_version_information
{
L_UINT uStructSize;
L_UCHAR Product[60];
L_INT Level;
L_INT MajorNumber;
L_INT MinorNumber;
L_UCHAR Date[16];
L_UCHAR Time[16];
} VERSIONINFO, *pVERSIONINFO;
The VERSIONINFO structure, which is filled in using the L_VersionInfo function, provides information about the LEADTOOLS toolkit.
Member |
Description |
|
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
|
Product |
Product name, expressed as a character string. |
|
Level |
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 |
MajorNumber |
Major version number. |
|
MinorNumber |
Minor version number. |
|
Date |
Date of the build, expressed as a character string. |
|
Time |
Time of the build, expressed as a character string. |
Comments
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() macro 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.