[pkg-wine-party] [wine] 220/344: kernel32: Add GetConsoleFontInfo stub.

Jens Reyer jreyer-guest at moszumanska.debian.org
Thu May 12 17:40:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch master
in repository wine.

commit 77733651ad3b45a4eb0dbbeca4318714fa041116
Author: Austin English <austinenglish at gmail.com>
Date:   Mon Apr 18 20:20:50 2016 -0500

    kernel32: Add GetConsoleFontInfo stub.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 dlls/kernel32/console.c     | 7 +++++++
 dlls/kernel32/kernel32.spec | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 60e38bc..cc2936d 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3347,6 +3347,13 @@ COORD WINAPI GetConsoleFontSize(HANDLE hConsole, DWORD index)
 }
 #endif /* !defined(__i386__) */
 
+BOOL WINAPI GetConsoleFontInfo(HANDLE hConsole, BOOL maximize, DWORD numfonts, CONSOLE_FONT_INFO *info)
+{
+    FIXME("(%p %d %u %p): stub!\n", hConsole, maximize, numfonts, info);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
 BOOL WINAPI GetConsoleScreenBufferInfoEx(HANDLE hConsole, CONSOLE_SCREEN_BUFFER_INFOEX *csbix)
 {
     FIXME("(%p %p): stub!\n", hConsole, csbix);
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 73f2e88..71dbe4d 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -599,7 +599,7 @@
 @ stdcall GetConsoleCursorInfo(long ptr)
 @ stub GetConsoleCursorMode
 @ stdcall GetConsoleDisplayMode(ptr)
-@ stub GetConsoleFontInfo
+@ stdcall GetConsoleFontInfo(ptr long long ptr)
 @ stdcall GetConsoleFontSize(long long)
 @ stub GetConsoleHardwareState
 # @ stub GetConsoleHistoryInfo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list