RAD Studio VCL Reference
TObject::GetInterfaceEntry Method

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

class function GetInterfaceEntry(const IID: TGUID): PInterfaceEntry;
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!