Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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