From 77733651ad3b45a4eb0dbbeca4318714fa041116 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 18 Apr 2016 20:20:50 -0500 Subject: [PATCH] kernel32: Add GetConsoleFontInfo stub. Signed-off-by: Austin English Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- 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 60e38bc23b5..cc2936d2d88 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 73f2e882a47..71dbe4d95ab 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