Added a stub for StartDocA and EndDoc.

This commit is contained in:
Uwe Bonnes 1998-11-08 15:38:32 +00:00 committed by Alexandre Julliard
parent 577db37b2a
commit e2ed0c92b1
2 changed files with 17 additions and 2 deletions

View File

@ -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*/
}

View File

@ -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