Vcl.AxCtrls.TActiveFormControl.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 | TActiveFormControl |
Description
The ObjQueryInterface method takes an interface ID (the IID parameter) and returns the requested COM interface on the object.
The ObjQueryInterface method forwards the call first to the associated TActiveForm object if it supports the requested interface, otherwise it queries its own interface.