RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObject::GetInterfaceEntry Method

Returns the entry for a specific interface implemented in a class.

Pascal
class function GetInterfaceEntry(const IID: TGUID): PInterfaceEntry;
C++
PInterfaceEntry GetInterfaceEntry(const TGUID IID);

System::TObject::GetInterfaceEntry returns the class entry for the interface specified by the IID parameter.

Note: In Delphi Code, IID can be an interface name. The compiler replaces this name with the actual GUID.
Note: COM objects can use System::TObject::GetInterfaceEntry to automate dispatch calls to a dual-IDispatch interface.
 

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