VARDESC structure (oaidl.h)

Describes a variable, constant, or data member.

Syntax

typedef struct tagVARDESC {
  MEMBERID memid;
  LPOLESTR lpstrSchema;
  union {
    ULONG   oInst;
    VARIANT *lpvarValue;
  } DUMMYUNIONNAME;
  ELEMDESC elemdescVar;
  WORD     wVarFlags;
  VARKIND  varkind;
} VARDESC, *LPVARDESC;

Members

memid

The member ID.

lpstrSchema

Reserved.

DUMMYUNIONNAME

DUMMYUNIONNAME.oInst

With VAR_PERINSTANCE, the offset of this variable within the instance.

DUMMYUNIONNAME.lpvarValue

With VAR_CONST, the value of the constant.

elemdescVar

The variable type.

wVarFlags

The variable flags. See VARFLAGS.

varkind

The variable type.

Requirements

Requirement Value
Header oaidl.h