RAD Studio VCL Reference
|
Returns a reference to a specified interface if that interface is supported by the form.
function QueryInterface(const IID: TGUID; out Obj): HResult; override;
virtual __fastcall HRESULT QueryInterface(const TGUID IID, Obj);
For forms that support interfaces, QueryInterface calls the QueryInterface method of the interface supported by the form. QueryInterface returns a reference to the interface specified by the IID parameter, as the Obj parameter. If the form does not support the interface, the Obj parameter is nil (Delphi) or NULL (C++).
QueryInterface returns S_OK if the Obj parameter is successfully assigned.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|