[PATCH 2/2] include/wincon.h: add some undocumented prototypes

Hugh McMaster hugh.mcmaster at outlook.com
Tue Apr 19 06:23:30 CDT 2016


On Tuesday, 19 April 2016 8:54 PM, Hugh McMaster wrote:

>On Tuesday, 19 April 2016 11:25 AM UTC+10, Austin English wrote:
>
>> +/* Undocumented */
>> +WINBASEAPI DWORD WINAPI  GetNumberOfConsoleFonts(void);
>[...]
>> +/* Undocumented */
>> +WINBASEAPI BOOL WINAPI   SetConsoleFont(HANDLE, DWORD);
>[...]
>> +/* Undocumented */
>> +WINBASEAPI BOOL WINAPI   SetConsoleIcon(HICON);
>> +WINBASEAPI BOOL WINAPI   SetConsoleMode(HANDLE,DWORD);
>
>As with your previous patch, these functions can only be called via GetModuleHandle
>and GetProcAddress on Windows, so they shouldn't be included in wincon.h.

With the exception of SetConsoleMode, of course.

--
Hugh McMaster


More information about the wine-devel mailing list