mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"
|
||||
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","DefaultPassword",0x00000000,""
|
||||
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify",,0x00000012
|
||||
|
|
|
@ -246,7 +246,7 @@ GetRegistrySettings(PGINA_CONTEXT pgContext)
|
|||
|
||||
dwSize = sizeof(pgContext->Domain);
|
||||
rc = RegQueryValueExW(hKey,
|
||||
L"DefaultDomain",
|
||||
L"DefaultDomainName",
|
||||
NULL,
|
||||
NULL,
|
||||
(LPBYTE)&pgContext->Domain,
|
||||
|
|
|
@ -580,7 +580,7 @@ SetAutoAdminLogon(VOID)
|
|||
if (wcscmp(szAutoAdminLogon, L"1") == 0)
|
||||
{
|
||||
RegSetValueExW(hKey,
|
||||
L"DefaultDomain",
|
||||
L"DefaultDomainName",
|
||||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)AdminInfo.Domain,
|
||||
|
|
|
@ -594,14 +594,14 @@ WriteDefaultLogonData(LPWSTR Domain)
|
|||
return FALSE;
|
||||
|
||||
lError = RegSetValueEx(hKey,
|
||||
L"DefaultDomain",
|
||||
L"DefaultDomainName",
|
||||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)Domain,
|
||||
(wcslen(Domain)+ 1) * sizeof(WCHAR));
|
||||
if (lError != ERROR_SUCCESS)
|
||||
{
|
||||
DPRINT1("RegSetValueEx(\"DefaultDomain\") failed!\n");
|
||||
DPRINT1("RegSetValueEx(\"DefaultDomainName\") failed!\n");
|
||||
}
|
||||
|
||||
lError = RegSetValueEx(hKey,
|
||||
|
|
Loading…
Reference in a new issue