This structure is used to hold attributes of an ITypeInfo interface.
At a Glance
Header file: | Oaidl.h |
Windows CE versions: | 2.0 and later |
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
The size of this type’s VTBL.
cbAlignment
Byte alignment for an instance of this type.
wTypeFlags
wMajorVerNum
Major version number.
wMinorVerNum
Minor version number.
descAlias
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.