mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NtUser]
- Fix default sizes for desktop resources. See CORE-8659. svn path=/trunk/; revision=65039
This commit is contained in:
@@ -25,6 +25,10 @@ IntFreeDesktopHeap(IN PDESKTOP pdesk);
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
/* These can be changed via csrss startup, these are defaults */
|
||||
DWORD gdwDesktopSectionSize = 512;
|
||||
DWORD gdwNOIOSectionSize = 128; // A guess, for one or more of the first three system desktops.
|
||||
|
||||
/* Currently active desktop */
|
||||
PDESKTOP gpdeskInputDesktop = NULL;
|
||||
HDC ScreenDeviceContext = NULL;
|
||||
@@ -1194,7 +1198,7 @@ static NTSTATUS
|
||||
UserInitializeDesktop(PDESKTOP pdesk, PUNICODE_STRING DesktopName, PWINSTATION_OBJECT pwinsta)
|
||||
{
|
||||
PVOID DesktopHeapSystemBase = NULL;
|
||||
ULONG_PTR HeapSize = 400 * 1024;
|
||||
ULONG_PTR HeapSize = gdwDesktopSectionSize * 1024;
|
||||
SIZE_T DesktopInfoSize;
|
||||
ULONG i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user