[1/2] kernel32: Add GetCurrentConsoleFont stub

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Aug 21 04:41:02 CDT 2012


Hi,


Changelog:
      kernel32: Add GetCurrentConsoleFont stub


Best Regards
   Alistair Leslie-Hughes

-------------- next part --------------
>From 090cf86d373551f3125f6bf0253ed6b7302a00db Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon, 20 Aug 2012 14:20:16 +1000
Subject: [PATCH] Add GetCurrentConsoleFont stub
To: wine-patches <wine-patches 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 4218c29..e81598f 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3224,3 +3224,12 @@ BOOL WINAPI SetConsoleIcon(HICON icon)
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
+
+BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsole, BOOL maxwindow, LPCONSOLE_FONT_INFO fontinfo)
+{
+    FIXME(": (%p, %d, %p) stub!\n", hConsole, maxwindow, fontinfo);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+
+}
+
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 736fbde..b263818 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -494,7 +494,7 @@
 @ stdcall GetCurrencyFormatA(long long str ptr str long)
 @ stdcall GetCurrencyFormatW(long long str ptr str long)
 @ stdcall GetCurrentActCtx(ptr)
-@ stub GetCurrentConsoleFont
+@ stdcall GetCurrentConsoleFont(long long ptr)
 @ stdcall GetCurrentDirectoryA(long ptr)
 @ stdcall GetCurrentDirectoryW(long ptr)
 @ stdcall GetCurrentProcess()
-- 
1.7.9.5




More information about the wine-patches mailing list