MSDN Home >  MSDN Library >  System Support for Buses >  IDE Bus >  Reference >  IDE Bus Structures
 
System Support for Buses: Windows DDK

IDEREGS

The IDEREGS structure is used to report the contents of the IDE controller registers.

typedef struct _IDEREGS {
  UCHAR  bFeaturesReg;
  UCHAR  bSectorCountReg;
  UCHAR  bSectorNumberReg;
  UCHAR  bCylLowReg;
  UCHAR  bCylHighReg;
  UCHAR  bDriveHeadReg;
  UCHAR  bCommandReg;
  UCHAR  bReserved;
} IDEREGS, *PIDEREGS, *LPIDERE

Members

bFeaturesReg
Holds the contents of the Features register. This register is used to specify Self-Monitoring Analysis and Reporting Technology (SMART) commands.
bSectorCountReg
Holds the contents of the sector count register. IDE sector count register.
bSectorNumberReg
Holds the contents of the sector number register.
bCylLowReg
Holds the contents of the IDE low-order cylinder register.
bCylHighReg
Holds the contents of the IDE high-order cylinder register.
bDriveHeadReg
Holds the contents of the IDE drive/head register.
bCommandReg
Holds the contents of the IDE command register.
bReserved
Reserved for future use. Should always be zero.

Headers

Declared in Ntdddisk.h. Include Ntdddisk.h.

See Also

ATA_PASS_THROUGH_EX, ATA_PASS_THROUGH_DIRECT

 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility