Fixed GetLargestConsoleWindowSize prototype.

This commit is contained in:
Eric Pouech 2000-04-29 17:16:00 +00:00 committed by Alexandre Julliard
parent c951060cde
commit f1a2532129
2 changed files with 6 additions and 3 deletions

View File

@ -1301,7 +1301,7 @@ DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
#define GetFullPathName WINELIB_NAME_AW(GetFullPathName) #define GetFullPathName WINELIB_NAME_AW(GetFullPathName)
BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD); BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD);
DWORD WINAPI GetLargestConsoleWindowSize(HANDLE); COORD WINAPI GetLargestConsoleWindowSize(HANDLE);
DWORD WINAPI GetLengthSid(PSID); DWORD WINAPI GetLengthSid(PSID);
VOID WINAPI GetLocalTime(LPSYSTEMTIME); VOID WINAPI GetLocalTime(LPSYSTEMTIME);
DWORD WINAPI GetLogicalDrives(void); DWORD WINAPI GetLogicalDrives(void);

View File

@ -441,9 +441,12 @@ BOOL WINAPI SetConsoleActiveScreenBuffer(
/*********************************************************************** /***********************************************************************
* GetLargestConsoleWindowSize (KERNEL32.226) * GetLargestConsoleWindowSize (KERNEL32.226)
*/ */
DWORD WINAPI GetLargestConsoleWindowSize( HANDLE hConsoleOutput ) COORD WINAPI GetLargestConsoleWindowSize( HANDLE hConsoleOutput )
{ {
return (DWORD)MAKELONG(80,24); COORD c;
c.x = 80;
c.y = 24;
return c;
} }
/*********************************************************************** /***********************************************************************