[USETUP] Add & modify some file utility functions that are going to be used next.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 13 May 2017 16:13:49 +0000 (16:13 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 May 2018 17:09:38 +0000 (19:09 +0200)
commit60532e9c4394b0ee7860a1fda2f6cc2435be610b
tree29a0b50082d90e962a2aa4521168eff1c152591f
parent14284ddc618661fc8c8e64acde2238ca3dfd7897
[USETUP] Add & modify some file utility functions that are going to be used next.

- ConcatPaths that concatenates paths (or a path and a file name);
- OpenAndMapFile (resp. UnMapFile), whose purpose is to open a file and map it in memory (resp. unmap it from memory).
- Add extra optional parameters to DoesPathExist and DoesFileExist: an optional "RootDirectory" handle and, for DoesFileExist only, an optional PathName.
- Close the opened file handles only on success.

svn path=/branches/setup_improvements/; revision=74528
svn path=/branches/setup_improvements/; revision=74538
svn path=/branches/setup_improvements/; revision=74549
base/setup/usetup/bootsup.c
base/setup/usetup/filesup.c
base/setup/usetup/filesup.h
base/setup/usetup/usetup.c
base/setup/usetup/usetup.h