From: Austin English Subject: kernel32: add SetConsoleKeyShortcuts stub Message-Id: Date: Tue, 27 Oct 2015 00:35:17 -0500 For https://bugs.winehq.org/show_bug.cgi?id=35702 -- -Austin From eb6b1966ad446fc7205c406d429ef282e3f5ae7e Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 27 Oct 2015 00:33:57 -0500 Subject: [PATCH] kernel32: add SetConsoleKeyShortcuts stub --- 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 c32dc49..ea4a825 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -3234,6 +3234,15 @@ BOOL WINAPI SetConsoleIcon(HICON icon) return FALSE; } + +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 d7eab83..793f616 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 -- 2.6.1