Author: cwittich
Date: Sat May 24 06:44:22 2014
New Revision: 63427
URL:
http://svn.reactos.org/svn/reactos?rev=63427&view=rev
Log:
[shell32]
sync _SHGetUserProfilePath with wine
Modified:
trunk/reactos/dll/win32/shell32/shellpath.cpp
Modified: trunk/reactos/dll/win32/shell32/shellpath.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shellpat…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shellpath.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shellpath.cpp [iso-8859-1] Sat May 24 06:44:22 2014
@@ -1171,6 +1171,11 @@
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