RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActiveXControl.ObjQueryInterface Method

Returns a 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);

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

 

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