From 2154cc31a3f7e75fac605c664682c10fd5fc4812 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Fri, 24 Aug 2007 21:57:50 +0000 Subject: [PATCH] add stub for NtGdiEngDeleteSurface, NtGdiEngEraseSurface, NtGdiEngStrokeAndFillPath, NtGdiEngDeletePath svn path=/trunk/; revision=28530 --- reactos/subsystems/win32/win32k/stubs/stubs.c | 51 +++++++++++++++++++ reactos/subsystems/win32/win32k/w32ksvc.db | 8 +-- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/reactos/subsystems/win32/win32k/stubs/stubs.c b/reactos/subsystems/win32/win32k/stubs/stubs.c index 4e76316c02c..c02abe0b445 100644 --- a/reactos/subsystems/win32/win32k/stubs/stubs.c +++ b/reactos/subsystems/win32/win32k/stubs/stubs.c @@ -1491,3 +1491,54 @@ NtGdiEngDeletePalette(IN HPALETTE Palette) UNIMPLEMENTED; return FALSE; } + +/* + * @unimplemented + */ +BOOL STDCALL +NtGdiEngStrokeAndFillPath(SURFOBJ *pso, + PATHOBJ *ppo, + CLIPOBJ *pco, + XFORMOBJ *pxo, + BRUSHOBJ *pboStroke, + LINEATTRS *plineattrs, + BRUSHOBJ *pboFill, + POINTL *pptlBrushOrg, + MIX mixFill, + FLONG flOptions) +{ + UNIMPLEMENTED; + return FALSE; +} + +/* + * @unimplemented + */ +VOID STDCALL +NtGdiEngDeletePath(PATHOBJ *ppo) +{ + UNIMPLEMENTED; +} + +/* + * @unimplemented + */ +BOOL STDCALL +NtGdiEngDeleteSurface(IN HSURF Surface) +{ + UNIMPLEMENTED; + return FALSE; +} + +/* + * @unimplemented + */ +BOOL STDCALL +NtGdiEngEraseSurface(SURFOBJ *Surface, + RECTL *Rect, + ULONG iColor) +{ + UNIMPLEMENTED; + return FALSE; +} + diff --git a/reactos/subsystems/win32/win32k/w32ksvc.db b/reactos/subsystems/win32/win32k/w32ksvc.db index a1d915e3d22..2b83ace8972 100644 --- a/reactos/subsystems/win32/win32k/w32ksvc.db +++ b/reactos/subsystems/win32/win32k/w32ksvc.db @@ -613,8 +613,8 @@ NtGdiEngCreatePalette 6 # NtGdiEngComputeGlyphSet 3 NtGdiEngCopyBits 6 NtGdiEngDeletePalette 1 -# NtGdiEngDeleteSurface 1 -# NtGdiEngEraseSurface 3 +NtGdiEngDeleteSurface 1 +NtGdiEngEraseSurface 3 # NtGdiEngUnlockSurface 1 NtGdiEngLockSurface 1 NtGdiEngBitBlt 11 @@ -623,7 +623,7 @@ NtGdiEngStretchBlt 11 # NtGdiEngMarkBandingSurface 1 NtGdiEngStrokePath 8 # NtGdiEngFillPath 7 -# NtGdiEngStrokeAndFillPath 10 +NtGdiEngStrokeAndFillPath 10 # NtGdiEngPaint 5 # NtGdiEngLineTo 9 NtGdiEngAlphaBlend 7 @@ -637,7 +637,7 @@ NtGdiEngTextOut 10 NtGdiCLIPOBJ_bEnum 3 NtGdiCLIPOBJ_cEnumStart 5 NtGdiCLIPOBJ_ppoGetPath 1 -# NtGdiEngDeletePath 1 +NtGdiEngDeletePath 1 NtGdiEngCreateClip 0 NtGdiEngDeleteClip 1 NtGdiBRUSHOBJ_ulGetBrushColor 1