System.TInterfaceEntry

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

  TInterfaceEntry = packed record
    IID: TGUID;
    VTable: Pointer;
    IOffset: Integer;
    {$IF defined(CPU64BITS)}
    _Filler: UInt32;
    {$ENDIF}
    ImplGetter: NativeUInt;
  end;

C++

struct DECLSPEC_DRECORD TInterfaceEntry
{
public:
    GUID IID;
    void *VTable;
    int IOffset;
#ifdef _WIN64
    unsigned _Filler;
#endif /* _WIN64 */
    NativeUInt ImplGetter;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.pas
System.hpp
System System

Description

TInterfaceEntry encapsulates the information needed to dispatch interface calls.

PInterfaceEntry is a pointer to a TInterfaceEntry value. TInterfaceEntry contains the fields listed in the following table.



Field Meaning

IID

The GUID that uniquely identifies the interface.

VTable

The VTable to use for dispatching interface calls.

IOffset

The offset of the interface in the implementing object.

ImplGetter

A method pointer for accessing the interface if IOffset is not available.



See Also