IShellFolderView::Select method

[IShellFolderView::Select is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Selects and unselects items in the view.

Syntax


HRESULT Select(
  UINT dwFlags
);

Parameters

dwFlags

Type: UINT

Determines which items in the view are selected, if any. One of the following values.

SFVS_SELECT_NONE (0x0)

Unselects all of the items in the view.

SFVS_SELECT_ALLITEMS (0x1)

Selects all of the items in the view.

SFVS_SELECT_INVERT (0x2)

Selects all unselected items and unselects all selected items.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Shlobj.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.