Commit 5a780ffd authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use ntgdi names for GetClipBox and GetRandomRgn.

parent 34449789
......@@ -197,7 +197,7 @@ INT WINAPI NtGdiExtSelectClipRgn( HDC hdc, HRGN rgn, INT mode )
}
/***********************************************************************
* __wine_set_visible_region (GDI32.@)
* __wine_set_visible_region (win32u.@)
*/
void CDECL __wine_set_visible_region( HDC hdc, HRGN hrgn, const RECT *vis_rect, const RECT *device_rect,
struct window_surface *surface )
......@@ -357,9 +357,9 @@ BOOL WINAPI NtGdiRectVisible( HDC hdc, const RECT *rect )
/***********************************************************************
* GetClipBox (GDI32.@)
* NtGdiGetAppClipBox (win32u.@)
*/
INT WINAPI GetClipBox( HDC hdc, LPRECT rect )
INT WINAPI NtGdiGetAppClipBox( HDC hdc, RECT *rect )
{
RECT visrect;
INT ret;
......@@ -440,7 +440,7 @@ INT WINAPI GetMetaRgn( HDC hdc, HRGN hRgn )
/***********************************************************************
* GetRandomRgn [GDI32.@]
* NtGdiGetRandomRgn (win32u.@)
*
* NOTES
* This function is documented in MSDN online for the case of
......@@ -453,7 +453,7 @@ INT WINAPI GetMetaRgn( HDC hdc, HRGN hRgn )
*
* See http://www.codeproject.com/gdi/cliprgnguide.asp
*/
INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, INT iCode)
INT WINAPI NtGdiGetRandomRgn( HDC hDC, HRGN hRgn, INT iCode )
{
INT ret = 1;
DC *dc = get_dc_ptr( hDC );
......
......@@ -264,7 +264,7 @@
@ stub GetCharWidthWOW
@ stdcall GetCharacterPlacementA(long str long long ptr long)
@ stdcall GetCharacterPlacementW(long wstr long long ptr long)
@ stdcall GetClipBox(long ptr)
@ stdcall GetClipBox(long ptr) NtGdiGetAppClipBox
@ stdcall GetClipRgn(long long)
@ stdcall GetColorAdjustment(long ptr)
@ stdcall GetColorSpace(long)
......@@ -332,7 +332,7 @@
@ stdcall GetPixelFormat(long)
@ stdcall GetPolyFillMode(long)
@ stdcall GetROP2(long)
@ stdcall GetRandomRgn(long long long)
@ stdcall GetRandomRgn(long long long) NtGdiGetRandomRgn
@ stdcall GetRasterizerCaps(ptr long) NtGdiGetRasterizerCaps
@ stdcall GetRegionData(long long ptr) NtGdiGetRegionData
@ stdcall GetRelAbs(long long)
......
......@@ -1217,7 +1217,7 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
UINT ret, full_size;
RECT rc;
GetClipBox(hdcRef, &rc);
NtGdiGetAppClipBox(hdcRef, &rc);
TRACE("(%p,%d,%p,%d,%p) rc=%s\n", hemf, cbBuffer, lpbBuffer,
map_mode, hdcRef, wine_dbgstr_rect(&rc));
......
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