Share via


TYPEATTR (Windows Embedded CE 6.0)

1/6/2010

This structure is used to hold attributes of an ITypeInfo interface.

Syntax

typedef struct FARSTRUCT tagTYPEATTR {
  GUID guid;
  LCID lcid;
  unsigned long dwReserved;
  MEMBERID memidConstructor;
  MEMBERID memidDestructor;
  OLECHAR FAR* lpstrSchema;
  unsigned long cbSizeInstance;
  TYPEKIND typekind;
  unsigned short cFuncs;
  unsigned short cVars;
  unsigned short cImplTypes;
  unsigned short cbAlignment;
  unsigned short wTypeFlags;
  unsigned short wMajorVerNum;
  unsigned short wMinorVerNum;
  TYPEDESC tdescAlias;
  IDLDESC idldescType;
} TYPEATTR, FAR *LPTYPEATTR;

Members

  • guid
    Globally unique identifier (GUID) of the type information.
  • lcid
    Locale of member names and doc strings.
  • dwReserved
    Reserved.
  • memidConstructor
    Identifier of constructor, or MEMBERID_NIL if none.
  • memidDestructor
    Identifier of destructor, or MEMBERID_NIL if none.
  • lpstrSchema
    Reserved for future use.
  • cbSizeInstance
    Size of an instance of this type.
  • typekind
    Kind of type this information describes.
  • cFuncs
    Number of functions.
  • cVars
    Number of variables/data members.
  • cImplTypes
    Number of implemented interfaces.
  • cbSizeVft
    Size of this type's VTBL.
  • cbAlignment
    Byte alignment for an instance of this type.
  • wTypeFlags
    TYPEFLAGS value describing this information.
  • wMajorVerNum
    Major version number.
  • wMinorVerNum
    Minor version number.
  • tdescAlias
    If typekind == TKIND_ALIAS, specifies the type for which this type is an alias.
  • idldescType
    IDL attributes of the described type.

Remarks

The cbAlignmentmember indicates how addresses are aligned. A value of 0 indicates alignment on the 64-KB boundary; 1 indicates no special alignment. For other values, n indicates aligned on byte n.

Requirements

Header oaidl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Automation Structures
ITypeInfo
TYPEFLAGS