Win32 User32 rewrite example.
authorJames Tabor <james.tabor@reactos.org>
Wed, 22 Aug 2007 02:54:22 +0000 (02:54 +0000)
committerJames Tabor <james.tabor@reactos.org>
Wed, 22 Aug 2007 02:54:22 +0000 (02:54 +0000)
svn path=/trunk/; revision=28450

reactos/dll/win32/user32/windows/menu.c

index af4f7c6..28e2940 100644 (file)
@@ -5006,6 +5006,30 @@ TrackPopupMenuEx(
                         NULL != Tpm ? &Tpm->rcExclude : NULL);
 }
 
+//
+// Example for the Win32/User32 rewrite.
+// Def = TrackPopupMenuEx@24=NtUserTrackPopupMenuEx@24
+//
+//
+BOOL
+STDCALL
+NEWTrackPopupMenu(
+  HMENU Menu,
+  UINT Flags,
+  int x,
+  int y,
+  int Reserved,
+  HWND Wnd,
+  CONST RECT *Rect)
+{
+  return NtUserTrackPopupMenuEx( Menu,
+                                Flags,
+                                    x,
+                                    y,
+                                  Wnd,
+                                 NULL); // LPTPMPARAMS is null
+}
+
 
 /*
  * @implemented