[SETUP:REACTOS] Adapt the 1st-stage GUI setup to compile with the setuplib.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 14 Aug 2017 17:06:19 +0000 (17:06 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 28 Oct 2018 17:59:47 +0000 (18:59 +0100)
commit82117d21925e454893658d45f444843e77bdcb67
treeb0d4814b496c357f3dff00702339156e99a1de01
parent9c64b57dc9bc55cdf73db0ea2ff1ac202d7c608c
[SETUP:REACTOS] Adapt the 1st-stage GUI setup to compile with the setuplib.

svn path=/branches/setup_improvements/; revision=75544

[SETUP:REACTOS] More interfacing of the 1st-stage GUI installer with the setuplib.

- Add a ConvertNtPathToWin32Path() helper function that allows converting
  NT paths like: \Device\CdRom0\i386\txtsetup.sif file into a Win32 path
  that the Win32 versions of the SetupApi functions (e.g. SetupOpenInfFileW)
  can accept.
  Note that RtlNtPathNameToDosPathName() cannot be used here because this
  function only works for NT paths within the \DosDevices\ (or \??\) NTObj
  directory, and not in other directories.

- Use this helper function in the implementation of SetupOpenInfFileExW.
  Now the txtsetup.sif function can be loaded by setuplib *when being used*
  by the 1st-stage GUI installer!

- Remove deprecated code.

svn path=/branches/setup_improvements/; revision=75668
svn path=/branches/setup_improvements/; revision=75721
svn path=/branches/setup_improvements/; revision=75750
base/setup/reactos/CMakeLists.txt
base/setup/reactos/drivepage.c
base/setup/reactos/inffile.c [new file with mode: 0644]
base/setup/reactos/reactos.c
base/setup/reactos/reactos.h