mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Win32 User32 rewrite example.
svn path=/trunk/; revision=28450
This commit is contained in:
parent
7dc8712f1b
commit
2858198372
1 changed files with 24 additions and 0 deletions
|
@ -5006,6 +5006,30 @@ TrackPopupMenuEx(
|
||||||
NULL != Tpm ? &Tpm->rcExclude : NULL);
|
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
|
* @implemented
|
||||||
|
|
Loading…
Reference in a new issue