Skip to content

TInterfacedPersistent.QueryInterface

Implementation of IInterface.QueryInterface.

Declaration

Source position: classesh.inc line 860

public 
function TInterfacedPersistent.QueryInterface(const IID: TGUID; out Obj)
                                              : HRESULT;  virtual; cdecl;

Description

QueryInterface simply calls GetInterface using the specified IID, and returns the correct values.

See also

Name Description
TObject.GetInterface Return a reference to an interface.