[WIN32K] -Stub NtUserPaintMenuBar. I'm still not sure about the last parameter and its return value.

svn path=/trunk/; revision=74251
This commit is contained in:
Giannis Adamopoulos
2017-03-31 18:05:27 +00:00
parent 2a507824c6
commit 4daf6ffcbc
2 changed files with 35 additions and 15 deletions
+35
View File
@@ -6045,6 +6045,41 @@ CLEANUP:
}
DWORD
APIENTRY
NtUserPaintMenuBar(
HWND hWnd,
HDC hDC,
ULONG left,
ULONG right,
ULONG top,
BOOL bActive)
{
PWND Window;
RECT Rect;
UserEnterExclusive();
if(!(Window = UserGetWindowObject(hWnd)))
{
EngSetLastError(ERROR_INVALID_WINDOW_HANDLE);
UserLeave();
return 0;
}
Rect.left = left;
Rect.right = right;
Rect.top = top;
Rect.bottom = 0;
MENU_DrawMenuBar(hDC, &Rect, Window, FALSE);
UserLeave();
/* I am not sure about what this function returns */
return 0;
}
/*
* @implemented
*/
-15
View File
@@ -876,21 +876,6 @@ NtUserCalcMenuBar(
return 0;
}
DWORD
APIENTRY
NtUserPaintMenuBar(
HWND hWnd,
HDC hDC,
ULONG left,
ULONG right,
ULONG top,
BOOL bActive)
{
STUB;
return 0;
}
DWORD
APIENTRY
NtUserRemoteConnect(