- Use desktop system menu.

svn path=/trunk/; revision=63456
This commit is contained in:
James Tabor 2014-05-26 03:08:06 +00:00
parent db241f482b
commit 1498265bfc
3 changed files with 5 additions and 2 deletions

View 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;

View 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;

View 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;