BOOLEAN BootIndicator;
UCHAR PartitionType;
- ULONG HiddenSectors;
ULONG OnDiskPartitionNumber; /* Enumerated partition number (primary partitions first, excluding the extended partition container, then the logical partitions) */
ULONG PartitionNumber; /* Current partition number, only valid for the currently running NTOS instance */
ULONG PartitionIndex; /* Index in the LayoutBuffer->PartitionEntry[] cached array of the corresponding DiskEntry */
IsSuperFloppy(
IN PDISKENTRY DiskEntry);
+BOOLEAN
+IsPartitionActive(
+ IN PPARTENTRY PartEntry);
PPARTLIST
CreatePartitionList(VOID);
BOOLEAN
CreatePrimaryPartition(
IN PPARTLIST List,
- IN PPARTENTRY SelectedEntry,
+ IN OUT PPARTENTRY PartEntry,
IN ULONGLONG SectorCount,
IN BOOLEAN AutoCreate);
BOOLEAN
CreateExtendedPartition(
IN PPARTLIST List,
- IN PPARTENTRY SelectedEntry,
+ IN OUT PPARTENTRY PartEntry,
IN ULONGLONG SectorCount);
BOOLEAN
CreateLogicalPartition(
IN PPARTLIST List,
- IN PPARTENTRY SelectedEntry,
+ IN OUT PPARTENTRY PartEntry,
IN ULONGLONG SectorCount,
IN BOOLEAN AutoCreate);
+NTSTATUS
+DismountVolume(
+ IN PPARTENTRY PartEntry);
+
BOOLEAN
DeletePartition(
IN PPARTLIST List,