Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 3 KB

nf-shobjidl-ifiledialog2-setnavigationroot.md

File metadata and controls

77 lines (61 loc) · 3 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.IFileDialog2.SetNavigationRoot
IFileDialog2::SetNavigationRoot (shobjidl.h)
Specifies a top-level location from which to begin browsing a namespace, for instance in the Save dialog's Browse folder option. Users cannot navigate above this location.
IFileDialog2 interface [Windows Shell]
SetNavigationRoot method
IFileDialog2.SetNavigationRoot
IFileDialog2::SetNavigationRoot
SetNavigationRoot
SetNavigationRoot method [Windows Shell]
SetNavigationRoot method [Windows Shell]
IFileDialog2 interface
_shell_IFileDialog2_SetNavigationRoot
shell.IFileDialog2_SetNavigationRoot
shobjidl/IFileDialog2::SetNavigationRoot
shell\IFileDialog2_SetNavigationRoot.htm
shell
2ca6b5e7-5867-40f7-a949-e76815407005
12/05/2018
IFileDialog2 interface [Windows Shell],SetNavigationRoot method, IFileDialog2.SetNavigationRoot, IFileDialog2::SetNavigationRoot, SetNavigationRoot, SetNavigationRoot method [Windows Shell], SetNavigationRoot method [Windows Shell],IFileDialog2 interface, _shell_IFileDialog2_SetNavigationRoot, shell.IFileDialog2_SetNavigationRoot, shobjidl/IFileDialog2::SetNavigationRoot
shobjidl.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Shobjidl.idl
Comdlg32.lib
Comdlg32.dll (version 6.1 or later)
Windows
19H1
IFileDialog2::SetNavigationRoot
shobjidl/IFileDialog2::SetNavigationRoot
c++
APIRef
kbSyntax
COM
Comdlg32.dll
IFileDialog2.SetNavigationRoot

IFileDialog2::SetNavigationRoot

-description

Specifies a top-level location from which to begin browsing a namespace, for instance in the Save dialog's Browse folder option. Users cannot navigate above this location.

-parameters

-param psi [in]

Type: IShellItem

Pointer to an IShellItem object that represents the navigation root.

-returns

Type: HRESULT

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

-remarks

SetNavigationRoot can be used by applications that want to restrict navigation to a certain area of the Shell namespace. Items in the navigation pane are replaced with the supplied item, to guide the user from navigating outside of this part of the namespace.

This method cannot be called while the dialog is being displayed.

-see-also

IFileDialog2