EA Durbin : kernel32: Add stub for GetConsoleKeyboardLayoutNameW.

Alexandre Julliard julliard at winehq.org
Tue Nov 13 08:34:52 CST 2007


Module: wine
Branch: master
Commit: 661755b69f1fe2261b1e27199cfd45c44605a803
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=661755b69f1fe2261b1e27199cfd45c44605a803

Author: EA Durbin <ead1234 at hotmail.com>
Date:   Sun Nov 11 12:30:38 2007 -0600

kernel32: Add stub for GetConsoleKeyboardLayoutNameW.

---

 dlls/kernel32/console.c     |    9 +++++++++
 dlls/kernel32/kernel32.spec |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index adbce45..ec9c15c 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -974,6 +974,15 @@ BOOL WINAPI GetConsoleKeyboardLayoutNameA(LPSTR layoutName)
 }
 
 /***********************************************************************
+ *            GetConsoleKeyboardLayoutNameW   (KERNEL32.@)
+ */
+BOOL WINAPI GetConsoleKeyboardLayoutNameW(LPWSTR layoutName)
+{
+    FIXME( "stub %p\n", layoutName);
+    return TRUE;
+}
+
+/***********************************************************************
  *            GetConsoleInputExeNameA   (KERNEL32.@)
  */
 DWORD WINAPI GetConsoleInputExeNameA(DWORD BufferLength, LPSTR lpBuffer)
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 07afbe7..c9912fa 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -461,7 +461,7 @@
 @ stdcall GetConsoleInputExeNameW(long ptr)
 @ stdcall GetConsoleInputWaitHandle()
 @ stdcall GetConsoleKeyboardLayoutNameA(ptr)
-@ stub GetConsoleKeyboardLayoutNameW
+@ stdcall GetConsoleKeyboardLayoutNameW(ptr)
 @ stdcall GetConsoleMode(long ptr)
 @ stub GetConsoleNlsMode
 @ stdcall GetConsoleOutputCP()




More information about the wine-cvs mailing list