Modified: trunk/reactos/include/win32k/ntuser.h
Modified: trunk/reactos/lib/user32/windows/input.c
Modified: trunk/reactos/subsys/win32k/ntuser/keyboard.c
--- trunk/reactos/include/win32k/ntuser.h 2005-12-13 20:17:25 UTC (rev 20149)
+++ trunk/reactos/include/win32k/ntuser.h 2005-12-13 21:26:25 UTC (rev 20150)
@@ -752,10 +752,10 @@
DWORD Unknown0,
DWORD Unknown1);
-DWORD
+BOOL
STDCALL
NtUserGetKeyboardLayoutName(
- DWORD Unknown0);
+ LPWSTR lpszName);
DWORD
STDCALL
--- trunk/reactos/lib/user32/windows/input.c 2005-12-13 20:17:25 UTC (rev 20149)
+++ trunk/reactos/lib/user32/windows/input.c 2005-12-13 21:26:25 UTC (rev 20150)
@@ -260,13 +260,12 @@
/*
- * @unimplemented
+ * @implemented
*/
BOOL STDCALL
GetKeyboardLayoutNameW(LPWSTR pwszKLID)
{
- UNIMPLEMENTED;
- return FALSE;
+ return NtUserGetKeyboardLayoutName( pwszKLID );
}
--- trunk/reactos/subsys/win32k/ntuser/keyboard.c 2005-12-13 20:17:25 UTC (rev 20149)
+++ trunk/reactos/subsys/win32k/ntuser/keyboard.c 2005-12-13 21:26:25 UTC (rev 20150)
@@ -1254,18 +1254,16 @@
return 0;
}
-DWORD
+BOOL
STDCALL
NtUserGetKeyboardLayoutName(
- DWORD lpszName)
+ LPWSTR lpszName)
{
UNIMPLEMENTED
return 0;
}
-
-
HKL FASTCALL
UserGetKeyboardLayout(
DWORD dwThreadId)