Author: tfaber
Date: Sat Aug 8 09:50:19 2015
New Revision: 68624
URL:
http://svn.reactos.org/svn/reactos?rev=68624&view=rev
Log:
[USERENV]
- Complain if GetUserProfileDirectoryW failed
Modified:
trunk/reactos/dll/win32/userenv/environment.c
Modified: trunk/reactos/dll/win32/userenv/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/environm…
==============================================================================
--- trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] Sat Aug 8 09:50:19 2015
@@ -535,6 +535,10 @@
FALSE);
}
}
+ else
+ {
+ DPRINT1("GetUserProfileDirectoryW failed with error %lu\n",
GetLastError());
+ }
if (GetUserAndDomainName(hToken,
&lpUserName,