A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Aleksey Bragin 629be1865d [KERNEL32]
- Rewrite large part of ldr.c code, including FreeLibrary, FreeLibraryAndExitThread, GetModuleFileNameA/W, GetModuleHandleA/W, ExA/W. Now they properly validate parameters, common code for getting module handles is factored into a standalone function which is reused for all 4 APIs instead of duplicating almost the same code four times. GetModuleFileNameA became a typical A->W wrapper around GetModuleFileNameW so duplication is also removed there.
- Getting module handle also became a correct implementation because now it takes process's dll path into account instead of always assuming a "default" one (which is incompatible with a new ntdll loader).
- Fixed a typo in BasepGetProcessPath which led to incorrect value being returned. Downgrade two debugprints.

svn path=/trunk/; revision=51238
2011-04-03 09:42:08 +00:00
reactos [KERNEL32] 2011-04-03 09:42:08 +00:00
rosapps [SYSTEMINFO] 2011-04-02 17:51:09 +00:00
rostests Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct. 2011-03-26 20:07:09 +00:00
wallpaper Rename the wallpaper to conform with ISO 9660:1988 and make cdmake happy... 2009-02-03 13:26:30 +00:00