mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[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:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user