RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.QueryInterface Method

Implements the IUnknown QueryInterface method.

Pascal
function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall; reintroduce;
C++
__fastcall __stdcall HRESULT QueryInterface(const TGUID IID,  Obj);

QueryInterface returns a reference to the interface specified by the IID parameter as the Obj parameter. It the streamed connection supports the specified interface, QueryInterface returns 0. If the streamed connection does not support the interface, the Obj parameter is nil (Delphi) or NULL (C++) and QueryInterface returns E_NOINTERFACE

 

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