RAD Studio VCL Reference
|
TIntfMethEntry and TIntfMethEntryArray represent the table of interface methods in a TInfMetaData value.
TIntfMethEntry = record Name: string; CC: TCallConv; Pos: Integer; ParamCount: Integer; ResultInfo: PTypeInfo; SelfInfo: PTypeInfo; Params: TIntfParamEntryArray; HasRTTI: Boolean; end;
struct TIntfMethEntry { AnsiString Name; TCallConv CC; int Pos; int ParamCount; PTypeInfo ResultInfo; PTypeInfo SelfInfo; TIntfParamEntryArray Params; Boolean HasRTTI; };
TIntfMethEntry describes a single method on an invokable interface.
Name is the name of the method.
CC is the calling convention for that method. It is one of the following values:
Value |
Meaning |
ccReg |
register |
ccCdecl |
cdecl |
ccPascal |
pascal |
ccStdCall |
stdcall |
ccSafeCall |
safecall |
Pos is the position of the method in the interface's method table.
ParamCount is the number of parameters that the method has.
ResultInfo is a pointer to the type description for the return type.
SelfInfo is a pointer to the type description for the method type.
Params is a dynamic array of records describing the method parameters.
HasRTTI indicates whether there is runtime type information (RTTI) for the method. If the method is inherited from an interface that was not compiled with RTTI, HasRTTI is false.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|