[SYSSETUP]

- Don't redefine constants from psdk in source files
- Improve error message

svn path=/trunk/; revision=54384
This commit is contained in:
Rafal Harabien 2011-11-15 08:59:50 +00:00
parent 226db13685
commit ba2815a03e

View file

@ -737,7 +737,7 @@ InstallLiveCD(IN HINSTANCE hInstance)
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 @@ InstallReactOS(HINSTANCE hInstance)
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)
{