API: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
Returns a requested COM interface on the object.
Vcl.AxCtrls.TActiveFormControl.ObjQueryInterface inherits from Vcl.AxCtrls.TActiveXControl.ObjQueryInterface. All content below this line refers to Vcl.AxCtrls.TActiveXControl.ObjQueryInterface.
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.