TRACKLAYOUT: Difference between revisions
Appearance
mNo edit summary |
m Ak120 moved page OS2 API:DataType:TRACKLAYOUT to TRACKLAYOUT |
(No difference)
|
Revision as of 13:25, 31 October 2016
TRACKLAYOUT
Track layout.
Type
BYTE bCommand USHORT usHead USHORT usCylinder USHORT usFirstSector USHORT cSectors struct { USHORT usSectorNumber USHORT usSectorSize } TrackTable[1];
C Declaration Method
typedef struct
Fields
- bCommand
- Command information.
- Bit 0 If 0, the track layout contains nonconsecutive sectors or does not start with Sector 1. If set (1), the track layout starts with Sector 1 and contains only consecutive sectors. All other bits are reserved and must be set to 0.
- usHead
- Physical head on the device that performs the operation.
- usCylinder
- Cylinder to be written, read, or verified.
- usFirstSector
- Logical sector number within the Track Layout Table that starts the I/O operation.
- All the sector numbers start with 0. For example the third sector is number 2.
- cSectors
- Number of sectors to read, write, or verify.
- This value must be less than or equal to the maximum number number of sectors specified in the track table.
- The IOCtl subfunctions do not step heads or tracks.
- usSectorNumber
- Sector number.
- There must be one usSectorNumber and usSectorSize in the track layout table for every sector, up to cSectors sectors.
- usSectorSize
- Sector size.
- There must be one usSectorNumber and usSectorSize in the track layout table for every sector, up to cSectors sectors.