Austin English : kernel32: Add SetConsoleKeyShortcuts stub.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 3 09:21:42 CST 2015


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Nov  2 11:29:47 2015 -0600

kernel32: Add SetConsoleKeyShortcuts stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index d4c4a05..363e763 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3239,6 +3239,15 @@ DWORD WINAPI GetNumberOfConsoleFonts(void)
     return 1;
 }
 
+
+BOOL WINAPI SetConsoleKeyShortcuts(BOOL set, BYTE keys, VOID *a, DWORD b)
+{
+    FIXME(": (%u %u %p %u) stub!\n", set, keys, a, b);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+
 BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsole, BOOL maxwindow, LPCONSOLE_FONT_INFO fontinfo)
 {
     BOOL ret;
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 89292c9..958c6a7 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -1350,7 +1350,7 @@
 @ stdcall SetConsoleIcon(ptr)
 @ stdcall SetConsoleInputExeNameA(ptr)
 @ stdcall SetConsoleInputExeNameW(ptr)
-@ stub SetConsoleKeyShortcuts
+@ stdcall SetConsoleKeyShortcuts(long long ptr long)
 @ stub SetConsoleLocalEUDC
 @ stub SetConsoleMaximumWindowSize
 @ stub SetConsoleMenuClose




More information about the wine-cvs mailing list