RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetInterfaceInfoFromName Method

Returns information about a registered invokable interface given its name.

Pascal
procedure GetInterfaceInfoFromName(const UnitName: string; const IntfName: string; var Info: PTypeInfo; var IID: TGUID);
C++
__fastcall GetInterfaceInfoFromName(const AnsiString UnitName, const AnsiString IntfName, PTypeInfo Info, TGUID IID);

GetInterfaceInfoFromName looks up a registered interface given its name and the name of the unit in which it is declared. 

UnitName is the name of the unit that contains the interface definition. 

IntfName is the name of the interface. 

Info returns the type information that is compiled with the specified interface. 

IID returns the globally unique identifier for the specified interface. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!