shlwapi: DeleteMenuWrap

Huw D M Davies h.davies1 at physics.ox.ac.uk
Wed Aug 10 08:35:24 CDT 2005


        Huw Davies <huw at codeweavers.com>
        Partial implementation of DeleteMenuWrap.
-- 
Huw Davies
huw at codeweavers.com
Index: dlls/shlwapi/ordinal.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/ordinal.c,v
retrieving revision 1.112
diff -u -p -r1.112 ordinal.c
--- dlls/shlwapi/ordinal.c	10 Aug 2005 13:00:05 -0000	1.112
+++ dlls/shlwapi/ordinal.c	10 Aug 2005 13:32:51 -0000
@@ -3722,6 +3722,16 @@ BOOL WINAPI SHFlushSFCacheWrap(void) {
 }
 
 /*************************************************************************
+ *      @	[SHLWAPI.425]
+ */
+BOOL WINAPI DeleteMenuWrap(HMENU hmenu, UINT pos, UINT flags)
+{
+    /* FIXME: This should do more than simply call DeleteMenu */
+    FIXME("%p %08x %08x): semi-stub\n", hmenu, pos, flags);
+    return DeleteMenu(hmenu, pos, flags);
+}
+
+/*************************************************************************
  *      @      [SHLWAPI.429]
  * FIXME I have no idea what this function does or what its arguments are.
  */
Index: dlls/shlwapi/shlwapi.spec
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/shlwapi.spec,v
retrieving revision 1.105
diff -u -p -r1.105 shlwapi.spec
--- dlls/shlwapi/shlwapi.spec	10 Aug 2005 13:00:05 -0000	1.105
+++ dlls/shlwapi/shlwapi.spec	10 Aug 2005 13:32:51 -0000
@@ -422,7 +422,7 @@
 422 stdcall -noname _SHGlobalCounterCreateNamedA(str long)
 423 stdcall -noname _SHGlobalCounterCreateNamedW(wstr long)
 424 stdcall -noname _SHGlobalCounterDecrement(long)
-425 stub -noname DeleteMenuWrap
+425 stdcall -noname DeleteMenuWrap(ptr long long)
 426 stub -noname DestroyMenuWrap
 427 stub -noname TrackPopupMenuWrap
 428 stdcall @(long long long long long ptr) user32.TrackPopupMenuEx



More information about the wine-patches mailing list