reactos/base/setup
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
..
lib [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
reactos [TRANSLATION] Update Romanian translation (#851) 2018-09-14 11:04:36 +02:00
setup [SYSSETUP] Don't load ISOLATIONAWARE_MANIFEST_RESOURCE_ID manually 2018-02-07 01:15:49 +02:00
usetup [USETUP] Diverse fixes for path handling. 2018-10-14 23:22:55 +02:00
welcome [WELCOME] Minor usage improvements. 2018-10-08 21:00:14 +02:00
CMakeLists.txt [SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544 2018-05-27 20:18:50 +02:00