RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IntfInfo.TIntfMetaData Record

TIntfMetaData represents the runtime type information (RTTI) from an invokable interface.

Pascal
TIntfMetaData = record
  Name: string;
  UnitName: string;
  MDA: TIntfMethEntryArray;
  IID: TGUID;
  Info: PTypeInfo;
  AncInfo: PTypeInfo;
  NumAnc: Integer;
end;
C++
struct TIntfMetaData {
  AnsiString Name;
  AnsiString UnitName;
  TIntfMethEntryArray MDA;
  TGUID IID;
  PTypeInfo Info;
  PTypeInfo AncInfo;
  int NumAnc;
};

TIntfMetaData is used by classes that work with the runtime type information (RTTI) extracted from an invokable interface. 

Name is the name of the invokable interface. 

UnitName is the name of the unit in which the interface is declared. 

MDA is an array of records, each of which describes a method on the interface, including its calling conventions and function signature. 

IID is the globally unique identifier (GUID) of the interface. 

Info is a pointer to the type description for the interface. 

AncInfo is a pointer to the type description for the interface's ancestor type. 

NumAnc indicates the number of methods that the interface inherits from its ancestor. It provides the offset in MDA of the first method that is introduced by the interface rather than inherited from an ancestor interface. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!