System.Win.ComObj.TAutoObjectFactory.GetIntfEntry
Delphi
function GetIntfEntry(Guid: TGUID): PInterfaceEntry; virtual;
C++
virtual System::PInterfaceEntry __fastcall GetIntfEntry(const GUID &Guid);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | TAutoObjectFactory |
Description
Returns the entry for a specific interface implemented in a class.
GetIntfEntry calls the GetInterfaceEntry method for the CoClass associated with the class factory.
GetIntfEntry returns the entry for the interface, specified by the IID parameter, in the class. GetIntfEntry is used internally. It is rarely called directly.
One use for this method is to describe to OLE how to automatically dispatch calls to a dual-IDispatch interface. An interface type name, such as IUnknown, can be supplied as the IID parameter since the compiler will replace the interface with the associated GUID.