kernelbase: Add missing consts to ScrollConsoleScreenBuffer declaration.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-08-03 19:31:07 +02:00 committed by Alexandre Julliard
parent e6d9aaeb67
commit 1c843d3997
2 changed files with 7 additions and 7 deletions

View File

@ -972,8 +972,8 @@ BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputW( HANDLE handle, CHAR_INFO *buff
/******************************************************************************
* ScrollConsoleScreenBufferA (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH ScrollConsoleScreenBufferA( HANDLE handle, SMALL_RECT *scroll,
SMALL_RECT *clip, COORD origin, CHAR_INFO *fill )
BOOL WINAPI DECLSPEC_HOTPATCH ScrollConsoleScreenBufferA( HANDLE handle, const SMALL_RECT *scroll,
const SMALL_RECT *clip, COORD origin, const CHAR_INFO *fill )
{
CHAR_INFO ciW;
@ -987,9 +987,9 @@ BOOL WINAPI DECLSPEC_HOTPATCH ScrollConsoleScreenBufferA( HANDLE handle, SMALL_R
/******************************************************************************
* ScrollConsoleScreenBufferW (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH ScrollConsoleScreenBufferW( HANDLE handle, SMALL_RECT *scroll,
SMALL_RECT *clip_rect, COORD origin,
CHAR_INFO *fill )
BOOL WINAPI DECLSPEC_HOTPATCH ScrollConsoleScreenBufferW( HANDLE handle, const SMALL_RECT *scroll,
const SMALL_RECT *clip_rect, COORD origin,
const CHAR_INFO *fill )
{
struct condrv_scroll_params params;

View File

@ -374,8 +374,8 @@ WINBASEAPI BOOL WINAPI ReadConsoleOutputAttribute( HANDLE,LPWORD,DWORD,COORD,L
WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,LPDWORD);
WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,LPDWORD);
#define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter)
WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferA( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO);
WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferW( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO);
WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferA( HANDLE,const SMALL_RECT *,const SMALL_RECT *,COORD,const CHAR_INFO *);
WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferW( HANDLE,const SMALL_RECT *,const SMALL_RECT *com,COORD,const CHAR_INFO *);
#define ScrollConsoleScreenBuffer WINELIB_NAME_AW(ScrollConsoleScreenBuffer)
WINBASEAPI BOOL WINAPI SetConsoleActiveScreenBuffer( HANDLE);
WINBASEAPI BOOL WINAPI SetConsoleCP(UINT);