86#define PARTITION_ENTRY_UNUSED 0x00
87#define PARTITION_FAT_12 0x01
88#define PARTITION_XENIX_1 0x02
89#define PARTITION_XENIX_2 0x03
90#define PARTITION_FAT_16 0x04
91#define PARTITION_EXTENDED 0x05
92#define PARTITION_HUGE 0x06
93#define PARTITION_IFS 0x07
94#define PARTITION_OS2BOOTMGR 0x0A
95#define PARTITION_FAT32 0x0B
96#define PARTITION_FAT32_XINT13 0x0C
97#define PARTITION_XINT13 0x0E
98#define PARTITION_XINT13_EXTENDED 0x0F
99#define PARTITION_NTFS 0x17
100#define PARTITION_PREP 0x41
101#define PARTITION_LDM 0x42
102#define PARTITION_UNIX 0x63
103#define VALID_NTFT 0xC0
104#define PARTITION_NTFT 0x80
105#define PARTITION_GPT 0xEE
107#define PARTITION_OLD_LINUX 0x43
108#define PARTITION_LINUX 0x83
116#if defined(__i386__) || defined(_M_AMD64)
struct _PARTITION_TABLE_ENTRY PARTITION_TABLE_ENTRY
struct _EXTENDED_GEOMETRY EXTENDED_GEOMETRY
struct _EXTENDED_GEOMETRY * PEXTENDED_GEOMETRY
CCHAR FrLdrBootPath[MAX_PATH]
struct _PARTITION_TABLE_ENTRY * PPARTITION_TABLE_ENTRY
struct _MASTER_BOOT_RECORD * PMASTER_BOOT_RECORD
ULONG LoadBootDeviceDriver(VOID)
BOOLEAN DiskGetPartitionEntry(IN UCHAR DriveNumber, IN ULONG PartitionNumber, OUT PPARTITION_TABLE_ENTRY PartitionTableEntry)
struct _MASTER_BOOT_RECORD MASTER_BOOT_RECORD
struct _GEOMETRY * PGEOMETRY
struct _GEOMETRY GEOMETRY
BOOLEAN DiskGetBootPartitionEntry(IN UCHAR DriveNumber, OUT PPARTITION_TABLE_ENTRY PartitionTableEntry, OUT PULONG BootPartition)
SIZE_T DiskReadBufferSize
VOID DiskDetectPartitionType(IN UCHAR DriveNumber)
VOID __cdecl DiskStopFloppyMotor(VOID)
UCHAR MasterBootRecordCodeAndData[0x1b8]
USHORT MasterBootRecordMagic
PARTITION_TABLE_ENTRY PartitionTable[4]
ULONG SectorCountBeforePartition
ULONG PartitionSectorCount
_In_ ULONG _In_ ULONG PartitionNumber