Поделиться через


TYPEATTR (Windows CE 5.0)

Send Feedback

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

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 **cbAlignment****member 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

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h.

See Also

Automation Structures | ITypeInfo | TYPEFLAGS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.