Added patch for SetConsoleKeyShortcuts stub function.

This commit is contained in:
Sebastian Lackner
2015-10-31 17:54:21 +01:00
parent 9ad85e9d6f
commit 896b3398f1
5 changed files with 70 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
From 43143be970d430122d341eb08dc2828f9d901978 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Wed, 28 Oct 2015 10:37:27 -0500
Subject: kernel32: add SetConsoleKeyShortcuts stub (resend)
Signed-off-by: Austin English <austinenglish@gmail.com>
---
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..aa89e65 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 *unknown1, DWORD unknown2)
+{
+ FIXME(": (%u %u %p %u) stub!\n", set, keys, unknown1, unknown2);
+ 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

View File

@@ -0,0 +1 @@
Fixes: [35702] Add stub for SetConsoleKeyShortcuts