Author: rharabien
Date: Tue Nov 15 08:59:50 2011
New Revision: 54384
URL:
http://svn.reactos.org/svn/reactos?rev=54384&view=rev
Log:
[SYSSETUP]
- Don't redefine constants from psdk in source files
- Improve error message
Modified:
trunk/reactos/dll/win32/syssetup/install.c
Modified: trunk/reactos/dll/win32/syssetup/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Tue Nov 15 08:59:50 2011
@@ -737,7 +737,7 @@
cleanup:
MessageBoxW(
NULL,
- L"You can shutdown your computer, or press ENTER to reboot",
+ L"Failed to load LiveCD! You can shutdown your computer, or press ENTER to
reboot.",
L"ReactOS LiveCD",
MB_OK);
return 0;
@@ -958,7 +958,7 @@
PROFILEINFOW ProfileInfo;
HANDLE hToken;
BOOL ret;
-#define LOGON32_LOGON_NETWORK 3
+
ret = LogonUserW(L"Administrator", L"", L"",
LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
if (!ret)
{