Commit 9fcebb00 authored by Bang Jun-young's avatar Bang Jun-young Committed by Alexandre Julliard

user32: Fix EndMenu() to match the PSDK.

parent dee7722b
......@@ -4252,7 +4252,7 @@ END:
* EndMenu (USER.187)
* EndMenu (USER32.@)
*/
void WINAPI EndMenu(void)
BOOL WINAPI EndMenu(void)
{
/* if we are in the menu code, and it is active */
if (!fEndMenu && top_popup)
......@@ -4266,6 +4266,7 @@ void WINAPI EndMenu(void)
/* don't end up with an orphaned menu */
PostMessageW( top_popup, WM_CANCELMODE, 0, 0);
}
return fEndMenu;
}
......
......@@ -4482,7 +4482,7 @@ WINUSERAPI BOOL WINAPI EnableScrollBar(HWND,UINT,UINT);
WINUSERAPI BOOL WINAPI EnableWindow(HWND,BOOL);
WINUSERAPI BOOL WINAPI EndDeferWindowPos(HDWP);
WINUSERAPI BOOL WINAPI EndDialog(HWND,INT_PTR);
WINUSERAPI VOID WINAPI EndMenu(void);
WINUSERAPI BOOL WINAPI EndMenu(void);
WINUSERAPI BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
WINUSERAPI BOOL WINAPI EnumChildWindows(HWND,WNDENUMPROC,LPARAM);
WINUSERAPI UINT WINAPI EnumClipboardFormats(UINT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment