Hans Leidekker : gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation .
Alexandre Julliard
julliard at winehq.org
Mon Nov 24 09:16:59 CST 2008
Module: wine
Branch: master
Commit: 6122c77b9d22f4f618612cc9f9dccafb3fc9e93b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6122c77b9d22f4f618612cc9f9dccafb3fc9e93b
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Nov 24 10:23:03 2008 +0100
gdiplus: Add stub implementations of GdipCreateHalftonePalette and GdipImageForceValidation.
---
dlls/gdiplus/gdiplus.spec | 4 ++--
dlls/gdiplus/graphics.c | 7 +++++++
dlls/gdiplus/image.c | 7 +++++++
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index b3c1c5c..87e9cc3 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -95,7 +95,7 @@
@ stdcall GdipCreateFromHWNDICM(long ptr)
@ stdcall GdipCreateHBITMAPFromBitmap(ptr ptr long)
@ stub GdipCreateHICONFromBitmap
-@ stub GdipCreateHalftonePalette
+@ stdcall GdipCreateHalftonePalette()
@ stub GdipCreateHatchBrush
@ stdcall GdipCreateImageAttributes(ptr)
@ stdcall GdipCreateLineBrush(ptr ptr long long long ptr)
@@ -405,7 +405,7 @@
@ stdcall GdipGetWorldTransform(ptr ptr)
@ stdcall GdipGraphicsClear(ptr long)
@ stub GdipGraphicsSetAbort
-@ stub GdipImageForceValidation
+@ stdcall GdipImageForceValidation(ptr)
@ stdcall GdipImageGetFrameCount(ptr ptr ptr)
@ stdcall GdipImageGetFrameDimensionsCount(ptr ptr)
@ stdcall GdipImageGetFrameDimensionsList(ptr ptr long)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index fbc62b9..da2ea6f 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3287,3 +3287,10 @@ GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics *graphics, GpCoordinateSpace
return NotImplemented;
}
+
+HPALETTE WINGDIPAPI GdipCreateHalftonePalette(void)
+{
+ FIXME("\n");
+
+ return NULL;
+}
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 1627995..277c86c 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -1529,3 +1529,10 @@ GpStatus WINGDIPAPI GdipRecordMetafileFileNameI(GDIPCONST WCHAR* fileName, HDC h
return NotImplemented;
}
+
+GpStatus WINGDIPAPI GdipImageForceValidation(GpImage *image)
+{
+ FIXME("%p\n", image);
+
+ return Ok;
+}
More information about the wine-cvs
mailing list