reactos/base/setup/lib
Hermès Bélusca-Maïto b53b7b11e3
[SETUPLIB][USETUP] Refactor the DoesFileExist() function so that it now looks closer to DoesPathExist() and use it almost everywhere.
- Adjust also its callers, adjust OpenAndMapFile() parameters.
- Related to that, simplify IsValidNTOSInstallation() parameters & introduce a IsValidNTOSInstallation_UStr()
  that does the same, but takes a UNICODE_STRING instead.
- Simplify CheckForValidPEAndVendor().

Now only exactly 5 calls use the "old" 'DoesFileExist' syntax, using a temporarily auxiliary function "DoesFileExist_2"...

svn path=/branches/setup_improvements/; revision=74641
2018-06-03 22:12:43 +02:00
..
arcname.c [SETUPLIB][USETUP] Transform the existing ConcatPaths() function into a variadic function, and derive a CombinePaths() from it (plus their equivalent taking va_list). 2018-06-03 22:12:43 +02:00
arcname.h [SETUPLIB] Add an ARC path to (and from) NT path resolver. 2018-05-31 18:00:59 +02:00
arcname_tests.c [SETUPLIB] Add an ARC path to (and from) NT path resolver. 2018-05-31 18:00:59 +02:00
CMakeLists.txt [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
errorcode.h [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
filesup.c [SETUPLIB][USETUP] Refactor the DoesFileExist() function so that it now looks closer to DoesPathExist() and use it almost everywhere. 2018-06-03 22:12:43 +02:00
filesup.h [SETUPLIB][USETUP] Refactor the DoesFileExist() function so that it now looks closer to DoesPathExist() and use it almost everywhere. 2018-06-03 22:12:43 +02:00
fsutil.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
fsutil.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
genlist.c [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
genlist.h [SETUP] Remove myself from the 1st stage setup code 2018-05-27 21:33:07 +02:00
inicache.c [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
inicache.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
linklist.h [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00
ntverrsrc.c [USETUP] Some fixes/improvements suggested by Thomas (1/2). 2018-05-31 18:01:00 +02:00
ntverrsrc.h [USETUP][SETUPLIB] Move all the code that retrieves the version resources from PE executable, out of osdetect.c, and place it in its own module inside the SetupLib. 2018-05-31 18:00:58 +02:00
osdetect.c [SETUPLIB][USETUP] Refactor the DoesFileExist() function so that it now looks closer to DoesPathExist() and use it almost everywhere. 2018-06-03 22:12:43 +02:00
osdetect.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
partlist.c [USETUP] Some fixes/improvements suggested by Thomas (2/2). 2018-05-31 19:54:09 +02:00
partlist.h [USETUP] PartList module: Add a couple of disk/partition getters: GetDiskByBiosNumber, GetDiskByNumber, GetDiskBySCSI, GetDiskBySignature, GetPartition, GetDiskOrPartition. 2018-05-31 18:00:58 +02:00
precomp.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
setuplib.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00