win32u: Fix some prototype mismatches.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2689b37e5f
commit
7e792b3bca
|
@ -138,7 +138,7 @@ extern BOOL CDECL dibdrv_PatBlt( PHYSDEV dev, struct bitblt_coords *dst, DWO
|
|||
extern BOOL CDECL dibdrv_PaintRgn( PHYSDEV dev, HRGN hrgn ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL dibdrv_Pie( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
|
||||
INT start_x, INT start_y, INT end_x, INT end_y ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL dibdrv_PolyPolygon( PHYSDEV dev, const POINT *pt, const INT *counts, DWORD polygons ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL dibdrv_PolyPolygon( PHYSDEV dev, const POINT *pt, const INT *counts, UINT polygons ) DECLSPEC_HIDDEN;
|
||||
extern BOOL CDECL dibdrv_PolyPolyline( PHYSDEV dev, const POINT* pt, const DWORD* counts,
|
||||
DWORD polylines ) DECLSPEC_HIDDEN;
|
||||
extern DWORD CDECL dibdrv_PutImage( PHYSDEV dev, HRGN clip, BITMAPINFO *info,
|
||||
|
|
|
@ -1244,7 +1244,7 @@ BOOL CDECL dibdrv_PaintRgn( PHYSDEV dev, HRGN rgn )
|
|||
/***********************************************************************
|
||||
* dibdrv_PolyPolygon
|
||||
*/
|
||||
BOOL CDECL dibdrv_PolyPolygon( PHYSDEV dev, const POINT *pt, const INT *counts, DWORD polygons )
|
||||
BOOL CDECL dibdrv_PolyPolygon( PHYSDEV dev, const POINT *pt, const INT *counts, UINT polygons )
|
||||
{
|
||||
dibdrv_physdev *pdev = get_dibdrv_pdev(dev);
|
||||
DC *dc = get_physdev_dc( dev );
|
||||
|
|
|
@ -318,7 +318,7 @@ static BOOL CDECL EMFDRV_PolyBezierTo( PHYSDEV dev, const POINT *pts, DWORD coun
|
|||
}
|
||||
|
||||
static BOOL CDECL EMFDRV_PolyPolyline( PHYSDEV dev, const POINT *pt,
|
||||
const DWORD *counts, UINT polys )
|
||||
const DWORD *counts, DWORD polys )
|
||||
{
|
||||
/* FIXME: update bounding rect */
|
||||
return TRUE;
|
||||
|
|
|
@ -147,7 +147,7 @@ BOOL CDECL nulldrv_PolyBezierTo( PHYSDEV dev, const POINT *points, DWORD count )
|
|||
pts[0] = dc->attr->cur_pos;
|
||||
memcpy( pts + 1, points, sizeof(POINT) * count );
|
||||
count++;
|
||||
ret = NtGdiPolyPolyDraw( dev->hdc, pts, &count, 1, NtGdiPolyBezier );
|
||||
ret = NtGdiPolyPolyDraw( dev->hdc, pts, (UINT *)&count, 1, NtGdiPolyBezier );
|
||||
free( pts );
|
||||
}
|
||||
return ret;
|
||||
|
@ -550,7 +550,7 @@ BOOL WINAPI NtGdiInvertRgn( HDC hdc, HRGN hrgn )
|
|||
* NtGdiPolyPolyDraw (win32u.@)
|
||||
*/
|
||||
ULONG WINAPI NtGdiPolyPolyDraw( HDC hdc, const POINT *points, const UINT *counts,
|
||||
UINT count, UINT function )
|
||||
DWORD count, UINT function )
|
||||
{
|
||||
PHYSDEV physdev;
|
||||
ULONG ret;
|
||||
|
@ -572,7 +572,7 @@ ULONG WINAPI NtGdiPolyPolyDraw( HDC hdc, const POINT *points, const UINT *counts
|
|||
|
||||
case NtGdiPolyPolyline:
|
||||
physdev = GET_DC_PHYSDEV( dc, pPolyPolyline );
|
||||
ret = physdev->funcs->pPolyPolyline( physdev, points, counts, count );
|
||||
ret = physdev->funcs->pPolyPolyline( physdev, points, (const DWORD *)counts, count );
|
||||
break;
|
||||
|
||||
case NtGdiPolyBezier:
|
||||
|
|
Loading…
Reference in New Issue