reactos/base/setup/lib
Hermès Bélusca-Maïto 05cd77028c
[SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers
so that they wrap the needed init steps for formatting/chkdsk'ing.

These helpers now accept a PPARTENTRY, together with the usual
formatting/chkdsk parameters. The helpers now determine the actual
NT path to use, and can perform the init steps on the partition
before performing the actual operation.

In particular, FormatPartition() is now made GPT-compliant. The
partition type retrieved by FileSystemToMBRPartitionType() is now
used as a hint for choosing FAT32 over FAT12/16, and only in the
case of a MBR partition that is *NOT* a recognized OEM partition,
it is used for updating the corresponding partition type. (OEM
partitions must retain their original type.)

The OEM partition types we (and NT) can recognize are specified
e.g. in the Microsoft Open-Specification [MS-DMRP] Appendix B
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dmrp/5f5043a3-9e6d-40cc-a05b-1a4a3617df32

Introduce an IsOEMPartition() macro to help checking for these types
(its name is based on the Is***Partition() macros from ntdddisk.h,
and from a dmdskmgr.dll export of similar name).
2020-11-24 03:24:41 +01:00
..
lang [BOOTDATA][SETUPLIB] Setup the Romanian Stdandard Keyboard layout. (#861) 2018-12-08 18:53:18 +01:00
spapisup [SETUPLIB][REACTOS][USETUP] Further improve the interfacing with INF and File-Queue APIs. 2018-11-01 18:55:43 +01:00
utils [SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers 2020-11-24 03:24:41 +01:00
bootcode.c [SETUPLIB] Code re-organization in bootsup.c and fsutil.c. 2020-10-18 20:56:16 +02:00
bootcode.h [SETUPLIB] Code re-organization in bootsup.c and fsutil.c. 2020-10-18 20:56:16 +02:00
bootsup.c [USETUP][SETUPLIB] Continue hiding the FAT32 format in the format list, but take it into account anyway later on. 2020-10-20 01:19:58 +02:00
bootsup.h [USETUP][SETUPLIB] Continue hiding the FAT32 format in the format list, but take it into account anyway later on. 2020-10-20 01:19:58 +02:00
CMakeLists.txt [SETUPLIB] Code re-organization in bootsup.c and fsutil.c. 2020-10-18 20:56:16 +02:00
errorcode.h [USETUP] Localize the rest of the hardcoded error message strings 2019-08-17 21:34:39 +02:00
fsutil.c [SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers 2020-11-24 03:24:41 +01:00
fsutil.h [SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers 2020-11-24 03:24:41 +01:00
install.c [BOOTDATA][SETUPLIB][REACTOS] INF support fixes. 2018-11-06 00:04:19 +01:00
install.h [SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB. 2018-11-05 23:18:47 +01:00
mui.c [USETUP][BOOTDATA] Include optional CJK standard fonts (#2336) 2020-02-14 10:47:20 +09:00
mui.h [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
muifonts.h Revert "[FONTS] Add Selawik as a substitution for Segoe UI" CORE-17122 (#2921) 2020-06-14 19:09:41 +09:00
muilanguages.h [SETUPLIB][USETUP][INPUT.CPL] MUI integration with setuplib. 2018-10-28 00:13:07 +02:00
precomp.h [SETUPLIB] Move the files that implement utility functions into their own subdirectory. The files remaining in the main directory implement setup procedures that use the utility functions. 2018-10-27 22:09:34 +02:00
registry.c [SETUP] Silence some noisy DPRINT1 2019-01-01 10:08:02 +01:00
registry.h [SETUPLIB][USETUP] Move the registry-update procedure into setuplib. 2018-10-28 14:42:00 +01:00
settings.c [SETUP] Add support for archtitcure specific inf sections and use it for x64 computer type 2019-09-08 10:42:16 +02:00
settings.h [SETUPLIB][USETUP] Don't store UI-related display strings in GENERIC_LIST_ENTRY-ies, + other code adaptations. 2018-10-28 01:32:15 +02:00
setuplib.c [USETUP][BOOTDATA] Include optional CJK standard fonts (#2336) 2020-02-14 10:47:20 +09:00
setuplib.h [SETUPLIB] Code re-organization in bootsup.c and fsutil.c. 2020-10-18 20:56:16 +02:00
substset.h [USETUP][BOOTDATA] Include optional CJK standard fonts (#2336) 2020-02-14 10:47:20 +09:00