VARDESC (Compact 2013)

3/26/2014

This structure describes a variable, constant, or data member.

Syntax

typedef struct FARSTRUCT tagVARDESC {
  MEMBERID memid; 
  OLECHAR FAR* lpstrSchema;
  union {
    unsigned long oInst;
    VARIANT FAR* lpvarValue;
  } UNION_NAME(u);
  ELEMDESC elemdescVar;
  unsigned short wVarFlags;
  VARKIND varkind;
} VARDESC

Members

  • memid
    Indicates the member ID of a variable.
  • lpstrSchema
    Reserved.
  • oInst
    Contains the offset of this variable within the instance VAR_PERINSTANCE,
  • lpvarValue
    Contains the value of the constant VAR_CONST.
  • elemdescVar
    Contains the variable type.
  • wVarFlags
    Defines the properties of a variable.
  • varkind
    Defines how a variable should be marshaled.

Requirements

Header

oaidl.h

See Also

Reference

Automation Structures