wincon.h: Don't use calling convention wrappers on MSVC.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-04-27 01:19:00 +02:00 committed by Alexandre Julliard
parent 59336f2ff2
commit b7ce75e989
3 changed files with 3 additions and 3 deletions

View File

@ -1802,7 +1802,7 @@ static COORD get_console_font_size(HANDLE hConsole, DWORD index)
return c;
}
#if defined(__i386__) && !defined(__MINGW32__)
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
#undef GetConsoleFontSize
DWORD WINAPI GetConsoleFontSize(HANDLE hConsole, DWORD index)
{

View File

@ -577,7 +577,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetConsoleTitleW( LPWSTR title, DWORD size )
/***********************************************************************
* GetLargestConsoleWindowSize (kernelbase.@)
*/
#if defined(__i386__) && !defined(__MINGW32__)
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
#undef GetLargestConsoleWindowSize
DWORD WINAPI DECLSPEC_HOTPATCH GetLargestConsoleWindowSize( HANDLE handle )
{

View File

@ -268,7 +268,7 @@ typedef struct tagINPUT_RECORD
#define CONSOLE_TEXTMODE_BUFFER 1
#if defined(__i386__) && !defined(__MINGW32__)
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
/* Note: this should return a COORD, but calling convention for returning
* structures is different between Windows and gcc on i386. */