[Gdiplus 4/7] Stub GdipCreateTexture2I

Adam Petaccia adam at tpetaccia.com
Sun Aug 31 00:06:54 CDT 2008


---
 dlls/gdiplus/brush.c      |    8 ++++++++
 dlls/gdiplus/gdiplus.spec |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 5749fd2..ae7266e 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -511,6 +511,14 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttrib
     return GdipCreateTextureIA(image,imageattr,(REAL)x,(REAL)y,(REAL)width,(REAL)height,texture);
 }
 
+GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage *image, GpWrapMode wrapmode,
+        INT x, INT y, INT width, INT height, GpTexture **texture)
+{
+    FIXME("stub: %p %d %d %d %d %d %p", image, wrapmode, x, y, width, height, texture);
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)
 {
     if(!brush || !type)  return InvalidParameter;
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 83c069b..97ab0c6 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -132,7 +132,7 @@
 @ stdcall GdipCreateStreamOnFile(ptr long ptr)
 @ stdcall GdipCreateStringFormat(long long ptr)
 @ stdcall GdipCreateTexture2(ptr long long long long long ptr)
-@ stub GdipCreateTexture2I
+@ stdcall GdipCreateTexture2I(ptr long long long long long ptr)
 @ stdcall GdipCreateTexture(ptr long ptr)
 @ stdcall GdipCreateTextureIA(ptr ptr long long long long ptr)
 @ stdcall GdipCreateTextureIAI(ptr ptr long long long long ptr)
-- 
1.5.4.3




More information about the wine-patches mailing list