다음을 통해 공유


TYPEDESC (Windows CE 5.0)

Send Feedback

This structure is used to describe the type of a variable, the return type of a function, or the type of a function parameter.

typedef struct FARSTRUCT tagTYPEDESC {union {    ESC FAR *lptdesc;struct FARSTRUCT tagTYPEDSC* lptdesc;struct FARSTRUCT tagARAYDESC FAR *lpadesc;HREFTYPE hreftype;} UNION_NAME(u);VARTYPE vt;} TYPEDESC;

Members

  • lptdesc
    VT_PTR, the type to which this instance points.
  • lpadesc
    VT_CARRAY.
  • hreftype
    VT_USERDEFINED, can be used to retrieve type information for a user-defined type using the ITypeInfo::GetRefTypeInfo method.
  • vt
    Type of the variable represented by this instance.

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

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h.

See Also

Automation Structures | ITypeInfo::GetRefTypeInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.