implemented GetKeyboardLayoutNameW
authorChristoph von Wittich <christoph_vw@reactos.org>
Tue, 13 Dec 2005 21:26:25 +0000 (21:26 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Tue, 13 Dec 2005 21:26:25 +0000 (21:26 +0000)
fixed declaration of NtUserGetKeyboardLayoutName

svn path=/trunk/; revision=20150

reactos/include/win32k/ntuser.h
reactos/lib/user32/windows/input.c
reactos/subsys/win32k/ntuser/keyboard.c

index 8954168..8f75340 100644 (file)
@@ -752,10 +752,10 @@ NtUserGetKeyboardLayoutList(
   DWORD Unknown0,
   DWORD Unknown1);
 
-DWORD
+BOOL
 STDCALL
 NtUserGetKeyboardLayoutName(
-  DWORD Unknown0);
+  LPWSTR lpszName);
 
 DWORD
 STDCALL
index e159483..5f30b21 100644 (file)
@@ -260,13 +260,12 @@ GetKeyboardLayoutNameA(LPSTR pwszKLID)
 
 
 /*
- * @unimplemented
+ * @implemented
  */
 BOOL STDCALL
 GetKeyboardLayoutNameW(LPWSTR pwszKLID)
 {
-  UNIMPLEMENTED;
-  return FALSE;
+  return NtUserGetKeyboardLayoutName( pwszKLID );
 }
 
 
index 5d6fc6a..f0b8316 100644 (file)
@@ -1254,18 +1254,16 @@ NtUserGetKeyboardLayoutList(
    return 0;
 }
 
-DWORD
+BOOL
 STDCALL
 NtUserGetKeyboardLayoutName(
-   DWORD lpszName)
+   LPWSTR lpszName)
 {
    UNIMPLEMENTED
 
    return 0;
 }
 
-
-
 HKL FASTCALL
 UserGetKeyboardLayout(
    DWORD dwThreadId)