BIOSPARAMETERBLOCK: Difference between revisions
Appearance
No edit summary |
m Ak120 moved page OS2 API:DataType:BIOSPARAMETERBLOCK to BIOSPARAMETERBLOCK |
(No difference)
| |
Revision as of 22:20, 17 October 2016
BIOSPARAMETERBLOCK
BIOS Parameter Block
Type
USHORT usBytesPerSector; BYTE bSectorsPerCluster; USHORT usReservedSectors; BYTE cFATs; USHORT cRootEntries; USHORT cSectors; BYTE bMedia; USHORT usSectorsPerFAT; USHORT usSectorsPerTrack; USHORT cHeads; ULONG cHiddenSectors; ULONG cLargeSectors; BYTE abReserved[6]; USHORT cCylinders; BYTE bDeviceType; USHORT fsDeviceAttr;
C Declaration Method
typedef struct
Fields
| usBytesPerSector | Number of bytes per sector |
| bSectorsPerCluster | Number of sectors per cluster |
| usReservedSectors | Number of reserved sectors |
| cFATs | Number of FATs |
| cRootEntries | Number of root directory entries |
| cSectors | Number of sectors |
| bMedia | Media descriptor |
| usSectorsPerFAT | Number of secctors per FAT |
| usSectorsPerTrack | Number of sectors per track |
| cHeads | Number of heads |
| cHiddenSectors | Number of hidden sectors |
| cLargeSectors | Number of large sectors |
| abReserved[6] | Reserved |
| cCylinders | Number of cylinders defined for the physical device |
| bDeviceType | Physical layout of the specified device
|
| fsDeviceAttr | A bit field that returns flag information about the specified drive
|