[SETUP:REACTOS] Add partitioning and formatting support (#7159)

CORE-13525

- Newly-created partitions and unpartitioned space ar reinserted
  or updated in correct order in the tree-list. Volume-creation
  information data associated with the tree items is persisted
  across operations.

- Reliably delete data associated to tree-list items via the
  TVN_DELETEITEM notification.
  This allows simplifying the cleanup function; keeping simple
  the code that deletes items when deleting partitions, etc.

- Make the PrintPartitionData() function call itself recursively on
  extended partitions to display the sub-list of logical partitions.

- Handle the new partition size in MB the same way as in USETUP.

- Allow existing partitions/volumes to be re-formatted, using
  common code with the partition creation dialog.

- Allow selecting unpartitioned space or non-formatted partitions
  for installing ReactOS: unused space will automatically be
  partitioned and non-formatted partitions formatted (the user
  is prompted for choosing the file system).

- Correctly zero the progress-bar position when starting file copy.
- Add missing file copy error handler in FileCopyCallback:
  just copying what USETUP does.
This commit is contained in:
Hermès Bélusca-Maïto 2019-03-07 02:30:08 +01:00
parent 9b2b75df2b
commit 1573461cec
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
38 changed files with 4677 additions and 965 deletions

View file

@ -2720,7 +2720,6 @@ UpdateDiskLayout(
*
* @return The adjacent unpartitioned region, if it exists, or NULL.
**/
static
PPARTENTRY
GetAdjUnpartitionedEntry(
_In_ PPARTENTRY PartEntry,