diff --git a/graphics/painting.c b/graphics/painting.c index c6df9a3c66fd1bc96e3759f6df0398830cbcdcad..03c529c8bbee65347e83aeb787c1c0df5addf312 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 83b60836deeaa63d31f172b4c951318598cff8ee..3084b64e529d0614b45a3ea723359be0dca952bc 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