Alistair Leslie-Hughes : kernel32: Add GetCurrentConsoleFont stub.
Alexandre Julliard
julliard at winehq.org
Wed Aug 22 14:04:20 CDT 2012
Module: wine
Branch: master
Commit: 71d3d4f1bafbcec65ba165d28aa18ab2be3b1459
URL: http://source.winehq.org/git/wine.git/?a=commit;h=71d3d4f1bafbcec65ba165d28aa18ab2be3b1459
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon Aug 20 14:20:16 2012 +1000
kernel32: Add GetCurrentConsoleFont stub.
---
dlls/kernel32/console.c | 8 ++++++++
dlls/kernel32/kernel32.spec | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 4218c29..1881bac 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3224,3 +3224,11 @@ 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()
More information about the wine-cvs
mailing list