IShellFolderViewDual2::SelectItem Method

Sets the selection state of an item in the view.

Syntax

HRESULT SelectItem(      
    VARIANT *pvfi,
    int dwFlags
);

Parameters

  • pvfi
    [in] A VARIANT object.
  • dwFlags
    [in] The flags representing the state of the object.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IShellFolderViewDual, IShellFolderViewDual2, IShellFolderViewDual3