Module: wine Branch: stable Commit: 59bf117046c19a509388f552a3e1e7ac4e75027d URL: http://source.winehq.org/git/wine.git/?a=commit;h=59bf117046c19a509388f552a3...
Author: Austin English austinenglish@gmail.com Date: Mon Apr 18 20:20:50 2016 -0500
kernel32: Add GetConsoleFontInfo stub.
Signed-off-by: Austin English austinenglish@gmail.com Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 77733651ad3b45a4eb0dbbeca4318714fa041116) Signed-off-by: Michael Stefaniuc mstefani@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 99f2061..179e14e 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -3322,6 +3322,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 80f9be3..d29c5cb 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