[Gdiplus 1/4] Stub GdipCreateTexture and GdipCreateTexture2
Adam Petaccia
adam at tpetaccia.com
Sat Aug 16 22:28:30 CDT 2008
---
dlls/gdiplus/brush.c | 17 +++++++++++++++++
dlls/gdiplus/gdiplus.spec | 4 ++--
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 13cd3ab..5e3c7de 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -373,6 +373,23 @@ GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf)
return Ok;
}
+GpStatus WINGDIPAPI GdipCreateTexture(GpImage *image, GpWrapMode wrapmode,
+ GpTexture **texture)
+{
+ FIXME("stub: %p, %d %p\n", image, wrapmode, texture);
+
+ return NotImplemented;
+}
+
+GpStatus WINGDIPAPI GdipCreateTexture2(GpImage *image, GpWrapMode wrapmode,
+ REAL x, REAL y, REAL width, REAL height, GpTexture **texture)
+{
+ FIXME("stub: %p %d %f %f %f %f %p\n", image, wrapmode,
+ x, y, width, height, texture);
+
+ return NotImplemented;
+}
+
/* FIXME: imageattr ignored */
GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
GDIPCONST GpImageAttributes *imageattr, REAL x, REAL y, REAL width,
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 57f9734..346924a 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -131,9 +131,9 @@
@ stdcall GdipCreateSolidFill(long ptr)
@ stdcall GdipCreateStreamOnFile(ptr long ptr)
@ stdcall GdipCreateStringFormat(long long ptr)
-@ stub GdipCreateTexture2
+@ stdcall GdipCreateTexture2(ptr long long long long long ptr)
@ stub GdipCreateTexture2I
-@ stub GdipCreateTexture
+@ stdcall GdipCreateTexture(ptr long ptr)
@ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
@ stdcall GdipCreateTextureIAI(ptr ptr long long long long ptr)
@ stdcall GdipDeleteBrush(ptr)
--
1.5.4.3
More information about the wine-patches
mailing list