RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActiveFormControl.ObjQueryInterface Method

The ObjQueryInterface method takes an interface ID (the IID parameter) and returns the requested COM interface on the object.

Pascal
function ObjQueryInterface(const IID: TGUID; out Obj): HResult; override;
C++
virtual __fastcall HRESULT ObjQueryInterface(const TGUID IID,  Obj);

The ObjQueryInterface method forwards the call first to the associated TActiveForm object if it supports the requested interface, otherwise it queries its own interface. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!