C
typedef struct { union { _BPB_FAT32 FAT_32; _BPB_FAT16 FAT_16; _BPB_FAT12 FAT_12; } FAT; BYTE Reserved[MEDIA_SECTOR_SIZE-sizeof(_BPB_FAT32)-2]; BYTE Signature0; BYTE Signature1; } _BootSec;
Description
The _BootSec structure has the same form as a boot sector. When the boot sector is loaded from the device, it will be cast as a _BootSec structure so the boot sector elements can be accessed.
Members
Members |
Description |
union { _BPB_FAT32 FAT_32; _BPB_FAT16 FAT_16; _BPB_FAT12 FAT_12; } FAT; |
A union of different bios parameter blocks |
BYTE Reserved[MEDIA_SECTOR_SIZE-sizeof(_BPB_FAT32)-2]; |
Reserved space |
BYTE Signature0; |
Boot sector signature code - equal to 0x55 |
BYTE Signature1; |
Boot sector signature code - equal to 0xAA |