API:Vcl.AxCtrls.TActiveXControl.ObjQueryInterface

From RAD Studio API Documentation

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. {{#multireplace:Vcl.AxCtrls.TActiveXControl.ObjQueryInterface|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Win.ComObj.TComObject.ObjQueryInterface|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Win.ComObj.TComObject.ObjQueryInterface|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.