VERSIONINFO

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];
} VERSIONINFO,* pVERSIONINFO;

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

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

Product

Product name, expressed as a character string.

Level

Toolkit level. The following are possible values:

 

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

 

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.