177 #define PARTITION_TBL_SIZE 4
179 #include <pshpack1.h>
292 OUT PDISKENTRY *pDiskEntry,
293 OUT PPARTENTRY *pPartEntry);
298 OUT PDISKENTRY *pDiskEntry,
299 OUT PPARTENTRY *pPartEntry);
LIST_ENTRY PrimaryPartListHead
VOID CreateExtendedPartition(PPARTLIST List, ULONGLONG SectorCount)
DWORD SelectPartition(PPARTLIST List, ULONG DiskNumber, ULONG PartitionNumber)
VOID GetPartTypeStringFromPartitionType(UCHAR partitionType, PCHAR strPartType, DWORD cchPartType)
ULARGE_INTEGER StartSector
BOOL GetNextUncheckedPartition(IN PPARTLIST List, OUT PDISKENTRY *pDiskEntry, OUT PPARTENTRY *pPartEntry)
enum _FORMATSTATE * PFORMATSTATE
LIST_ENTRY BiosDiskListHead
BOOLEAN WritePartitionsToDisk(PPARTLIST List)
ULONG PrimaryPartitionCreationChecks(IN PPARTLIST List)
struct _DISKENTRY * PDISKENTRY
struct _PARTENTRY * PPARTENTRY
unsigned char EndingSector
ULARGE_INTEGER SectorCount
enum _FORMATSTATE FORMATSTATE
struct _PARTLIST * PPARTLIST
struct _BIOSDISKENTRY * PBIOSDISKENTRY
enum _FORMATMACHINESTATE * PFORMATMACHINESTATE
_In_ ULONG _In_ ULONG PartitionNumber
static PFILE_SYSTEM_LIST FileSystemList
unsigned char EndingCylinder
struct _FILE_SYSTEM_ITEM * FileSystem
PPARTENTRY SystemPartition
BOOL GetNextUnformattedPartition(IN PPARTLIST List, OUT PDISKENTRY *pDiskEntry, OUT PPARTENTRY *pPartEntry)
PPARTENTRY ExtendedPartition
PDISKENTRY OriginalSystemDisk
struct _PARTITION_SECTOR * PPARTITION_SECTOR
ULONG LogicalPartitionCreationChecks(IN PPARTLIST List)
VOID DrawPartitionList(PPARTLIST List)
unsigned int StartingBlock
BOOL ScrollUpPartitionList(PPARTLIST List)
ULARGE_INTEGER SectorCount
struct _PARTITION PARTITION
struct _PARTENTRY PARTENTRY
VOID CreateLogicalPartition(PPARTLIST List, ULONGLONG SectorCount, BOOLEAN AutoCreate)
enum _FORMATMACHINESTATE FORMATMACHINESTATE
VOID CreatePrimaryPartition(PPARTLIST List, ULONGLONG SectorCount, BOOLEAN AutoCreate)
struct _DISKENTRY * DiskEntry
UNICODE_STRING DriverName
unsigned char StartingCylinder
struct _PARTITION * PPARTITION
CM_DISK_GEOMETRY_DEVICE_DATA DiskGeometry
FORMATMACHINESTATE FormatState
BOOL SetMountedDeviceValues(PPARTLIST List)
unsigned char PartitionType
VOID CheckActiveSystemPartition(IN PPARTLIST List, IN PFILE_SYSTEM_LIST FileSystemList)
struct _BIOSDISKENTRY BIOSDISKENTRY
struct BIOS_DISK * PBIOS_DISK
BOOL ScrollDownPartitionList(PPARTLIST List)
PPARTENTRY OriginalSystemPartition
static LPHIST_ENTRY Bottom
unsigned char StartingHead
PPARTLIST CreatePartitionList(SHORT Left, SHORT Top, SHORT Right, SHORT Bottom)
PARTITION Partition[PARTITION_TBL_SIZE]
PPARTENTRY CurrentPartition
VOID DestroyPartitionList(PPARTLIST List)
struct _PARTLIST PARTLIST
LIST_ENTRY LogicalPartListHead
struct _DISKENTRY DISKENTRY
ULONG ExtendedPartitionCreationChecks(IN PPARTLIST List)
CM_INT13_DRIVE_PARAMETER Int13DiskData
unsigned char StartingSector
VOID DeleteCurrentPartition(PPARTLIST List)
PDRIVE_LAYOUT_INFORMATION LayoutBuffer
struct _PARTITION_SECTOR PARTITION_SECTOR
#define PARTITION_TBL_SIZE