TYPEDESC

A TYPEDESC, which describes the type of a variable, the return type of a function, or the type of a function parameter, is defined as follows:

typedef struct FARSTRUCT tagTYPEDESC {

union {

/* VT_PTR|VT_SAFEAEEAY - the pointed-at type */

struct FARSTRUCT tagTYPEDESC FAR* lptdesc;

/* VT_CARRAY */

struct FARSTRUCT tagARRAYDESC FAR* lpadesc;

/* VT_USERDEFINED - this is used to get a TypeInfo for a user-

defined type */

HREFTYPE hreftype;

}UNION_NAME(u);

VARTYPE vt;

} TYPEDESC;

If the variable is VT_SAFEARRAY or VT_PTR, the union portion of the TYPEDESC contains a pointer to a TYPEDESC that specifies the element type.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples