Vcl.AxCtrls.TActiveXControl.ObjQueryInterface

From RAD Studio API Documentation
Jump to: navigation, search

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