ICurrentItem::GetItem Method

Gets the IShellItem that is related to this item.

Syntax

HRESULT GetItem(      
    IShellItem **ppsi
);

Parameters

  • ppsi
    When this method returns, contains the address of a pointer to the IShellItem interface for the item that is related to this item.

Return Value

Returns S_OK if successful, or an error value otherwise.