mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:53:37 +00:00
[SETUPLIB][USETUP] Remove CurrentDisk/Partition from the partlist lib code, and move these into the UI code.
- Add also some validation ASSERTs and simplify the code here and there. - The installation partition is called "InstallPartition", while the global "CurrentPartition" is the disk region currently selected in the partition UI list, on which prtitioning operations are effectued. - Extend CheckActiveSystemPartition() to use an optional alternative disk or partition in case the actual system partition (present in the first disk) cannot be used, e.g. because we don't support writes on it.
This commit is contained in:
parent
0d9ebb67ce
commit
84f3e2df5d
8 changed files with 383 additions and 356 deletions
|
@ -624,11 +624,11 @@ NTSTATUS
|
|||
InitDestinationPaths(
|
||||
IN OUT PUSETUP_DATA pSetupData,
|
||||
IN PCWSTR InstallationDir,
|
||||
IN PDISKENTRY DiskEntry, // FIXME: HACK!
|
||||
IN PPARTENTRY PartEntry) // FIXME: HACK!
|
||||
{
|
||||
WCHAR PathBuffer[MAX_PATH];
|
||||
NTSTATUS Status;
|
||||
PDISKENTRY DiskEntry = PartEntry->DiskEntry;
|
||||
WCHAR PathBuffer[MAX_PATH];
|
||||
|
||||
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue