- Report errors in StartupWindowThread as they are critical (the caller will wait infinitely).

svn path=/trunk/; revision=63050
This commit is contained in:
Aleksey Bragin
2014-04-29 22:19:57 +00:00
parent 09a8dc268a
commit dc69e208a6
+2
View File
@@ -73,12 +73,14 @@ StartupWindowThread(LPVOID lpParam)
FALSE,
DUPLICATE_SAME_ACCESS))
{
ERR("Duplicating handle failed!\n");
HeapFree(GetProcessHeap(), 0, lpParam);
return FALSE;
}
if(!SetThreadDesktop(hDesk))
{
ERR("Setting thread desktop failed!\n");
HeapFree(GetProcessHeap(), 0, lpParam);
return FALSE;
}