Jump to content

DEVICEPARAMETERBLOCK: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== DEVICEPARAMETERBLOCK ==
Device Parameter Block data structure.
Device Parameter Block data structure.


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


=== C Declaration Method ===
typedef struct
typedef struct


=== Fields ===
== Fields ==
 
;reserved1:Reserved
reserved1       Reserved.
;cCylinders:Number of Cylinders on the physical drive.
cCylinders       Number of Cylinders on the physical drive.
;cHeads:Number of Heads on the physical drive.
cHeads           Number of Heads on the physical drive.
;cSectorsPerTrack:Number of Sectors per track on the physical drive
cSectorsPerTrack Number of Sectors per track on the physical drive.
;reserved2:Reserved
reserved2       Reserved.
;reserved3:Reserved
reserved3       Reserved.
;reserved4:Reserved
reserved4       Reserved.
;reserved5:Reserved
reserved5       Reserved.
 
[[OS2_API | Back to OS/2 API]]
 


[[Category:The OS/2 API Project]]
[[Category:Data type]]

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