mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:11:57 +00:00
[NTUSER][USER32_APITEST] TrackPopupMenuEx: Check flags (#8094)
Validate flags. JIRA issue: CORE-3247 - In NtUserTrackPopupMenuEx function, validate the flags. - If validation failed, then set last error and return FALSE. - Add SAL annotations to NtUserTrackPopupMenuEx. - Keep reference to menu in the function. - Add TrackPopupMenuEx testcase to user32_apitest.
This commit is contained in:
parent
4cf350a716
commit
3c35117f97
6 changed files with 395 additions and 27 deletions
|
@ -1425,12 +1425,12 @@ NtUserThunkedMenuItemInfo(
|
|||
BOOL
|
||||
NTAPI
|
||||
NtUserTrackPopupMenuEx(
|
||||
HMENU hmenu,
|
||||
UINT fuFlags,
|
||||
int x,
|
||||
int y,
|
||||
HWND hwnd,
|
||||
LPTPMPARAMS lptpm);
|
||||
_In_ HMENU hMenu,
|
||||
_In_ UINT fuFlags,
|
||||
_In_ INT x,
|
||||
_In_ INT y,
|
||||
_In_ HWND hwnd,
|
||||
_In_opt_ LPTPMPARAMS lptpm);
|
||||
|
||||
HKL
|
||||
NTAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue