DISK_INT13_INFO structure (ntdddisk.h)
The DISK_INT13_INFO structure is used by the BIOS to report disk detection data for a partition with an INT13 format.
Syntax
typedef struct _DISK_INT13_INFO {
USHORT DriveSelect;
ULONG MaxCylinders;
USHORT SectorsPerTrack;
USHORT MaxHeads;
USHORT NumberDrives;
} DISK_INT13_INFO, *PDISK_INT13_INFO;
Members
DriveSelect
Corresponds to the Device/Head register defined in the AT Attachment (ATA) specification. When zero, the fourth bit of this register indicates that drive zero is selected. When 1, it indicates that drive one is selected. The values of bits 0, 1, 2, 3, and 6 depend on the command in the command register. Bits 5 and 7 are no longer used. For more information about the values that the Device/Head register can hold, see the ATA specification.
MaxCylinders
Indicates the maximum number of cylinders on the disk.
SectorsPerTrack
Indicates the number of sectors per track.
MaxHeads
Indicates the maximum number of disk heads.
NumberDrives
Indicates the number of drives.
Requirements
Requirement | Value |
---|---|
Header | ntdddisk.h (include Ntdddisk.h) |