Datasnap.Win.SConnect.TStreamedConnection.QueryInterface

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: TStreamedConnection

Delphi

function QueryInterface(const IID: TGUID; out Obj): HResult; reintroduce; stdcall;

C++

HIDESBASE HRESULT __stdcall QueryInterface(const GUID &IID, /* out */ void *Obj);

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.

See Also