mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:51:37 +00:00
[SETUPLIB][REACTOS][USETUP] Finish unification of MBR extended and primary/logical partitions
Addendum to commmit 99f0937fd
.
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
89a3b8fa8a
commit
0ca4e6dcfa
4 changed files with 44 additions and 56 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