From e2ed0c92b1116b8cc2ba7c9edda70e1cf4328abb Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 8 Nov 1998 15:38:32 +0000 Subject: [PATCH] Added a stub for StartDocA and EndDoc. --- graphics/painting.c | 15 +++++++++++++++ relay32/gdi32.spec | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/graphics/painting.c b/graphics/painting.c index c6df9a3c66f..03c529c8bbe 100644 --- a/graphics/painting.c +++ b/graphics/painting.c @@ -25,6 +25,7 @@ #include "region.h" #include "path.h" #include "debug.h" +#include "winerror.h" /*********************************************************************** * LineTo16 (GDI.19) @@ -1142,3 +1143,17 @@ BOOL32 WINAPI PolyBezierTo32( HDC32 hdc, const POINT32* lppt, DWORD cPoints ) dc->funcs->pMoveToEx(dc,lppt[cPoints].x,lppt[cPoints].y,&pt); return ret; } + +INT32 WINAPI EndDoc32(HDC32 a) +{ +FIXME(gdi,"stub\n"); +SetLastError(ERROR_CALL_NOT_IMPLEMENTED); +return 0; /* failure*/ +} + +INT32 WINAPI StartDoc32A(HDC32 hdc ,const DOCINFO32A* doc) +{ +FIXME(gdi,"stub\n"); +SetLastError(ERROR_CALL_NOT_IMPLEMENTED); +return 0; /* failure*/ +} diff --git a/relay32/gdi32.spec b/relay32/gdi32.spec index 83b60836dee..3084b64e529 100644 --- a/relay32/gdi32.spec +++ b/relay32/gdi32.spec @@ -78,7 +78,7 @@ init MAIN_GdiInit 73 stub DeviceCapabilitiesExW 74 stub DrawEscape 75 stdcall Ellipse(long long long long long) Ellipse32 - 76 stub EndDoc + 76 stdcall EndDoc(long) EndDoc32 77 stub EndPage 78 stdcall EndPath(long) EndPath32 79 stdcall EnumEnhMetaFile(long long ptr ptr ptr) EnumEnhMetaFile32 @@ -349,7 +349,7 @@ init MAIN_GdiInit 344 stdcall SetWindowExtEx(long long long ptr) SetWindowExtEx32 345 stdcall SetWindowOrgEx(long long long ptr) SetWindowOrgEx32 346 stdcall SetWorldTransform(long ptr) SetWorldTransform -347 stub StartDocA +347 stdcall StartDocA(long ptr) StartDoc32A 348 stub StartDocW 349 stub StartPage 350 stdcall StretchBlt(long long long long long long long long long long long) StretchBlt32