Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut

svn path=/trunk/; revision=17646
This commit is contained in:
Hervé Poussineau 2005-09-04 22:20:22 +00:00
parent a5243c8e37
commit d41491ef47

View file

@ -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 );
}