Stubs for PolyTextOutA/W.
diff --git a/include/wingdi.h b/include/wingdi.h
index aacf915..59a4aa6 100644
--- a/include/wingdi.h
+++ b/include/wingdi.h
@@ -3355,6 +3355,9 @@
BOOL WINAPI UnrealizeObject(HGDIOBJ);
BOOL WINAPI UpdateColors(HDC);
BOOL WINAPI WidenPath(HDC);
+BOOL WINAPI PolyTextOutA(HDC,PPOLYTEXTA,INT);
+BOOL WINAPI PolyTextOutW(HDC,PPOLYTEXTW,INT);
+#define PolyTextOut WINELIB_NAME_AW(PolyTextOut)
#ifdef __cplusplus
}
diff --git a/objects/text.c b/objects/text.c
index bf6bf2a..c542a94 100644
--- a/objects/text.c
+++ b/objects/text.c
@@ -10,6 +10,7 @@
#include "wine/winuser16.h"
#include "winbase.h"
#include "winuser.h"
+#include "winerror.h"
#include "dc.h"
#include "gdi.h"
#include "heap.h"
@@ -782,3 +783,33 @@
}
return charSet;
}
+
+/***********************************************************************
+ * PolyTextOutA [GDI.402] Draw several Strings
+ */
+BOOL WINAPI PolyTextOutA (
+ HDC hdc, /* Handle to device context */
+ PPOLYTEXTA pptxt, /* array of strings */
+ INT cStrings /* Number of strings in array */
+ )
+{
+ FIXME("stub!\n");
+ SetLastError ( ERROR_CALL_NOT_IMPLEMENTED );
+ return 0;
+}
+
+
+
+/***********************************************************************
+ * PolyTextOutW [GDI.403] Draw several Strings
+ */
+BOOL WINAPI PolyTextOutW (
+ HDC hdc, /* Handle to device context */
+ PPOLYTEXTW pptxt, /* array of strings */
+ INT cStrings /* Number of strings in array */
+ )
+{
+ FIXME("stub!\n");
+ SetLastError ( ERROR_CALL_NOT_IMPLEMENTED );
+ return 0;
+}
diff --git a/relay32/gdi32.spec b/relay32/gdi32.spec
index 76b6c31..3ca3acb 100644
--- a/relay32/gdi32.spec
+++ b/relay32/gdi32.spec
@@ -304,8 +304,8 @@
399 stdcall PolyDraw(long ptr ptr long) PolyDraw
400 stdcall PolyPolygon(long ptr ptr long) PolyPolygon
401 stdcall PolyPolyline(long ptr ptr long) PolyPolyline
-402 stub PolyTextOutA
-403 stub PolyTextOutW
+402 stdcall PolyTextOutA(long ptr long) PolyTextOutA
+403 stdcall PolyTextOutW(long ptr long) PolyTextOutW
404 stdcall Polygon(long ptr long) Polygon
405 stdcall Polyline(long ptr long) Polyline
406 stdcall PolylineTo(long ptr long) PolylineTo