Skip to content

Latest commit

 

History

History
102 lines (85 loc) · 2.57 KB

nf-shobjidl_core-ifolderview2-getselection.md

File metadata and controls

102 lines (85 loc) · 2.57 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl_core.IFolderView2.GetSelection
IFolderView2::GetSelection (shobjidl_core.h)
Gets the current selection as an IShellItemArray.
GetSelection
GetSelection method [Windows Shell]
GetSelection method [Windows Shell]
IFolderView2 interface
IFolderView2 interface [Windows Shell]
GetSelection method
IFolderView2.GetSelection
IFolderView2::GetSelection
_shell_IFolderView2_GetSelection
shell.IFolderView2_GetSelection
shobjidl_core/IFolderView2::GetSelection
shell\IFolderView2_GetSelection.htm
shell
d8ff0c8f-9678-455b-b7ec-9b651df769bc
12/05/2018
GetSelection, GetSelection method [Windows Shell], GetSelection method [Windows Shell],IFolderView2 interface, IFolderView2 interface [Windows Shell],GetSelection method, IFolderView2.GetSelection, IFolderView2::GetSelection, _shell_IFolderView2_GetSelection, shell.IFolderView2_GetSelection, shobjidl_core/IFolderView2::GetSelection
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IFolderView2::GetSelection
shobjidl_core/IFolderView2::GetSelection
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IFolderView2.GetSelection

IFolderView2::GetSelection

-description

Gets the current selection as an IShellItemArray.

-parameters

-param fNoneImpliesFolder [in]

Type: BOOL

If TRUE, this method returns an IShellItemArray containing the parent folder when there is no current selection.

-param ppsia [out]

Type: IShellItemArray**

The address of a pointer to an IShellItemArray.

-returns

Type: HRESULT

Returns one of the following values, or an error otherwise.

Return code Description
S_OK
The operation completed successfully.
S_FALSE
The IShellItemArray returned has zero items.