mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 20:23:39 +00:00
gdi32: Use ntgdi names for GetClipBox and GetRandomRgn.
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:
parent
34449789d3
commit
5a780ffd63
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue