- Do not mark VAD as private memory when creating a MEMORY_AREA, as this is never the case (only used for sections)
- Add a few DPRINTS.
CORE-8140 #resolve fixed with r63618
svn path=/trunk/; revision=63618
The winstation spinlock is a leftover of some old code. It can be removed.
<+smiley1_> hbelusca: yeah the spinlock should be removed
<@hbelusca> smiley1_ - was it from old code?
<+smiley1_> hbelusca: go on
svn path=/trunk/; revision=63612
There is a bug in win32k (who would have thought that?) that consists in holding a winstation spinlock while running PAGED_CODE MmCopyToCaller function, when building the list of desktops of a given window station (the bug is easily triggerable when calling EnumDesktopsW). Since this lock is never used in anyplace but in this function, which, by the way, is just a reader function that fills user buffer, I consider that it is safe to remove this lock. However I want approval from win32k specialists. Hence I just disable the code with a define USE_WINSTA_LOCK. If this lock is really needed, please rewrite the BuildDesktopNameList function !! Otherwise remove this lock and the associated code !!
This is a blocker for the shutdown code.
svn path=/trunk/; revision=63610
- Free parameters allocated by application before anything else.
See CORE-8200 #comment committed in r63605, waiting for wine to accept it before closing.
svn path=/trunk/; revision=63605
The SCM also sets a shutdown level, lower than the default value for programs (this was cross-checked with Windows 2k3, the value chosen is for compatibility purposes).
svn path=/trunk/; revision=63604
[TASKMGR]
Set a proper shutdown level (with SetProcessShutdownParameters) so that explorer and taskmgr are terminated the very last when one shutdowns ReactOS.
See Windows Internals 4th page 286 (section "Shutdown") which gives the values (that I've cross-checked on Windows 2k3 too).
svn path=/trunk/; revision=63601
- Cleanup CSRSRV from the very last remnants of CsrEnumProcesses i.e. the old & buggy way of shutdowning process (lots of work must be done in winsrv side).
- Fixup FindProcessForShutdown (reenable commented code in it, and set a proper status error code if CsrImpersonateClient call fails).
svn path=/trunk/; revision=63600
- Disable -Oif flags for generating client/server stubs with widl, except for advapi32 which needs it
See CORE-8200 for details
svn path=/trunk/; revision=63588
MmUnmapViewOfCacheSegment expects DeleteInProgress to be FALSE and the address space to be unlocked.
Allow unmapping memory areas which belong to the cache.
svn path=/trunk/; revision=63580
- Add defines for internal flags for BasepCopyFileExW().
- Add prototype for BasepCopyFileExW().
Based on documentation by Alex.
svn path=/trunk/; revision=63578
* Consider current WorldTransform in ExtTextOutW.
* Brought to you by Manuel "Tarnyko" Bachmann. Fix improved by Timo Kreuzer and me.
CORE-8306 #resolve #comment Fixed in r63576. Thanks!
svn path=/trunk/; revision=63576