From 8c751eddbfe94cfc5fc938d6eedf6530a6f460a1 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sun, 22 Feb 2009 00:32:59 +0000 Subject: [PATCH] - Add back removed call commented out. First problem I see with this patch, where is the check for child window? Second, this should be fixed in kernel space not in user32 and separate the kernel function from NtUserCallHwndLock and make a standalone one for win32k. With in this year ROSMENUINFO is going away and is deprecated. New structures will be made available soon. svn path=/trunk/; revision=39707 --- reactos/dll/win32/user32/windows/menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/dll/win32/user32/windows/menu.c b/reactos/dll/win32/user32/windows/menu.c index d8c0822c426..18b0ea10f9b 100644 --- a/reactos/dll/win32/user32/windows/menu.c +++ b/reactos/dll/win32/user32/windows/menu.c @@ -4033,6 +4033,7 @@ CreatePopupMenu(VOID) BOOL WINAPI DrawMenuBar(HWND hWnd) { +// return (BOOL)NtUserCallHwndLock(hWnd, HWNDLOCK_ROUTINE_DRAWMENUBAR); ROSMENUINFO MenuInfo; HMENU hMenu; hMenu = GetMenu(hWnd);