Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 2.69 KB

nf-shobjidl_core-ifileopendialog-getresults.md

File metadata and controls

76 lines (60 loc) · 2.69 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.IFileOpenDialog.GetResults
IFileOpenDialog::GetResults (shobjidl_core.h)
Gets the user's choices in a dialog that allows multiple selection.
GetResults
GetResults method [Windows Shell]
GetResults method [Windows Shell]
IFileOpenDialog interface
IFileOpenDialog interface [Windows Shell]
GetResults method
IFileOpenDialog.GetResults
IFileOpenDialog::GetResults
shell.IFileOpenDialog_GetResults
shell_IFileOpenDialog_GetResults
shobjidl_core/IFileOpenDialog::GetResults
shell\IFileOpenDialog_GetResults.htm
shell
5c710dae-4988-4f19-beb5-2ff9cd11c596
12/05/2018
GetResults, GetResults method [Windows Shell], GetResults method [Windows Shell],IFileOpenDialog interface, IFileOpenDialog interface [Windows Shell],GetResults method, IFileOpenDialog.GetResults, IFileOpenDialog::GetResults, shell.IFileOpenDialog_GetResults, shell_IFileOpenDialog_GetResults, shobjidl_core/IFileOpenDialog::GetResults
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IFileOpenDialog::GetResults
shobjidl_core/IFileOpenDialog::GetResults
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IFileOpenDialog.GetResults

IFileOpenDialog::GetResults

-description

Gets the user's choices in a dialog that allows multiple selection.

-parameters

-param ppenum [out]

Type: IShellItemArray**

The address of a pointer to an IShellItemArray through which the items selected in the dialog can be accessed.

-returns

Type: HRESULT

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

-remarks

This method can be used whether the selection consists of a single item or multiple items.

IFileOpenDialog::GetResults can be called after the dialog has closed or during the handling of an IFileDialogEvents::OnFileOk event. Calling this method at any other time will fail.

Show must return a success code for a result to be available to IFileOpenDialog::GetResults.