kernel32: Implement GetNumberOfConsoleFonts.

We only ever have one entry in the console font table.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2015-10-29 23:17:20 +11:00 committed by Alexandre Julliard
parent 313e064a44
commit f0ee54a776
2 changed files with 6 additions and 1 deletions

View File

@ -3234,6 +3234,11 @@ BOOL WINAPI SetConsoleIcon(HICON icon)
return FALSE;
}
DWORD WINAPI GetNumberOfConsoleFonts(void)
{
return 1;
}
BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsole, BOOL maxwindow, LPCONSOLE_FONT_INFO fontinfo)
{
BOOL ret;

View File

@ -753,7 +753,7 @@
@ stdcall GetNumberFormatA(long long str ptr ptr long)
# @ stub GetNumberFormatEx
@ stdcall GetNumberFormatW(long long wstr ptr ptr long)
@ stub GetNumberOfConsoleFonts
@ stdcall GetNumberOfConsoleFonts()
@ stdcall GetNumberOfConsoleInputEvents(long ptr)
@ stdcall GetNumberOfConsoleMouseButtons(ptr)
@ stdcall GetOEMCP()