LEADTOOLS Basic Data Types
LEADTOOLS has defined the following basic data types for portability:
Data Type |
Definition and Usage |
L_HANDLE |
Defined as (type integer), used as LEAD Handle. |
L_CHAR |
Defined as char, used as a signed 8-bit integer. |
L_UCHAR |
Defined as Byte, used as an unsigned 8-bit integer. |
L_INT16 |
Defined as SmallInt, used as a signed 16-bit integer. |
L_UINT16 |
Defined as Word, used as an unsigned 16-bit integer. |
L_INT32 |
Defined as Longint, used as a signed 32-bit integer. |
L_UINT32 |
Defined as LongWord, used as an unsigned 32-bit integer. |
L_INT |
Defined as integer, used as a signed integer, 16-bits or larger. |
L_UINT |
Defined as Cardinal, used as an unsigned integer, 16-bits or larger. |
L_BOOL |
Defined as L_UINT, used as a Boolean value. |
L_BITFIELD |
Defined as L_UINT, used as a bit field. |
L_FLOAT |
Defined as Single, used as a floating-point number (4 bytes). |
L_DOUBLE |
Defined as double used as a double precision floating point number. |
L_RGBQUAD |
Defined as RGBQUAD structure. |
L_PVOID |
Defined as pointer. |
L_PHANDLE |
Defined as pointer to L_HANDLE. |
L_PCHAR |
Defined as pointer to L_CHAR. |
L_PUCHAR |
Defined as pointer to L_UCHAR. |
L_PINT16 |
Defined as pointer to L_INT16. |
L_PUINT16 |
Defined as pointer to L_UINT16. |
L_PINT32 |
Defined as pointer to L_INT32. |
L_PUINT32 |
Defined as pointer to L_UINT32. |
L_PINT |
Defined as pointer to L_INT. |
L_PUINT |
Defined as pointer to L_UINT. |
L_PBOOL |
Defined as pointer to L_BOOL. |
L_PBITFIELD |
Defined as pointer to L_BITFIELD. |
L_PFLOAT |
Defined as pointer to L_FLOAT. |
L_PDOUBLE |
Defined as pointer to L_DOUBLE. |
L_PRGBQUAD |
Defined as pointer to L_RGBQUAD. |
L_PPCHAR |
Defined as pointer to pChar. |
L_PPINT |
Defined as pointer to L_PINT. |
L_PPUINT |
Defined as pointer to L_PUINT. |
TLEADSelClrInfoArr |
Array [ 0..8 ] of SELECTIVECOLORINFO; |