次の方法で共有


VARDESC

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 for future use.
  • 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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Automation Structures