Datasnap.Win.SConnect.TStreamedConnection.QueryInterface
Delphi
function QueryInterface(const IID: TGUID; out Obj): HResult; reintroduce; stdcall;
C++
HIDESBASE HRESULT __stdcall QueryInterface(const GUID &IID, /* out */ void *Obj);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
Description
Implements the IUnknown QueryInterface method.
QueryInterface returns a reference to the interface specified by the IID parameter as the Obj parameter. If 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.