mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[BOOTDATA][MSGINA][SYSSETUP] Rename the DefaultDomain registry value to DefaultDomainName
This commit is contained in:
parent
665926d38b
commit
b784c7bfba
4 changed files with 5 additions and 5 deletions
|
@ -1373,7 +1373,7 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ConsoleShell",0x00
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",0x00000000,"1"
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",0x00000000,"1"
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultDomain",0x00000000,""
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultDomainName",0x00000000,""
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,""
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,""
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultPassword",0x00000000,""
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultPassword",0x00000000,""
|
||||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify",,0x00000012
|
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify",,0x00000012
|
||||||
|
|
|
@ -246,7 +246,7 @@ GetRegistrySettings(PGINA_CONTEXT pgContext)
|
||||||
|
|
||||||
dwSize = sizeof(pgContext->Domain);
|
dwSize = sizeof(pgContext->Domain);
|
||||||
rc = RegQueryValueExW(hKey,
|
rc = RegQueryValueExW(hKey,
|
||||||
L"DefaultDomain",
|
L"DefaultDomainName",
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
(LPBYTE)&pgContext->Domain,
|
(LPBYTE)&pgContext->Domain,
|
||||||
|
|
|
@ -580,7 +580,7 @@ SetAutoAdminLogon(VOID)
|
||||||
if (wcscmp(szAutoAdminLogon, L"1") == 0)
|
if (wcscmp(szAutoAdminLogon, L"1") == 0)
|
||||||
{
|
{
|
||||||
RegSetValueExW(hKey,
|
RegSetValueExW(hKey,
|
||||||
L"DefaultDomain",
|
L"DefaultDomainName",
|
||||||
0,
|
0,
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(LPBYTE)AdminInfo.Domain,
|
(LPBYTE)AdminInfo.Domain,
|
||||||
|
|
|
@ -594,14 +594,14 @@ WriteDefaultLogonData(LPWSTR Domain)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
lError = RegSetValueEx(hKey,
|
lError = RegSetValueEx(hKey,
|
||||||
L"DefaultDomain",
|
L"DefaultDomainName",
|
||||||
0,
|
0,
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(LPBYTE)Domain,
|
(LPBYTE)Domain,
|
||||||
(wcslen(Domain)+ 1) * sizeof(WCHAR));
|
(wcslen(Domain)+ 1) * sizeof(WCHAR));
|
||||||
if (lError != ERROR_SUCCESS)
|
if (lError != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
DPRINT1("RegSetValueEx(\"DefaultDomain\") failed!\n");
|
DPRINT1("RegSetValueEx(\"DefaultDomainName\") failed!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
lError = RegSetValueEx(hKey,
|
lError = RegSetValueEx(hKey,
|
||||||
|
|
Loading…
Reference in a new issue