C
typedef struct { SWORD BootSec_JumpCmd; BYTE BootSec_OEMName[8]; WORD BootSec_BPS; BYTE BootSec_SPC; WORD BootSec_ResrvSec; BYTE BootSec_FATCount; WORD BootSec_RootDirEnts; WORD BootSec_TotSec16; BYTE BootSec_MDesc; WORD BootSec_SPF; WORD BootSec_SPT; WORD BootSec_HeadCnt; DWORD BootSec_HiddenSecCnt; DWORD BootSec_TotSec32; BYTE BootSec_DriveNum; BYTE BootSec_Reserved; BYTE BootSec_BootSig; BYTE BootSec_VolID[4]; BYTE BootSec_VolLabel[11]; BYTE BootSec_FSType[8]; } _BPB_FAT16;
Description
The _BPB_FAT16 structure provides a layout of the "bios parameter block" in the boot sector of a FAT16 partition.
Members
Members |
Description |
SWORD BootSec_JumpCmd; |
Jump Command |
BYTE BootSec_OEMName[8]; |
OEM name |
WORD BootSec_BPS; |
Number of bytes per sector |
BYTE BootSec_SPC; |
Number of sectors per cluster |
WORD BootSec_ResrvSec; |
Number of reserved sectors at the beginning of the partition |
BYTE BootSec_FATCount; |
Number of FATs on the partition |
WORD BootSec_RootDirEnts; |
Number of root directory entries |
WORD BootSec_TotSec16; |
Total number of sectors |
BYTE BootSec_MDesc; |
Media descriptor |
WORD BootSec_SPF; |
Number of sectors per FAT |
WORD BootSec_SPT; |
Number of sectors per track |
WORD BootSec_HeadCnt; |
Number of heads |
DWORD BootSec_HiddenSecCnt; |
Number of hidden sectors |
DWORD BootSec_TotSec32; |
Total sector count (32 bits) |
BYTE BootSec_DriveNum; |
Drive number |
BYTE BootSec_Reserved; |
Reserved space |
BYTE BootSec_BootSig; |
Boot signature - equal to 0x29 |
BYTE BootSec_VolID[4]; |
Volume ID |
BYTE BootSec_VolLabel[11]; |
Volume Label |
BYTE BootSec_FSType[8]; |
File system type in ASCII. Not used for determination |