Vincent Povirk : gdiplus: Stub GdipCreateHICONFromBitmap.

Alexandre Julliard julliard at winehq.org
Thu May 28 09:39:40 CDT 2009


Module: wine
Branch: master
Commit: 8219db2d6d9eb9212bbcd7864fd53cd964b6694b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8219db2d6d9eb9212bbcd7864fd53cd964b6694b

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed May 27 13:16:20 2009 -0500

gdiplus: Stub GdipCreateHICONFromBitmap.

---

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

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 34c897a..dff3cf3 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -94,7 +94,7 @@
 @ stdcall GdipCreateFromHWND(long ptr)
 @ stdcall GdipCreateFromHWNDICM(long ptr)
 @ stdcall GdipCreateHBITMAPFromBitmap(ptr ptr long)
-@ stub GdipCreateHICONFromBitmap
+@ stdcall GdipCreateHICONFromBitmap(ptr ptr)
 @ stdcall GdipCreateHalftonePalette()
 @ stdcall GdipCreateHatchBrush(long long long ptr)
 @ stdcall GdipCreateImageAttributes(ptr)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 9902f0f..29eb000 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -655,6 +655,13 @@ GpStatus WINGDIPAPI GdipCreateCachedBitmap(GpBitmap *bitmap, GpGraphics *graphic
     return Ok;
 }
 
+GpStatus WINGDIPAPI GdipCreateHICONFromBitmap(GpBitmap *bitmap, HICON *hicon)
+{
+    FIXME("(%p, %p)\n", bitmap, hicon);
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipDeleteCachedBitmap(GpCachedBitmap *cachedbmp)
 {
     TRACE("%p\n", cachedbmp);




More information about the wine-cvs mailing list