A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Hermès Bélusca-Maïto c268c87586 [KERNEL32]
- Add brackets around "case XXX:" so that I'm able to (un)fold regions of code when debugging and reading.
- Temporarily skip AppCompat functionality added by Alex, in order to "fix" (read: hack-fix) launch of .bat/.cmd files. Indeed, when .bat/.cmd files get started with the CreateProcess function, a call to NtCreateSection fails with status STATUS_INVALID_IMAGE_NOT_MZ, as expected (line 2952). But the new AppCompat code (lines 3028 and 3031-3033 and following, and 3114), executed whenever the status code from NtCreateSection is STATUS_SUCCESS or STATUS_INVALID_IMAGE_NOT_MZ or something else, overwrites the status code by other values, so that, after we return to the main code path (lines 3174 and following), the status code isn't STATUS_INVALID_IMAGE_NOT_MZ anymore but STATUS_SUCCESS or whatever, and then, we fail to run the .bat/.cmd file (that should be done at lines 3314-3316 and following).
To Alex_Ionescu: Have a look at this and fix it properly!!

svn path=/trunk/; revision=59855
2013-08-28 13:23:09 +00:00
reactos [KERNEL32] 2013-08-28 13:23:09 +00:00
rosapps [CTM] 2013-08-20 11:51:05 +00:00
rostests [COM_APITEST] 2013-08-27 19:16:41 +00:00
wallpaper - Add CMakeLists for wallpaper 2012-02-05 13:43:04 +00:00