[Win32k]
authorJames Tabor <james.tabor@reactos.org>
Mon, 26 May 2014 03:08:06 +0000 (03:08 +0000)
committerJames Tabor <james.tabor@reactos.org>
Mon, 26 May 2014 03:08:06 +0000 (03:08 +0000)
- Use desktop system menu.

svn path=/trunk/; revision=63456

reactos/win32ss/user/ntuser/desktop.h
reactos/win32ss/user/ntuser/winsta.c
reactos/win32ss/user/ntuser/winsta.h

index 2dbcaa3..cdf160f 100644 (file)
@@ -10,6 +10,11 @@ typedef struct _DESKTOP
     /* Pointer to the associated window station. */
     struct _WINSTATION_OBJECT *rpwinstaParent;
     DWORD dwDTFlags;
+    DWORD_PTR dwDesktopId;
+    PMENU spmenuSys;
+    PMENU spmenuDialogSys;
+    PMENU spmenuHScroll;
+    PMENU spmenuVScroll;
     PWND spwndForeground;
     PWND spwndTray;
     PWND spwndMessage;
index 908da59..9045f6f 100644 (file)
@@ -454,7 +454,6 @@ NtUserCreateWindowStation(
    KeInitializeSpinLock(&WindowStationObject->Lock);
    InitializeListHead(&WindowStationObject->DesktopListHead);
    Status = RtlCreateAtomTable(37, &WindowStationObject->AtomTable);
-   WindowStationObject->SystemMenuTemplate = (HANDLE)0;
    WindowStationObject->Name = WindowStationName;
    WindowStationObject->dwSessionId = NtCurrentPeb()->SessionId;
 
index 799db1e..2cc12ca 100644 (file)
@@ -15,7 +15,6 @@ typedef struct _WINSTATION_OBJECT
     UNICODE_STRING Name;
     LIST_ENTRY DesktopListHead;
     PRTL_ATOM_TABLE AtomTable;
-    HANDLE SystemMenuTemplate;
     HANDLE ShellWindow;
     HANDLE ShellListView;