API:Vcl.AxCtrls.TActiveXControl.ObjQueryInterface
Delphi
function ObjQueryInterface(const IID: TGUID; out Obj): HResult; override;
C++
virtual HRESULT __stdcall ObjQueryInterface(const GUID &IID, /* out */ void *Obj);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TActiveXControl |
Description
Implements the QueryInterface method of the IUnknown interface.
Vcl.AxCtrls.TActiveXControl.ObjQueryInterface inherits from System.Win.ComObj.TComObject.ObjQueryInterface. All content below this line refers to System.Win.ComObj.TComObject.ObjQueryInterface.
Implements the QueryInterface method of the IUnknown interface.
QueryInterface queries whether the COM object supports a given interface specified by the IID parameter. QueryInterface is used as the implementation of the IUnknown QueryInterface method when the COM object (TComObject) is not part of an aggregate.