Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SHResolveFolderPathInLibrary function

Attempts to resolve the target location of a library folder that has been moved or renamed.

Syntax


HRESULT SHResolveFolderPathInLibrary(
  _In_   IShellLibrary *plib,
  _In_   PCWSTR pszFolderPath,
  _In_   DWORD dwTimeout,
  _Out_  PWSTR *ppszResolvedPath
);

Parameters

plib [in]

Type: IShellLibrary*

The IShellLibrary object for which to resolve the target location.

pszFolderPath [in]

Type: PCWSTR

The path of the library folder to locate.

dwTimeout [in]

Type: DWORD

The maximum time, in milliseconds, that the method attempts to locate the folder before returning. If the folder could not be located before the specified time elapses, an error is returned.

ppszResolvedPath [out]

Type: PWSTR*

A pointer to a string that, when this function successfully returns, contains the current path of the library folder specified in plib.

Return value

Type: HRESULT

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

Remarks

This is an inline helper function that wraps the IShellLibrary::ResolveFolder method.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

See also

IShellLibrary
IShellLibrary::ResolveFolder

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.