[USERENV]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 8 Aug 2015 09:50:19 +0000 (09:50 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 8 Aug 2015 09:50:19 +0000 (09:50 +0000)
- Complain if GetUserProfileDirectoryW failed

svn path=/trunk/; revision=68624

reactos/dll/win32/userenv/environment.c

index 47af4e0..cb1b26e 100644 (file)
@@ -535,6 +535,10 @@ CreateEnvironmentBlock(LPVOID *lpEnvironment,
                                        FALSE);
         }
     }
+    else
+    {
+        DPRINT1("GetUserProfileDirectoryW failed with error %lu\n", GetLastError());
+    }
 
     if (GetUserAndDomainName(hToken,
                              &lpUserName,