Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.8 KB

nf-shobjidl_core-shresolvelibrary.md

File metadata and controls

83 lines (64 loc) · 2.8 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.SHResolveLibrary
SHResolveLibrary function (shobjidl_core.h)
Resolves all locations in a library, even those locations that have been moved or renamed.
SHResolveLibrary
SHResolveLibrary function [Windows Shell]
_shell_SHResolveLibrary
shell.SHResolveLibrary
shobjidl_core/SHResolveLibrary
shell\SHResolveLibrary.htm
shell
a8730c09-f872-4bf8-9482-9dd5af31b509
12/05/2018
SHResolveLibrary, SHResolveLibrary function [Windows Shell], _shell_SHResolveLibrary, shell.SHResolveLibrary, shobjidl_core/SHResolveLibrary
shobjidl_core.h
Shobjidl.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Shell32.dll
Windows
19H1
SHResolveLibrary
shobjidl_core/SHResolveLibrary
c++
APIRef
kbSyntax
DllExport
Shell32.dll
API-MS-Win-Storage-Exports-Internal-L1-1-0.dll
Windows.Storage.dll
SHResolveLibrary

SHResolveLibrary function

-description

Resolves all locations in a library, even those locations that have been moved or renamed.

-parameters

-param psiLibrary [in]

Type: IShellItem*

A pointer to an IShellItem object that represents the library.

-returns

Type: HRESULT

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

-remarks

This function can block the calling thread for as long as it takes to resolve all the locations in the specified library. Because it blocks the thread from which it is called, it should not be called from a thread that also handles user interface interactions.

This function resolves all locations in the specified library in a single call. To resolve an individual location in a library, see the IShellLibrary::ResolveFolder method or the SHResolveFolderPathInLibrary function.

-see-also

IShellLibrary

IShellLibrary::ResolveFolder