Author: tkreuzer
Date: Wed Aug  1 06:07:15 2007
New Revision: 28063
URL: 
http://svn.reactos.org/svn/reactos?rev=28063&view=rev
Log:
Implement ExtEscape, MaskBlt, PlgBlt, wich were linked to the Nt functions before. But
those have a different parameter count. Fixes compilation.
Modified:
    trunk/reactos/dll/win32/gdi32/gdi32.def
    trunk/reactos/dll/win32/gdi32/misc/misc.c
    trunk/reactos/dll/win32/gdi32/objects/painting.c
Modified: trunk/reactos/dll/win32/gdi32/gdi32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/gdi32.def (original)
+++ trunk/reactos/dll/win32/gdi32/gdi32.def Wed Aug  1 06:07:15 2007
@@ -225,7 +225,7 @@
 ExcludeClipRect@20=NtGdiExcludeClipRect@20
 ExtCreatePen@20
 ExtCreateRegion@12=NtGdiExtCreateRegion@12
-ExtEscape@24=NtGdiExtEscape@24
+ExtEscape@24
 ExtFloodFill@20=NtGdiExtFloodFill@20
 ExtSelectClipRgn@12=NtGdiExtSelectClipRgn@12
 ExtTextOutA@32
@@ -467,7 +467,7 @@
 LPtoDP@12=NtGdiLPtoDP@12
 LineDDA@24
 LineTo@12=NtGdiLineTo@12
-MaskBlt@48=NtGdiMaskBlt@48
+MaskBlt@48
 MirrorRgn@8
 ModifyWorldTransform@12=NtGdiModifyWorldTransform@12
 MoveToEx@16=NtGdiMoveToEx@16
@@ -490,7 +490,7 @@
 PlayEnhMetaFileRecord@16
 PlayMetaFile@8
 PlayMetaFileRecord@16
-PlgBlt@40=NtGdiPlgBlt@40
+PlgBlt@40
 PolyBezier@12=NtGdiPolyBezier@12
 PolyBezierTo@12=NtGdiPolyBezierTo@12
 PolyDraw@16=NtGdiPolyDraw@16
Modified: trunk/reactos/dll/win32/gdi32/misc/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/misc.…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/misc.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/misc.c Wed Aug  1 06:07:15 2007
@@ -145,3 +145,15 @@
        return 0;
 }
+INT STDCALL
+ExtEscape(
+       HDC hDC,
+       int nEscape,
+       int cbInput,
+       LPCSTR lpszInData,
+       int cbOutput,
+       LPSTR lpszOutData
+)
+{
+       return NtGdiExtEscape(hDC, NULL, 0, nEscape, cbInput, (LPSTR)lpszInData, cbOutput,
lpszOutData);
+}
Modified: trunk/reactos/dll/win32/gdi32/objects/painting.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/pa…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/painting.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/painting.c Wed Aug  1 06:07:15 2007
@@ -903,3 +903,61 @@
 {
     return NtGdiExtFloodFill(hDC, nXStart, nYStart, crFill, FLOODFILLBORDER);
 }
+
+BOOL WINAPI
+MaskBlt(
+       HDC hdcDest,
+       INT nXDest,
+       INT nYDest,
+       INT nWidth,
+       INT nHeight,
+       HDC hdcSrc,
+       INT nXSrc,
+       INT nYSrc,
+       HBITMAP hbmMask,
+       INT xMask,
+       INT yMask,
+       DWORD dwRop)
+{
+       return NtGdiMaskBlt(hdcDest,
+                           nXDest,
+                           nYDest,
+                           nWidth,
+                           nHeight,
+                           hdcSrc,
+                           nXSrc,
+                           nYSrc,
+                           hbmMask,
+                           xMask,
+                           yMask,
+                           dwRop,
+                           0);
+}
+
+
+BOOL
+WINAPI
+PlgBlt(
+       HDC hdcDest,
+       const POINT *lpPoint,
+       HDC hdcSrc,
+       INT nXSrc,
+       INT nYSrc,
+       INT nWidth,
+       INT nHeight,
+       HBITMAP hbmMask,
+       INT xMask,
+       INT yMask)
+{
+       return NtGdiPlgBlt(hdcDest,
+                          (LPPOINT)lpPoint,
+                          hdcSrc,
+                          nXSrc,
+                          nYSrc,
+                          nWidth,
+                          nHeight,
+                          hbmMask,
+                          xMask,
+                          yMask,
+                          0);
+}