From d41491ef47525af910df7bd4362b89c99db0dcf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sun, 4 Sep 2005 22:20:22 +0000 Subject: [PATCH] Fix SetComputerNameA/W. They were sending a bad parameter to SetComputerNameExA/W. Thanks Hartmut svn path=/trunk/; revision=17646 --- reactos/lib/kernel32/misc/computername.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/misc/computername.c b/reactos/lib/kernel32/misc/computername.c index 24d2240adf9..be065b96568 100644 --- a/reactos/lib/kernel32/misc/computername.c +++ b/reactos/lib/kernel32/misc/computername.c @@ -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 ); }