Düzenle

Aracılığıyla paylaş


TYPEATTR structure (oaidl.h)

Contains attributes of a type.

Syntax

typedef struct tagTYPEATTR {
  GUID     guid;
  LCID     lcid;
  DWORD    dwReserved;
  MEMBERID memidConstructor;
  MEMBERID memidDestructor;
  LPOLESTR lpstrSchema;
  ULONG    cbSizeInstance;
  TYPEKIND typekind;
  WORD     cFuncs;
  WORD     cVars;
  WORD     cImplTypes;
  WORD     cbSizeVft;
  WORD     cbAlignment;
  WORD     wTypeFlags;
  WORD     wMajorVerNum;
  WORD     wMinorVerNum;
  TYPEDESC tdescAlias;
  IDLDESC  idldescType;
} TYPEATTR, *LPTYPEATTR;

Members

guid

The GUID of the type information.

lcid

The locale of member names and documentation strings.

dwReserved

Reserved.

memidConstructor

The constructor ID, or MEMBERID_NIL if none.

memidDestructor

The destructor ID, or MEMBERID_NIL if none.

lpstrSchema

Reserved.

cbSizeInstance

The size of an instance of this type.

typekind

The kind of type.

cFuncs

The number of functions.

cVars

The number of variables or data members.

cImplTypes

The number of implemented interfaces.

cbSizeVft

The size of this type's VTBL.

cbAlignment

The byte alignment for an instance of this type. A value of 0 indicates alignment on the 64K boundary; 1 indicates no special alignment. For other values, n indicates aligned on byte n.

wTypeFlags

The type flags. See TYPEFLAGS.

wMajorVerNum

The major version number.

wMinorVerNum

The minor version number.

tdescAlias

If typekind is TKIND_ALIAS, specifies the type for which this type is an alias.

idldescType

The IDL attributes of the described type.

Requirements

Requirement Value
Header oaidl.h