Author: bfreisen
Date: Sun May 28 17:33:15 2017
New Revision: 74690
URL: http://svn.reactos.org/svn/reactos?rev=74690&view=rev
Log:
[MSPAINT]
- When setting a file as tiled wallpaper, it will now indeed show up tiled instead of centered.
- All three options (tiled, centered, stretched) are working. (non-bitmaps only in Vista and above)
CORE-12164 #resolve
Modified:
trunk/reactos/base/applications/mspaint/registry.cpp
Modified: trunk/reactos/base/applications/mspaint/registry.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/registry.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/registry.cpp [iso-8859-1] Sun May 28 17:33:15 2017
@@ -42,7 +42,7 @@
{
desktop.SetStringValue(_T("Wallpaper"), szFileName);
- desktop.SetStringValue(_T("WallpaperStyle"), (style == RegistrySettings::STRETCHED) ? _T("2") : _T("1"));
+ desktop.SetStringValue(_T("WallpaperStyle"), (style == RegistrySettings::STRETCHED) ? _T("2") : _T("0"));
desktop.SetStringValue(_T("TileWallpaper"), (style == RegistrySettings::TILED) ? _T("1") : _T("0"));
}
Author: pschweitzer
Date: Sun May 28 10:22:30 2017
New Revision: 74688
URL: http://svn.reactos.org/svn/reactos?rev=74688&view=rev
Log:
[NTOSKRNL:MM]
Only warn for unimplemented in ExAllocatePoolWithTagPriority() when memory allocation fails. For the rest, the caller has the memory it asked for.
Side note: we could also warn when caller wants to use special pool.
CORE-13334
CORE-11327
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/expool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/expool.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/expool.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] Sun May 28 10:22:30 2017
@@ -2589,11 +2589,18 @@
IN ULONG Tag,
IN EX_POOL_PRIORITY Priority)
{
+ PVOID Buffer;
+
//
// Allocate the pool
//
- UNIMPLEMENTED;
- return ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag);
+ Buffer = ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag);
+ if (Buffer == NULL)
+ {
+ UNIMPLEMENTED;
+ }
+
+ return Buffer;
}
/*