System.TObject.GetInterfaceEntry

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetInterfaceEntry(const IID: TGUID): PInterfaceEntry;

C++

__classmethod PInterfaceEntry __fastcall GetInterfaceEntry(const GUID &IID);

Properties

Type Visibility Source Unit Parent
function public
System.pas
systobj.h
System TObject

Description

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

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 GetInterfaceEntry to automate dispatch calls to a dual-IDispatch interface.