[ros-diffs] [cwittich] 20014: move declaration of IntGdiExtSelectClipRgn to a win32k header

cwittich at svn.reactos.com cwittich at svn.reactos.com
Fri Dec 9 19:42:31 CET 2005


move declaration of IntGdiExtSelectClipRgn to a win32k header
fix compile problem with path.c
Modified: trunk/reactos/include/win32k/cliprgn.h
Modified: trunk/reactos/subsys/win32k/include/intgdi.h
Modified: trunk/reactos/subsys/win32k/objects/path.c
  _____  

Modified: trunk/reactos/include/win32k/cliprgn.h
--- trunk/reactos/include/win32k/cliprgn.h	2005-12-09 18:36:53 UTC
(rev 20013)
+++ trunk/reactos/include/win32k/cliprgn.h	2005-12-09 18:42:27 UTC
(rev 20014)
@@ -6,14 +6,6 @@

 
 int
 STDCALL
-IntGdiExtSelectClipRgn (
-        PDC     dc,
-        HRGN    hrgn, 
-        int     fnMode
-        );
-
-int
-STDCALL
 NtGdiExcludeClipRect (
 	HDC	hDC,
 	int	LeftRect,
  _____  

Modified: trunk/reactos/subsys/win32k/include/intgdi.h
--- trunk/reactos/subsys/win32k/include/intgdi.h	2005-12-09
18:36:53 UTC (rev 20013)
+++ trunk/reactos/subsys/win32k/include/intgdi.h	2005-12-09
18:42:27 UTC (rev 20014)
@@ -9,7 +9,6 @@

 VOID FASTCALL
 IntGdiInitBrushInstance(GDIBRUSHINST *BrushInst, PGDIBRUSHOBJ BrushObj,
XLATEOBJ *XlateObj);
 
-
 HBRUSH STDCALL
 IntGdiCreateDIBBrush(
    CONST BITMAPINFO *BitmapInfo,
@@ -198,6 +197,8 @@
 INT FASTCALL
 IntGdiGetDeviceCaps(PDC dc, INT Index);
 
+int STDCALL IntGdiExtSelectClipRgn (PDC dc, HRGN hrgn, int fnMode);
+
 INT
 FASTCALL
 IntGdiEscape(PDC    dc,
  _____  

Modified: trunk/reactos/subsys/win32k/objects/path.c
--- trunk/reactos/subsys/win32k/objects/path.c	2005-12-09 18:36:53 UTC
(rev 20013)
+++ trunk/reactos/subsys/win32k/objects/path.c	2005-12-09 18:42:27 UTC
(rev 20014)
@@ -249,8 +249,10 @@

 
  /* Check that path is closed */
  if( pPath->state != PATH_Closed )
+ {
    SetLastWin32Error(ERROR_CAN_NOT_COMPLETE);
    return FALSE;
+ }
  /* Construct a region from the path */
  else if( PATH_PathToRegion( pPath, dc->w.polyFillMode, &hrgnPath ) )
  {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051209/5bc555c8/attachment.html


More information about the Ros-diffs mailing list