IShellFolderView::GetSelectedCount method

[GetSelectedCount is no longer available for use as of Windows Vista. Instead, use IFolderView2::GetSelection.]

Gets the number of items in the view that are selected.

Syntax


HRESULT GetSelectedCount(
  [out] UINT *puSelected
);

Parameters

puSelected [out]

Type: UINT*

A pointer to a value that, when this method returns successfully, receives the number of selected items in the view.

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 XP

End of server support

Windows Server 2003

 

 

Show: