Completely remove the special blue "setup-ui" appearing when starting the bootcd, in this way revert a part of r57842 and r57843.
Requested by some people. Now we keep the NTLDR-like boot ui.
svn path=/trunk/; revision=57933
Start rewrite sal.h
This will drop support for WDK's prefast, since it's impossible to maintain both sal version 1 and 2 and the old stuff is quite unreliable anyway. Only MSVC 11+ analyze with attributes for SAL will work.
abragin: "\o/ for throwing away some legacy" ;-)
svn path=/trunk/; revision=57932
Fix BSOD when starting ReactOS in Safe Mode :
NEVER dereference a NULL pointer in a DPRINT or you are dead !! (here, the possible NULL pointer is GetW32ProcessInfo()->prpwinsta).
More precisely, you obtain:
<NTOSKRNL.EXE:112296 (ReactOS/ntoskrnl/ke/i386/traphdlr.c:1246 (@KiTrap0EHandler@4))>
<NTOSKRNL.EXE:110154 (ReactOS/ntoskrnl/ke/i386/trap.s:0 (_KiTrap0E))>
<NTOSKRNL.EXE:142926 (ReactOS/lib/sdk/crt/printf/streamout.c:644 (streamout))>
<NTOSKRNL.EXE:140631 (ReactOS/lib/sdk/crt/printf/_sxprintf.c:61 (_vsnprintf))>
<NTOSKRNL.EXE:12736a (ReactOS/lib/rtl/debug.c:85 (vDbgPrintExWithPrefixInternal@24))>
<NTOSKRNL.EXE:12751c (ReactOS/lib/rtl/debug.c:209 (DbgPrint))>
<win32k.sys:55034 (ReactOS/win32ss/user/ntuser/sysparams.c:451 (SpiGet))>
<win32k.sys:56bc7 (ReactOS/win32ss/user/ntuser/sysparams.c:963 (@UserSystemParametersInfo@16)
svn path=/trunk/; revision=57923
Improve functionnality of the shutdown utility :
* Added extra arguments based upon Windows 7.
* Added options to CommandLineOptions function.
* Simplify the PrintResourceString() function.
* Removed PrintUsage() since PrintResourceString() does a more flexible job at printing strings out.
* Added clear error messages when there is a problem. This makes it a bit easier to determine if there is a problem.
* Convert all the C++ comments to C.
* Since each version of Windows has a different upper limit for the length of the comment, a work around solution is used that first checks the length of the comment based upon the version of Windows that the user is currently using.
* Added support for hibernation mode, but the function SetSuspendState() is only a stub right now.
* In cases where the shutdown/restart operation is done remotely, now the proper permission is granted if the user has the proper permission.
* Added the REASON structure, which contains all the reason code combinations required for giving the proper reason code to the computer.
* Added bare bones basic support for the GUI option (/i). However, until the required features are added to ReactOS, the GUI won't do anything.
* Convert the program to full UNICODE support.
CORE-6613 #resolve #comment Committed in r57916. Thanks :)
svn path=/trunk/; revision=57916
- Use a list of possible operating system method loading to load ReactOS / ROS-Setup / Windows / Linux or booting from a disk / partition ..., instead of using a (huge) if () else if () ... instruction.
- Modify the corresponding functions to take into account for this new functionality.
- Allow having a live + boot cd if needed, in a elegant way.
svn path=/trunk/; revision=57899