From 0c62bf064deb6c2da90d5b3f9f842a4e86ec5893 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 13 Sep 1999 15:11:35 +0000 Subject: [PATCH] Added MenuItemFromPoint stub. --- controls/menu.c | 10 ++++++++++ relay32/user32.spec | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/controls/menu.c b/controls/menu.c index 04ee0df695e..81226d474a1 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -4737,3 +4737,13 @@ DWORD WINAPI GetMenuContextHelpId( HMENU hMenu ) } return 0; } + +/********************************************************************** + * MenuItemFromPoint (USER32.387) + */ +UINT WINAPI MenuItemFromPoint(HWND hWnd, HMENU hMenu, POINT ptScreen) +{ + FIXME("(0x%04x,0x%04x,(%ld,%ld)):stub\n", + hWnd, hMenu, ptScreen.x, ptScreen.y); + return 0; +} diff --git a/relay32/user32.spec b/relay32/user32.spec index 22d2595649f..5c032adef1f 100644 --- a/relay32/user32.spec +++ b/relay32/user32.spec @@ -388,7 +388,7 @@ init MAIN_UserInit 384 stdcall MapVirtualKeyExA(long long long) MapVirtualKeyEx32A 385 stdcall MapVirtualKeyW(long long) MapVirtualKeyA 386 stdcall MapWindowPoints(long long ptr long) MapWindowPoints -387 stub MenuItemFromPoint +387 stdcall MenuItemFromPoint() MenuItemFromPoint 388 stub MenuWindowProcA 389 stub MenuWindowProcW 390 stdcall MessageBeep(long) MessageBeep