mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[SYSSETUP]
- Don't redefine constants from psdk in source files - Improve error message svn path=/trunk/; revision=54384
This commit is contained in:
parent
226db13685
commit
ba2815a03e
1 changed files with 2 additions and 2 deletions
|
@ -737,7 +737,7 @@ InstallLiveCD(IN HINSTANCE hInstance)
|
||||||
cleanup:
|
cleanup:
|
||||||
MessageBoxW(
|
MessageBoxW(
|
||||||
NULL,
|
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",
|
L"ReactOS LiveCD",
|
||||||
MB_OK);
|
MB_OK);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -958,7 +958,7 @@ InstallReactOS(HINSTANCE hInstance)
|
||||||
PROFILEINFOW ProfileInfo;
|
PROFILEINFOW ProfileInfo;
|
||||||
HANDLE hToken;
|
HANDLE hToken;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
#define LOGON32_LOGON_NETWORK 3
|
|
||||||
ret = LogonUserW(L"Administrator", L"", L"", LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
|
ret = LogonUserW(L"Administrator", L"", L"", LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue