Hans Leidekker : gdiplus: Add a stub implementation of GdiplusNotificationHook and GdiplusNotificationUnhook .

Alexandre Julliard julliard at winehq.org
Mon Nov 24 09:16:48 CST 2008


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Nov 24 10:21:28 2008 +0100

gdiplus: Add a stub implementation of GdiplusNotificationHook and GdiplusNotificationUnhook.

---

 dlls/gdiplus/gdiplus.c    |   12 ++++++++++++
 dlls/gdiplus/gdiplus.spec |    4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.c b/dlls/gdiplus/gdiplus.c
index 79b9ca0..c9c3102 100644
--- a/dlls/gdiplus/gdiplus.c
+++ b/dlls/gdiplus/gdiplus.c
@@ -100,6 +100,18 @@ Status WINAPI GdiplusStartup(ULONG_PTR *token, const struct GdiplusStartupInput
     return Ok;
 }
 
+GpStatus WINAPI GdiplusNotificationHook(ULONG_PTR *token)
+{
+    FIXME("%p\n", token);
+    return NotificationHook(token);
+}
+
+void WINAPI GdiplusNotificationUnhook(ULONG_PTR token)
+{
+    FIXME("%ld\n", token);
+    return NotificationUnhook(token);
+}
+
 /*****************************************************
  *      GdiplusShutdown [GDIPLUS.@]
  */
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index c25d4b7..7a303af 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -624,7 +624,7 @@
 @ stub GdipWarpPath
 @ stub GdipWidenPath
 @ stub GdipWindingModeOutline
-@ stub GdiplusNotificationHook
-@ stub GdiplusNotificationUnhook
+@ stdcall GdiplusNotificationHook(ptr)
+@ stdcall GdiplusNotificationUnhook(ptr)
 @ stdcall GdiplusShutdown(ptr)
 @ stdcall GdiplusStartup(ptr ptr ptr)




More information about the wine-cvs mailing list