Attempts to resolve the target location of a library folder that has been moved or renamed.
HRESULT SHResolveFolderPathInLibrary( _In_ IShellLibrary *plib, _In_ PCWSTR pszFolderPath, _In_ DWORD dwTimeout, _Out_ PWSTR *ppszResolvedPath );
- plib [in]
The IShellLibrary object for which to resolve the target location.
- pszFolderPath [in]
The path of the library folder to locate.
- dwTimeout [in]
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]
A pointer to a string that, when this function successfully returns, contains the current path of the library folder specified in plib.
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This is an inline helper function that wraps the IShellLibrary::ResolveFolder method.
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|
Build date: 11/16/2013