projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc8712
)
Win32 User32 rewrite example.
author
James Tabor
<james.tabor@reactos.org>
Wed, 22 Aug 2007 02:54:22 +0000
(
02:54
+0000)
committer
James 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
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/user32/windows/menu.c
b/reactos/dll/win32/user32/windows/menu.c
index
af4f7c6
..
28e2940
100644
(file)
--- a/
reactos/dll/win32/user32/windows/menu.c
+++ b/
reactos/dll/win32/user32/windows/menu.c
@@
-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