Commit f0ee54a7 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

kernel32: Implement GetNumberOfConsoleFonts.

We only ever have one entry in the console font table. Signed-off-by: 's avatarHugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 313e064a
...@@ -3234,6 +3234,11 @@ BOOL WINAPI SetConsoleIcon(HICON icon) ...@@ -3234,6 +3234,11 @@ BOOL WINAPI SetConsoleIcon(HICON icon)
return FALSE; return FALSE;
} }
DWORD WINAPI GetNumberOfConsoleFonts(void)
{
return 1;
}
BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsole, BOOL maxwindow, LPCONSOLE_FONT_INFO fontinfo) BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsole, BOOL maxwindow, LPCONSOLE_FONT_INFO fontinfo)
{ {
BOOL ret; BOOL ret;
......
...@@ -753,7 +753,7 @@ ...@@ -753,7 +753,7 @@
@ stdcall GetNumberFormatA(long long str ptr ptr long) @ stdcall GetNumberFormatA(long long str ptr ptr long)
# @ stub GetNumberFormatEx # @ stub GetNumberFormatEx
@ stdcall GetNumberFormatW(long long wstr ptr ptr long) @ stdcall GetNumberFormatW(long long wstr ptr ptr long)
@ stub GetNumberOfConsoleFonts @ stdcall GetNumberOfConsoleFonts()
@ stdcall GetNumberOfConsoleInputEvents(long ptr) @ stdcall GetNumberOfConsoleInputEvents(long ptr)
@ stdcall GetNumberOfConsoleMouseButtons(ptr) @ stdcall GetNumberOfConsoleMouseButtons(ptr)
@ stdcall GetOEMCP() @ stdcall GetOEMCP()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment