Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSmartImage.QueryInterface(TGUID,Untyped) Method

Provides access to the implementation of a specified interface if the Smart Image container supports it.

#Declaration

Delphi
function QueryInterface(const IID: TGUID; out Obj): HRESULT; override;

#Parameters

Name Type
IID TGUID
Obj

#Returns

Type
HRESULT

#Remarks

This function returns 0 if the Smart Image container supports the interface whose global unique 128-bit identifier is passed as the IID parameter; otherwise, E_NOINTERFACE. If a TdxCustomSmartImage class descendant supports the specified interface, the QueryInterface function returns a reference to the interfaced object as the Obj out parameter and increments the reference counter.

See Also