Fix gdi32:SetSysColors apitest
[reactos.git] / reactos / subsystems / win32 / win32k / include / intgdi.h
index de58b83..c88545c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef _WIN32K_INTGDI_H
-#define _WIN32K_INTGDI_H
+#pragma once
 
 #include "region.h"
 
@@ -67,7 +66,8 @@ BOOL FASTCALL
 IntGdiMoveToEx(DC      *dc,
                int     X,
                int     Y,
-               LPPOINT Point);
+               LPPOINT Point,
+               BOOL    BypassPath);
 
 BOOL FASTCALL
 IntGdiPolyBezier(DC      *dc,
@@ -122,10 +122,15 @@ IntGdiPolyPolygon(DC      *dc,
                   PULONG  PolyCounts,
                   int     Count);
 
-BOOL FASTCALL IntGdiGradientFill(DC *dc,
+BOOL
+NTAPI
+GreGradientFill(
+    HDC hdc,
     PTRIVERTEX pVertex,
-    ULONG uVertex,
-    PVOID pMesh, ULONG uMesh, ULONG ulMode);
+    ULONG nVertex,
+    PVOID pMesh,
+    ULONG nMesh,
+    ULONG ulMode);
 
 /* DC functions */
 
@@ -151,29 +156,17 @@ IntGdiCombineTransform(LPXFORM XFormResult,
 
 /* Stock objects */
 
-BOOL FASTCALL
-IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors);
-
-BOOL FASTCALL
-IntGetSysColorBrushes(HBRUSH *Brushes, UINT nBrushes);
+VOID FASTCALL
+IntSetSysColors(UINT nColors, CONST INT *Elements, CONST COLORREF *Colors);
 
 HGDIOBJ FASTCALL
 IntGetSysColorBrush(INT Object);
 
-BOOL FASTCALL
-IntGetSysColorPens(HPEN *Pens, UINT nPens);
-
-BOOL FASTCALL
-IntGetSysColors(COLORREF *Colors, UINT nColors);
-
 DWORD FASTCALL
 IntGetSysColor(INT nIndex);
 
 /* Other Stuff */
 
-INT FASTCALL
-IntGdiGetDeviceCaps(PDC dc, INT Index);
-
 INT
 FASTCALL
 IntGdiEscape(PDC    dc,
@@ -190,14 +183,6 @@ IntEnumDisplaySettings(
   IN OUT LPDEVMODEW pDevMode,
   IN DWORD dwFlags);
 
-LONG
-FASTCALL
-IntChangeDisplaySettings(
-  IN PUNICODE_STRING pDeviceName  OPTIONAL,
-  IN LPDEVMODEW pDevMode,
-  IN DWORD dwflags,
-  IN PVOID lParam  OPTIONAL);
-
 HBITMAP
 FASTCALL
 IntCreateCompatibleBitmap(PDC Dc,
@@ -247,8 +232,6 @@ IntGetSystemPaletteEntries(HDC  hDC,
                            UINT  StartIndex,
                            UINT  Entries,
                            LPPALETTEENTRY  pe);
-UINT APIENTRY
-IntGetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, RGBQUAD *Colors);
 
 UINT APIENTRY
 IntSetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, CONST RGBQUAD *Colors);
@@ -266,7 +249,6 @@ GreStretchBltMask(IN HDC hdcDst,
                   IN INT cySrc,
                   IN DWORD dwRop,
                   IN DWORD dwBackColor,
-                  IN HDC hdcMask);
-
-#endif /* _WIN32K_INTGDI_H */
-
+                  IN HDC hdcMask,
+                  IN INT xMask,
+                  IN INT yMask);