86 #define PARTITION_ENTRY_UNUSED 0x00 // Entry unused 87 #define PARTITION_FAT_12 0x01 // 12-bit FAT entries 88 #define PARTITION_XENIX_1 0x02 // Xenix 89 #define PARTITION_XENIX_2 0x03 // Xenix 90 #define PARTITION_FAT_16 0x04 // 16-bit FAT entries 91 #define PARTITION_EXTENDED 0x05 // Extended partition entry 92 #define PARTITION_HUGE 0x06 // Huge partition MS-DOS V4 93 #define PARTITION_IFS 0x07 // IFS Partition 94 #define PARTITION_OS2BOOTMGR 0x0A // OS/2 Boot Manager/OPUS/Coherent swap 95 #define PARTITION_FAT32 0x0B // FAT32 96 #define PARTITION_FAT32_XINT13 0x0C // FAT32 using extended int13 services 97 #define PARTITION_XINT13 0x0E // Win95 partition using extended int13 services 98 #define PARTITION_XINT13_EXTENDED 0x0F // Same as type 5 but uses extended int13 services 99 #define PARTITION_NTFS 0x17 // NTFS 100 #define PARTITION_PREP 0x41 // PowerPC Reference Platform (PReP) Boot Partition 101 #define PARTITION_LDM 0x42 // Logical Disk Manager partition 102 #define PARTITION_UNIX 0x63 // Unix 103 #define VALID_NTFT 0xC0 // NTFT uses high order bits 104 #define PARTITION_NTFT 0x80 // NTFT partition 105 #define PARTITION_GPT 0xEE // GPT protective partition 107 #define PARTITION_OLD_LINUX 0x43 108 #define PARTITION_LINUX 0x83 116 #if defined(__i386__) || defined(_M_AMD64) 118 #endif // defined __i386__ || defined(_M_AMD64)
USHORT MasterBootRecordMagic
struct _MASTER_BOOT_RECORD MASTER_BOOT_RECORD
ULONG PartitionSectorCount
_In_ ULONG _In_ ULONG PartitionNumber
ULONG LoadBootDeviceDriver(VOID)
UCHAR MasterBootRecordCodeAndData[0x1b8]
VOID DiskDetectPartitionType(IN UCHAR DriveNumber)
ULONG SectorCountBeforePartition
struct _GEOMETRY * PGEOMETRY
VOID __cdecl DiskStopFloppyMotor(VOID)
CCHAR FrLdrBootPath[MAX_PATH]
PARTITION_TABLE_ENTRY PartitionTable[4]
SIZE_T DiskReadBufferSize
struct _EXTENDED_GEOMETRY EXTENDED_GEOMETRY
struct _PARTITION_TABLE_ENTRY * PPARTITION_TABLE_ENTRY
struct _GEOMETRY GEOMETRY
BOOLEAN DiskGetPartitionEntry(IN UCHAR DriveNumber, IN ULONG PartitionNumber, OUT PPARTITION_TABLE_ENTRY PartitionTableEntry)
struct _MASTER_BOOT_RECORD * PMASTER_BOOT_RECORD
BOOLEAN DiskGetBootPartitionEntry(IN UCHAR DriveNumber, OUT PPARTITION_TABLE_ENTRY PartitionTableEntry, OUT PULONG BootPartition)
struct _EXTENDED_GEOMETRY * PEXTENDED_GEOMETRY
struct _PARTITION_TABLE_ENTRY PARTITION_TABLE_ENTRY