TYPEDESC structure

Describes the type of a variable, the return type of a function, or the type of a function parameter.

Syntax


typedef struct tagTYPEDESC {
  union {
    struct tagTYPEDESC  *lptdesc;
    struct tagARRAYDESC  *lpadesc;
    HREFTYPE            hreftype;
  };
  VARTYPE vt;
} TYPEDESC;

Members

lptdesc

With VT_PTR, the type pointed to.

lpadesc

With VT_CARRAY...

hreftype

With VT_USER_DEFINED, this is used to get a TypeInfo for the UDT.

vt

The variant type.

Remarks

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.

Requirements

Header

OaIdl.h

 

 

Show: