TYPEDESC structure (oaidl.h)
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;
} DUMMYUNIONNAME;
VARTYPE vt;
} TYPEDESC;
Members
DUMMYUNIONNAME
DUMMYUNIONNAME.lptdesc
With VT_PTR, the type pointed to.
DUMMYUNIONNAME.lpadesc
With VT_CARRAY...
DUMMYUNIONNAME.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
Requirement | Value |
---|---|
Header | oaidl.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for