mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 18:40:59 +00:00
[shell32]
sync _SHGetUserProfilePath with wine svn path=/trunk/; revision=63427
This commit is contained in:
parent
dd379d872b
commit
a850037725
|
@ -1171,6 +1171,11 @@ static HRESULT _SHGetUserProfilePath(HANDLE hToken, DWORD dwFlags, BYTE folder,
|
||||||
|
|
||||||
if (dwFlags & SHGFP_TYPE_DEFAULT)
|
if (dwFlags & SHGFP_TYPE_DEFAULT)
|
||||||
{
|
{
|
||||||
|
if (hToken != NULL && hToken != (HANDLE)-1)
|
||||||
|
{
|
||||||
|
FIXME("unsupported for user other than current or default\n");
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
hr = _SHGetDefaultValue(folder, pszPath);
|
hr = _SHGetDefaultValue(folder, pszPath);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue