gdi32: Use ntgdi names for GetBoundsRect and SetBoundsRect.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-08-02 10:03:26 +02:00 committed by Alexandre Julliard
parent 42851bd13b
commit 057b6404ba
2 changed files with 7 additions and 7 deletions

View File

@ -494,7 +494,7 @@ static BOOL reset_dc_state( HDC hdc )
NtGdiSelectPen( hdc, GetStockObject( BLACK_PEN ));
SetVirtualResolution( hdc, 0, 0, 0, 0 );
GDISelectPalette( hdc, GetStockObject( DEFAULT_PALETTE ), FALSE );
SetBoundsRect( hdc, NULL, DCB_DISABLE );
NtGdiSetBoundsRect( hdc, NULL, DCB_DISABLE );
AbortPath( hdc );
if (dc->hClipRgn) DeleteObject( dc->hClipRgn );
@ -1206,9 +1206,9 @@ BOOL WINAPI NtGdiSetDeviceGammaRamp( HDC hdc, void *ptr )
/***********************************************************************
* GetBoundsRect (GDI32.@)
* NtGdiGetBoundsRect (win32u.@)
*/
UINT WINAPI GetBoundsRect(HDC hdc, LPRECT rect, UINT flags)
UINT WINAPI NtGdiGetBoundsRect( HDC hdc, RECT *rect, UINT flags )
{
PHYSDEV physdev;
RECT device_rect;
@ -1253,9 +1253,9 @@ UINT WINAPI GetBoundsRect(HDC hdc, LPRECT rect, UINT flags)
/***********************************************************************
* SetBoundsRect (GDI32.@)
* NtGdiSetBoundsRect (win32u.@)
*/
UINT WINAPI SetBoundsRect(HDC hdc, const RECT* rect, UINT flags)
UINT WINAPI NtGdiSetBoundsRect( HDC hdc, const RECT *rect, UINT flags )
{
PHYSDEV physdev;
UINT ret;

View File

@ -244,7 +244,7 @@
@ stdcall GetBitmapDimensionEx(long ptr) NtGdiGetBitmapDimension
@ stdcall GetBkColor(long)
@ stdcall GetBkMode(long)
@ stdcall GetBoundsRect(long ptr long)
@ stdcall GetBoundsRect(long ptr long) NtGdiGetBoundsRect
# @ stub GetBrushAttributes
@ stdcall GetBrushOrgEx(long ptr)
@ stdcall GetCharABCWidthsA(long long long ptr)
@ -478,7 +478,7 @@
@ stdcall SetBitmapDimensionEx(long long long ptr) NtGdiSetBitmapDimension
@ stdcall SetBkColor(long long)
@ stdcall SetBkMode(long long)
@ stdcall SetBoundsRect(long ptr long)
@ stdcall SetBoundsRect(long ptr long) NtGdiSetBoundsRect
# @ stub SetBrushAttributes
@ stdcall SetBrushOrgEx(long long long ptr)
@ stdcall SetColorAdjustment(long ptr)