reactos/base/setup/lib/bootsup.h
Hermès Bélusca-Maïto b3cd576737
[SETUPLIB][USETUP] Introduce a bootloader installation helper (#7310)
CORE-13525

This is done so that the caller doesn't need to know details
about particular architecture specifics, like VBR, MBR etc.

Extra checks and specific handling is also performed for supporting
bootloader installation on removable media:
- verify whether the media is a floppy or some other removable media,
- depending on which, a suitable file system is chosen,
- and if the media is not a floppy, do the supplemental partition
  verifications to determine whether the media is a "super-floppy"
  (in the partitioning sense).
2024-10-20 16:51:25 +02:00

25 lines
737 B
C

/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Bootloader support functions
* COPYRIGHT: Copyright 2017-2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
NTSTATUS
InstallBootManagerAndBootEntries(
_In_ ARCHITECTURE_TYPE ArchType,
_In_ PCUNICODE_STRING SystemRootPath,
_In_ PCUNICODE_STRING SourceRootPath,
_In_ PCUNICODE_STRING DestinationArcPath,
_In_ ULONG_PTR Options);
NTSTATUS
InstallBootcodeToRemovable(
_In_ ARCHITECTURE_TYPE ArchType,
_In_ PCUNICODE_STRING RemovableRootPath,
_In_ PCUNICODE_STRING SourceRootPath,
_In_ PCUNICODE_STRING DestinationArcPath);
/* EOF */