reactos/base/setup
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
..
lib [SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers 2020-11-24 03:24:41 +01:00
reactos [SETUP][MMSYS][SHELL32] Adding missing French translation (and update existing ones) (#3232) 2020-09-25 01:39:31 +02:00
setup [SETUP] Don't free a DLL that is still in use by a different thread 2020-01-03 11:32:07 +01:00
usetup [SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers 2020-11-24 03:24:41 +01:00
welcome [TRANSLATION] Chinese Traditional translation for "Problem with Shortcut" dialog and improvements (#3079) 2020-08-23 14:28:55 +02:00
CMakeLists.txt [REACTOS] Don't include another module's PCH aka fix build. 2018-11-02 11:14:09 +01:00