A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Alex Ionescu 1e8c8e3fe6 - Final ROSRTL removal patch. The next patch will remove the actual library and code.
- Changes:
    - CreateProcess
        * Cleanup creation of the initial thread using new utility functions and remove rosrtl
        * Almost entirely rewrote the function to support features such as:
            - SxS (locally only, patch will follow),
            - SFP (SAFER) (locally only, patch will follow),
            - DllPaths (locally only, patch will follow), 
            - Proper process environment/paramter block creation
            - Proper console handle management (needs more work in kernel32/csr),
            - Tokens/CreateProcessAsUser (locally only, patch will follow), 
            - Simpler code for path lookup, and more robust.
            - Support for "auto-correction" (see Raymond Chen's blog)
            - 16-bit/NE detection
            - A variety of creation flags are now properly supported
            - Added support for an undocumented-yet-known (see comment) shell flag
            - Alert for flags we don't support yet
            - Catch invalid flag combinations and other caller errors
            - Improve and correct path searcing to use documented behaviours
            - Created a multitude of helper functions to make the code easier to read
              and allow them to be used for other apis as time goes on.
    
    - BaseProcessStartup
        * Call NtSetThreadInformation to let the Kernel know of the Thread's Start Address.
        * Correct prototype of Thread Startup function for this case.

This fixes MANY things, some of which may not be evident, and possibly creates regressions which I have not yet seen but will try to correct. Some of these may be caused by the fact that I've seen code send CreateProcessW incorrect flags. Some things of note: DO NOT send partial names as "lpApplicationName". It's not supposed to work unless you're in the same current directory. Also, do NOT send CREATE_UNICODE_ENVIRONMENT if you don't have a unicode environement, and vice-versa. I've seen lots of code doing mistakes related to this. I hope you appreciate this patch and won't all jump on me for possbile regressions :(.

svn path=/trunk/; revision=16730
2005-07-26 04:14:10 +00:00
irc Some new features like Login, Config.h and Idle message 2005-06-03 17:28:53 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 To do once more a little piece os2ss 2005-03-16 23:51:26 +00:00
posix Refresh RC script for PSX bare sh. 2005-03-08 22:41:27 +00:00
reactos - Final ROSRTL removal patch. The next patch will remove the actual library and code. 2005-07-26 04:14:10 +00:00
rosapps set eol-style for XML files in rosapps 2005-07-24 21:44:45 +00:00
rosky Move ROSKY to a separate SVN module. 2005-06-30 12:19:21 +00:00
vms Move VMS subtree in the proper place. 2005-05-02 14:15:56 +00:00