|
TYPEATTR
The TYPEATTR structure contains attributes of an ITypeInfo, and is defined as follows:
typedef struct FARSTRUCT tagTYPEATTR {
GUID guid; // The GUID of the TypeInfo
LCID lcid; // Locale of member names and doc
// strings
unsigned long dwReserved;
MEMBERID memidConstructor; // ID of constructor,MEMBERID_NIL if
// None
MEMBERID memidDestructor; // ID of destructor, MEMBERID_NIL if
// None
OLECHAR FAR* lpstrSchema; // Reserved for future use
unsigned long cbSizeInstance;// The size of an instance of // this type.
TYPEKIND typekind; // The kind of type this typeinfo // describes.
unsigned short cFuncs; // Number of functions
unsigned short cVars; // Number of variables/data members
unsigned short cImplTypes; // Number of implemented interfaces
unsigned short cbSizeVft; // The size of this type's virtual // func table
unsigned short cbAlignment; // Byte alignment for an instance // of this type
unsigned short wTypeFlags;
unsigned short wMajorVerNum; // Major version number
unsigned short wMinorVerNum; // Minor version number
TYPEDESC tdescAlias; // If TypeKind == TKIND_ALIAS, // specifies the type for which // this type is an alias
IDLDESC idldescType; // IDL attributes of the // described type
} TYPEATTR, FAR* LPTYPEATTR;
The cbAlignment field indicates how addresses are aligned. A value of 0 indicates alignment on
the 64K boundary; 1 indicates no special alignment. For other values, n indicates aligned on byte n.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|