From 7c92862071bd7b5687ee0b01e9a2c56d0f87d2bf Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 2 Nov 2015 11:29:47 -0600 Subject: [PATCH] kernel32: Add SetConsoleKeyShortcuts stub. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- 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 d4c4a0597f5..363e763472b 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 89292c9f281..958c6a7c8f7 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