A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Colin Finck 085f7002ae Add a "shutdown" utility written by Frode Lillerud (frode AT enkelt DOT no), which is more compatible with the syntax of the Windows "shutdown" utility
I applied the second patch of bug #2379 and made the following changes to it:

- Removed the LocalFree line
  LocalFree can only be used if the memory is allocated with LocalAlloc. The memory doesn't need to be freed explicitly here.
- Removed the "uncertain if this is needed. Do boolean struct members default to TRUE?" comment
  Independent of the value, this setting is needed here.
- Removed a wrong 'exitOpts.shouldExit = TRUE;' in line 101.
  shouldExit was already set before and resetting it here to TRUE would also lead to TRUE if the user only sets opts.force, but not any of the other shutdown options.
- Use a consistent indentation and coding style
- Modified the Usage text a little bit, so all lines fit into console lines (max. 80 characters)
See issue #2379 for more details.

svn path=/trunk/; revision=27674
2007-07-15 11:15:27 +00:00
irc
reactos Add a "shutdown" utility written by Frode Lillerud (frode AT enkelt DOT no), which is more compatible with the syntax of the Windows "shutdown" utility 2007-07-15 11:15:27 +00:00
rosapps Updated XML file by Coviti (coviti AT gmail DOT com) 2007-07-11 14:34:33 +00:00
rostests Add lots of test cases for the CreateSurface API. See caps_tests.h for more info. 2007-06-15 14:46:03 +00:00
wallpaper Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044) 2007-06-21 15:23:49 +00:00