IUIX_Combo::GetItemImage Method

From Tracker Software PDF SDK
Revision as of 09:48, 23 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Gets image of required item.

Syntax

HRESULT GetItemImage([in]           LONG        nItem,
                     [out, retval]  IUnknown**  ppImage);

Parameters

nItem
[in] number of an item.
ppImage
[out, retval] Returned object of IUnknown interface. If there is no image in required item, returns nullptr value.

Return Value

Returns S_OK if operation was successful or error code in other cases.

Remarks

Note, that returned object is of IUnknown interface. Use QueryImpl method to query implementation of IUIX_Icon or IUIX_ImageData from IUnknown.

See Also

IUIX_Combo