mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut
svn path=/trunk/; revision=17646
This commit is contained in:
parent
a5243c8e37
commit
d41491ef47
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ static BOOL SetComputerNameToRegistry(
|
|||
BOOL STDCALL
|
||||
SetComputerNameA (LPCSTR lpComputerName)
|
||||
{
|
||||
return SetComputerNameExA( ComputerNameNetBIOS, lpComputerName );
|
||||
return SetComputerNameExA( ComputerNamePhysicalNetBIOS, lpComputerName );
|
||||
}
|
||||
|
||||
|
||||
|
@ -394,7 +394,7 @@ SetComputerNameA (LPCSTR lpComputerName)
|
|||
BOOL STDCALL
|
||||
SetComputerNameW (LPCWSTR lpComputerName)
|
||||
{
|
||||
return SetComputerNameExW( ComputerNameNetBIOS, lpComputerName );
|
||||
return SetComputerNameExW( ComputerNamePhysicalNetBIOS, lpComputerName );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue