Fix SetComputerNameA/W. They were sending a bad parameter to
SetComputerNameExA/W. Thanks Hartmut
Modified: trunk/reactos/lib/kernel32/misc/computername.c
_____
Modified: trunk/reactos/lib/kernel32/misc/computername.c
--- trunk/reactos/lib/kernel32/misc/computername.c 2005-09-04
22:16:57 UTC (rev 17645)
+++ trunk/reactos/lib/kernel32/misc/computername.c 2005-09-04
22:20:22 UTC (rev 17646)
@@ -384,7 +384,7 @@
BOOL STDCALL
SetComputerNameA (LPCSTR lpComputerName)
{
- return SetComputerNameExA( ComputerNameNetBIOS, lpComputerName );
+ return SetComputerNameExA( ComputerNamePhysicalNetBIOS,
lpComputerName );
}
@@ -394,7 +394,7 @@
BOOL STDCALL
SetComputerNameW (LPCWSTR lpComputerName)
{
- return SetComputerNameExW( ComputerNameNetBIOS, lpComputerName );
+ return SetComputerNameExW( ComputerNamePhysicalNetBIOS,
lpComputerName );
}
Show replies by date