Jump to content

DEVICEPARAMETERBLOCK: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Ak120 (talk | contribs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== DEVICEPARAMETERBLOCK ==
Device Parameter Block data structure.
Device Parameter Block data structure.


=== Type ===
== Type ==
[[USHORT]]  reserved1
USHORT  cCylinders
USHORT  cHeads
USHORT  cSectorsPerTrack
USHORT  reserved2
USHORT  reserved3
USHORT  reserved4
USHORT  reserved5


[[OS2 API:DataType:USHORT|USHORT]]  reserved1
=== C Declaration Method ===
[[OS2 API:DataType:USHORT|USHORT]]  cCylinders
typedef struct
[[OS2 API:DataType:USHORT|USHORT]]  cHeads
[[OS2 API:DataType:USHORT|USHORT]]  cSectorsPerTrack
[[OS2 API:DataType:USHORT|USHORT]]  reserved2
[[OS2 API:DataType:USHORT|USHORT]]  reserved3
[[OS2 API:DataType:USHORT|USHORT]]  reserved4
[[OS2 API:DataType:USHORT|USHORT]]  reserved5
==== C Declaration Method ====


typedef struct
== Fields ==
;reserved1:Reserved
;cCylinders:Number of Cylinders on the physical drive.
;cHeads:Number of Heads on the physical drive.
;cSectorsPerTrack:Number of Sectors per track on the physical drive
;reserved2:Reserved
;reserved3:Reserved
;reserved4:Reserved
;reserved5:Reserved


=== Fields ===
[[Category:Data type]]
 
reserved1        Reserved.
cCylinders      Number of Cylinders on the physical drive.
cHeads          Number of Heads on the physical drive.
cSectorsPerTrack Number of Sectors per track on the physical drive.
reserved2        Reserved.
reserved3        Reserved.
reserved4        Reserved.
reserved5        Reserved.

Latest revision as of 00:40, 9 February 2020

Device Parameter Block data structure.

Type

USHORT  reserved1
USHORT  cCylinders
USHORT  cHeads
USHORT  cSectorsPerTrack
USHORT  reserved2
USHORT  reserved3
USHORT  reserved4
USHORT  reserved5

C Declaration Method

typedef struct

Fields

reserved1
Reserved
cCylinders
Number of Cylinders on the physical drive.
cHeads
Number of Heads on the physical drive.
cSectorsPerTrack
Number of Sectors per track on the physical drive
reserved2
Reserved
reserved3
Reserved
reserved4
Reserved
reserved5
Reserved