Author: greatlrd
Date: Sun Sep 2 01:36:44 2007
New Revision: 28752
URL:
http://svn.reactos.org/svn/reactos?rev=28752&view=rev
Log:
add PatBlt, PolyPatBlt to user mode
redirect PATHOBJ_bEnum@8 to NtGdiPATHOBJ_bEnum@8, PATHOBJ_bEnumClipLines@12 to
NtGdiPATHOBJ_bEnumClipLines@12, PATHOBJ_vEnumStart@4 to NtGdiPATHOBJ_vEnumStart@4,
PATHOBJ_vEnumStartClipLines@16 to NtGdiPATHOBJ_vEnumStartClipLines@16,
PATHOBJ_vGetBounds@8 to NtGdiPATHOBJ_vGetBounds@8
update the good api list
Modified:
trunk/reactos/dll/win32/gdi32/gdi32.def
trunk/reactos/dll/win32/gdi32/good api.def
trunk/reactos/dll/win32/gdi32/misc/stubs.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 Sun Sep 2 01:36:44 2007
@@ -416,8 +416,26 @@
OffsetRgn@12
OffsetViewportOrgEx@16
OffsetWindowOrgEx@16
-
-
+PATHOBJ_bEnum@8=NtGdiPATHOBJ_bEnum@8
+PATHOBJ_bEnumClipLines@12=NtGdiPATHOBJ_bEnumClipLines@12
+PATHOBJ_vEnumStart@4=NtGdiPATHOBJ_vEnumStart@4
+PATHOBJ_vEnumStartClipLines@16=NtGdiPATHOBJ_vEnumStartClipLines@16
+PATHOBJ_vGetBounds@8=NtGdiPATHOBJ_vGetBounds@8
+PaintRgn@8
+PatBlt@24
+PathToRegion@4
+Pie@36
+PlayEnhMetaFile@12
+PlayEnhMetaFileRecord@16
+PlayMetaFile@8
+PlayMetaFileRecord@16
+PlgBlt@40
+PolyBezier@12
+PolyBezierTo@12
+PolyDraw@16
+PolyPatBlt@20
+PolyPolygon@16
+PolyPolyline@16
@@ -494,26 +512,6 @@
GetGlyphIndicesA@20
GetTextExtentExPointWPri@28
GetTextExtentPoint32A@16
-PaintRgn@8
-PatBlt@24=NtGdiPatBlt@24
-PATHOBJ_bEnum@8
-PATHOBJ_bEnumClipLines@12
-PATHOBJ_vEnumStart@4
-PATHOBJ_vEnumStartClipLines@16
-PATHOBJ_vGetBounds@8
-PolyPatBlt@20=NtGdiPolyPatBlt@20
-PathToRegion@4
-Pie@36
-PlayEnhMetaFile@12
-PlayEnhMetaFileRecord@16
-PlayMetaFile@8
-PlayMetaFileRecord@16
-PlgBlt@40
-PolyBezier@12
-PolyBezierTo@12
-PolyDraw@16
-PolyPolygon@16
-PolyPolyline@16
PolyTextOutA@12
PolyTextOutW@12
Polygon@12
Modified: trunk/reactos/dll/win32/gdi32/good api.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/good%20api…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/good api.def (original)
+++ trunk/reactos/dll/win32/gdi32/good api.def Sun Sep 2 01:36:44 2007
@@ -155,6 +155,11 @@
GetWorldTransform@8
HT_Get8BPPFormatPalette@16
HT_Get8BPPMaskPalette@24
+PATHOBJ_bEnum@8
+PATHOBJ_bEnumClipLines@12
+PATHOBJ_vEnumStart@4
+PATHOBJ_vEnumStartClipLines@16
+PATHOBJ_vGetBounds@8
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sun Sep 2 01:36:44 2007
@@ -2196,57 +2196,6 @@
}
-/*
- * @unimplemented
- */
-BOOL STDCALL
-PATHOBJ_bEnum(PATHOBJ *ppo,PATHDATA *ppd)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL STDCALL
-PATHOBJ_bEnumClipLines(PATHOBJ *ppo,ULONG cb,CLIPLINE *pcl)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
-
-/*
- * @unimplemented
- */
-VOID STDCALL
-PATHOBJ_vEnumStart(PATHOBJ *ppo)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-}
-
-/*
- * @unimplemented
- */
-VOID STDCALL
-PATHOBJ_vEnumStartClipLines(PATHOBJ *ppo,CLIPOBJ *pco,SURFOBJ *pso,LINEATTRS *pla)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-}
-
-/*
- * @unimplemented
- */
-VOID STDCALL
-PATHOBJ_vGetBounds(PATHOBJ *ppo,PRECTFX prectfx)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-}
/*
* @unimplemented
@@ -2775,15 +2724,39 @@
* when it calls to NtGdiExtEscape from NamedEscape
*/
return NtGdiExtEscape(NULL,pDriver,wcslen(pDriver),iEsc,cjIn,pjIn,cjOut,pjOut);
-
-}
-
-
-
-
-
-
-
-
-
-
+}
+
+
+BOOL
+STDCALL
+PatBlt(HDC hdc,
+ int nXLeft,
+ int nYLeft,
+ int nWidth,
+ int nHeight,
+ DWORD dwRop)
+{
+ /* FIXME some part need be done in user mode */
+ return PatBlt( hdc, nXLeft, nYLeft, nWidth, nHeight, dwRop);
+}
+
+BOOL
+STDCALL
+PolyPatBlt(IN HDC hdc,
+ IN DWORD rop4,
+ IN PPOLYPATBLT pPoly,
+ IN DWORD Count,
+ IN DWORD Mode)
+{
+ /* FIXME some part need be done in user mode */
+ return NtGdiPolyPatBlt(hdc, rop4, pPoly,Count,Mode);
+}
+
+
+
+
+
+
+
+
+