reactos/base/setup/lib
Hermès Bélusca-Maïto 27603a101c
[SETUPLIB] Introduce a lot of (Work in progress) functions to manipulate boot entries from different boot "stores".
This concerns so far, only freeldr.ini and to an extent, boot.ini, but planning in the future to add support for registry-oriented BCD
as well as possibly direct (u)EFI entries, using the corresponding NT functions.
This code is so far only used in osdetect.c, but will be soon used by usetup's bootsup.c (note that some helper functions: CreateCommonFreeLdrSections()
and (Un)protectBootIni() are already taken from it and used in bldrsup.c).
- In EnumerateNTOSBootEntries(), continue enumerating the boot entries until the user callback returns an status code that is not successful.
- Remove some old code from osdetect.c; use directly BootEntry->FriendlyName when building the display names of the available installations, since now
  BootEntry->FriendlyName is a PCWSTR (and not a UNICODE_STRING anymore).

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

[SETUPLIB] Make the NTOS_BOOT_ENTRY structure more generic, so that it can wrap around either actual NTOS boot entry options, or FreeLdr-like boot-sector options.

In a sense, the NTOS_BOOT_ENTRY structure now looks much more like the NT structure "BOOT_ENTRY".
- Adapt the code in bldrsup.c to these modifications, and re-enable FreeLdr-like boot-sector-file support code that was commented out.
More code cleanup will follow later.

svn path=/branches/setup_improvements/; revision=74952
2018-10-14 23:27:17 +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
bldrsup.c [SETUPLIB] Introduce a lot of (Work in progress) functions to manipulate boot entries from different boot "stores". 2018-10-14 23:27:17 +02:00
bldrsup.h [SETUPLIB] Introduce a lot of (Work in progress) functions to manipulate boot entries from different boot "stores". 2018-10-14 23:27:17 +02:00
CMakeLists.txt [SETUPLIB] Add a new module "bldrsup.c" (WIP) where I place all the NT boot loaders (i.e. ntldr, freeldr, and possibly bootmgr in the future) management functions. 2018-06-03 22:12:43 +02:00
errorcode.h
filesup.c [SETUPLIB] Silence annoying DPRINT1s. 2018-06-03 23:23:24 +02:00
filesup.h [SETUPLIB] Additions for filesup.c and inicache.c. 2018-06-03 22:12:44 +02:00
fsutil.c [USETUP][SETUPLIB] Added support for formatting partition in BTRFS and installing ReactOS on it. 2018-08-20 08:26:56 +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] Additions for filesup.c and inicache.c. 2018-06-03 22:12:44 +02:00
inicache.h [SETUPLIB] Additions for filesup.c and inicache.c. 2018-06-03 22:12:44 +02:00
linklist.h
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] Introduce a lot of (Work in progress) functions to manipulate boot entries from different boot "stores". 2018-10-14 23:27:17 +02:00
osdetect.h [SETUPLIB][USETUP] Move some code to the SetupLib. 2018-06-03 22:12:35 +02:00
partlist.c [SETUPLIB][USETUP] Diverse additions. 2018-06-03 22:12:45 +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] Diverse additions. 2018-06-03 22:12:45 +02:00