mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[shell32]
sync _SHGetUserProfilePath with wine svn path=/trunk/; revision=63427
This commit is contained in:
parent
dd379d872b
commit
a850037725
1 changed files with 5 additions and 0 deletions
|
@ -1171,6 +1171,11 @@ static HRESULT _SHGetUserProfilePath(HANDLE hToken, DWORD dwFlags, BYTE folder,
|
|||
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue