mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +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
|
BOOL STDCALL
|
||||||
SetComputerNameA (LPCSTR lpComputerName)
|
SetComputerNameA (LPCSTR lpComputerName)
|
||||||
{
|
{
|
||||||
return SetComputerNameExA( ComputerNameNetBIOS, lpComputerName );
|
return SetComputerNameExA( ComputerNamePhysicalNetBIOS, lpComputerName );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -394,7 +394,7 @@ SetComputerNameA (LPCSTR lpComputerName)
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
SetComputerNameW (LPCWSTR lpComputerName)
|
SetComputerNameW (LPCWSTR lpComputerName)
|
||||||
{
|
{
|
||||||
return SetComputerNameExW( ComputerNameNetBIOS, lpComputerName );
|
return SetComputerNameExW( ComputerNamePhysicalNetBIOS, lpComputerName );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue