Author: jimtabor
Date: Fri Mar 31 21:57:20 2017
New Revision: 74255
URL:
http://svn.reactos.org/svn/reactos?rev=74255&view=rev
Log:
[NtUser]
- Add additional information from CORE-9667 thememenu.patch so it does not get lost.
Modified:
trunk/reactos/sdk/include/reactos/undocuser.h
trunk/reactos/win32ss/include/ntuser.h
trunk/reactos/win32ss/user/ntuser/ntstubs.c
Modified: trunk/reactos/sdk/include/reactos/undocuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/undocu…
==============================================================================
--- trunk/reactos/sdk/include/reactos/undocuser.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/undocuser.h [iso-8859-1] Fri Mar 31 21:57:20 2017
@@ -37,6 +37,11 @@
#define WM_LOGONNOTIFY 0x0000004C
#define WM_KEYF1 0x0000004D
#define WM_KLUDGEMINRECT 0x0000008B
+#define WM_UAHDRAWMENU 0x00000091
+#define WM_UAHDRAWITEM 0x00000092 // WM_DRAWITEM
+#define WM_UAHINITMENU 0x00000093
+#define WM_UAHMEASUREITEM 0x00000094 // WM_MEASUREITEM
+#define WM_UAHDRAWMENUNC 0x00000095
#define WM_NCUAHDRAWCAPTION 0x000000AE
#define WM_NCUAHDRAWFRAME 0x000000AF
#define WM_SYSTIMER 0x00000118
Modified: trunk/reactos/win32ss/include/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntuser.h?r…
==============================================================================
--- trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] Fri Mar 31 21:57:20 2017
@@ -1212,11 +1212,11 @@
DWORD
NTAPI
NtUserCalcMenuBar(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5);
+ HWND hwnd,
+ DWORD x,
+ DWORD width,
+ DWORD y,
+ LPRECT prc);
DWORD
NTAPI
@@ -2718,7 +2718,7 @@
ULONG left,
ULONG right,
ULONG top,
- BOOL bActive);
+ BOOL bActive); // DWORD Flags);
BOOL
APIENTRY
Modified: trunk/reactos/win32ss/user/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/ntstub…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] Fri Mar 31 21:57:20 2017
@@ -866,13 +866,13 @@
DWORD
APIENTRY
NtUserCalcMenuBar(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5)
-{
- STUB;
+ HWND hwnd,
+ DWORD x,
+ DWORD width, // Scale the edge thickness, offset?
+ DWORD y,
+ LPRECT prc )
+{
+ ERR("hwnd %p, X %d, Width %d, Y %d, prc 0x%x\n",hwnd,x,width,y,prc);
return 0;
}