mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:33:04 +00:00
[SETUPLIB][REACTOS][USETUP] Finish unification of MBR extended and primary/logical partitions
Fixes previous attempt at commit0ca4e6dcf
, which was reverted by commitbbdcc14b1
because the partitioning checks mistook unpartitioned disks as GPT. Addendum to commit99f0937fd
. The partition-creation checks are unified for these partitions into one single function. To prepare for GPT support, the specifics are put into a separate MBRPartitionCreateChecks() helper, called for MBR disks by the upper-level function. GPT disks will have a similar helper in the future.
This commit is contained in:
parent
69bf140506
commit
4aee0280f9
4 changed files with 50 additions and 57 deletions
|
@ -338,12 +338,10 @@ GetAdjUnpartitionedEntry(
|
|||
_In_ BOOLEAN Direction);
|
||||
|
||||
ERROR_NUMBER
|
||||
PartitionCreationChecks(
|
||||
_In_ PPARTENTRY PartEntry);
|
||||
|
||||
ERROR_NUMBER
|
||||
ExtendedPartitionCreationChecks(
|
||||
_In_ PPARTENTRY PartEntry);
|
||||
PartitionCreateChecks(
|
||||
_In_ PPARTENTRY PartEntry,
|
||||
_In_opt_ ULONGLONG SizeBytes,
|
||||
_In_opt_ ULONG_PTR PartitionInfo);
|
||||
|
||||
BOOLEAN
|
||||
CreatePartition(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue