Commit 057b6404 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use ntgdi names for GetBoundsRect and SetBoundsRect.

parent 42851bd1
...@@ -494,7 +494,7 @@ static BOOL reset_dc_state( HDC hdc ) ...@@ -494,7 +494,7 @@ static BOOL reset_dc_state( HDC hdc )
NtGdiSelectPen( hdc, GetStockObject( BLACK_PEN )); NtGdiSelectPen( hdc, GetStockObject( BLACK_PEN ));
SetVirtualResolution( hdc, 0, 0, 0, 0 ); SetVirtualResolution( hdc, 0, 0, 0, 0 );
GDISelectPalette( hdc, GetStockObject( DEFAULT_PALETTE ), FALSE ); GDISelectPalette( hdc, GetStockObject( DEFAULT_PALETTE ), FALSE );
SetBoundsRect( hdc, NULL, DCB_DISABLE ); NtGdiSetBoundsRect( hdc, NULL, DCB_DISABLE );
AbortPath( hdc ); AbortPath( hdc );
if (dc->hClipRgn) DeleteObject( dc->hClipRgn ); if (dc->hClipRgn) DeleteObject( dc->hClipRgn );
...@@ -1206,9 +1206,9 @@ BOOL WINAPI NtGdiSetDeviceGammaRamp( HDC hdc, void *ptr ) ...@@ -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; PHYSDEV physdev;
RECT device_rect; RECT device_rect;
...@@ -1253,9 +1253,9 @@ UINT WINAPI GetBoundsRect(HDC hdc, LPRECT rect, UINT flags) ...@@ -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; PHYSDEV physdev;
UINT ret; UINT ret;
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
@ stdcall GetBitmapDimensionEx(long ptr) NtGdiGetBitmapDimension @ stdcall GetBitmapDimensionEx(long ptr) NtGdiGetBitmapDimension
@ stdcall GetBkColor(long) @ stdcall GetBkColor(long)
@ stdcall GetBkMode(long) @ stdcall GetBkMode(long)
@ stdcall GetBoundsRect(long ptr long) @ stdcall GetBoundsRect(long ptr long) NtGdiGetBoundsRect
# @ stub GetBrushAttributes # @ stub GetBrushAttributes
@ stdcall GetBrushOrgEx(long ptr) @ stdcall GetBrushOrgEx(long ptr)
@ stdcall GetCharABCWidthsA(long long long ptr) @ stdcall GetCharABCWidthsA(long long long ptr)
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
@ stdcall SetBitmapDimensionEx(long long long ptr) NtGdiSetBitmapDimension @ stdcall SetBitmapDimensionEx(long long long ptr) NtGdiSetBitmapDimension
@ stdcall SetBkColor(long long) @ stdcall SetBkColor(long long)
@ stdcall SetBkMode(long long) @ stdcall SetBkMode(long long)
@ stdcall SetBoundsRect(long ptr long) @ stdcall SetBoundsRect(long ptr long) NtGdiSetBoundsRect
# @ stub SetBrushAttributes # @ stub SetBrushAttributes
@ stdcall SetBrushOrgEx(long long long ptr) @ stdcall SetBrushOrgEx(long long long ptr)
@ stdcall SetColorAdjustment(long ptr) @ stdcall SetColorAdjustment(long ptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment