Open main menu

RAD Studio API Documentation β

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

Returns a requested COM interface on the object.

ObjQueryInterface attempts to locate the interface specified by the IID parameter, and returns it in the Obj parameter. If the requested interface is found and returned, ObjQueryInterface returns S_OK.

See Also