SHResolveFolderPathInLibrary function (shobjidl.h)
Attempts to resolve the target location of a library folder that has been moved or renamed.
HRESULT SHResolveFolderPathInLibrary( IShellLibrary *plib, PCWSTR pszFolderPath, DWORD dwTimeout, PWSTR *ppszResolvedPath );
The IShellLibrary object for which to resolve the target location.
The path of the library folder to locate.
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.
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]|