Referenced by: TMiTeC_Storage, TDeviceInfo


TIdentifyDeviceData = packed record

  GeneralConfiguration: Word;

      { =

      USHORT Reserved1  :1;

      USHORT Retired3  :1;

      USHORT ResponseIncomplete  :1;

      USHORT Retired2  :3;

      USHORT FixedDevice  :1;

      USHORT RemovableMedia  :1;

      USHORT Retired1  :7;

      USHORT DeviceType  :1;}

  NumCylinders: Word;

  ReservedWord2: Word;

  NumHeads: Word;

  Retired1: array[0..1] of Word;

  NumSectorsPerTrack: Word;

  VendorUnique1: array[0..2] of Word;

  SerialNumber: array[0..19] of AnsiChar;

  Retired2: array[0..1] of Word;

  Obsolete1: Word;

  FirmwareRevision: array[0..7] of AnsiChar;

  ModelNumber: array[0..39] of AnsiChar;

  MaximumBlockTransfer: Byte;

  VendorUnique2: Byte;

  ReservedWord48: Word;

  ReservedByte49: Byte;

  Capabilities: Byte;

      { =

      UCHAR  DmaSupported  :1;

      UCHAR  LbaSupported  :1;

      UCHAR  IordyDisable  :1;

      UCHAR  IordySupported  :1;

      UCHAR  Reserved1  :1;

      UCHAR  StandybyTimerSupport  :1;

      UCHAR  Reserved2  :2;}

  ReservedWord50: Word;

  ObsoleteWords51: array[0..1] of Word;

  TranslationFieldsValid: Word;

      { =

      USHORT TranslationFieldsValid  :3;

      USHORT Reserved3  :13;}

  NumberOfCurrentCylinders: Word;

  NumberOfCurrentHeads: Word;

  CurrentSectorsPerTrack: Word;

  CurrentSectorCapacity: Cardinal;

  CurrentMultiSectorSetting: Byte;

  MultiSectorSettingValid: Byte;

      { =

      UCHAR  MultiSectorSettingValid  :1;

      UCHAR  ReservedByte59  :7;}

  UserAddressableSectors: Cardinal;

  ObsoleteWord62: Word;

  MultiWordDMAActive: Byte;

  MultiWordDMASupport: Byte;

  ReservedByte64: Byte;

  AdvancedPIOModes: Byte;

  MinimumMWXferCycleTime: Word;

  RecommendedMWXferCycleTime: Word;

  MinimumPIOCycleTime: Word;

  MinimumPIOCycleTimeIORDY: Word;

  ReservedWords69: array[0..5] of Word;

  QueueDepth: Word;

      { =

      USHORT QueueDepth  :5;

      USHORT ReservedWord75  :11;}

  ReservedWords76: array[0..3] of Word;

  MajorRevision: Word;

  MinorRevision: Word;

  CommandSetSupport: array[0..5] of byte;

      { =

      USHORT SmartCommands  :1;

      USHORT SecurityMode  :1;

      USHORT RemovableMediaFeature  :1;

      USHORT PowerManagement  :1;

      USHORT Reserved1  :1;

      USHORT WriteCache  :1;

      USHORT LookAhead  :1;

      USHORT ReleaseInterrupt  :1;

      USHORT ServiceInterrupt  :1;

      USHORT DeviceReset  :1;

      USHORT HostProtectedArea  :1;

      USHORT Obsolete1  :1;

      USHORT WriteBuffer  :1;

      USHORT ReadBuffer  :1;

      USHORT Nop  :1;

      USHORT Obsolete2  :1;

      USHORT DownloadMicrocode  :1;

      USHORT DmaQueued  :1;

      USHORT Cfa  :1;

      USHORT AdvancedPm  :1;

      USHORT Msn  :1;

      USHORT PowerUpInStandby  :1;

      USHORT ManualPowerUp  :1;

      USHORT Reserved2  :1;

      USHORT SetMax  :1;

      USHORT Acoustics  :1;

      USHORT BigLba  :1;

      USHORT DeviceConfigOverlay  :1;

      USHORT FlushCache  :1;

      USHORT FlushCacheExt  :1;

      USHORT Resrved3  :2;

      USHORT SmartErrorLog  :1;

      USHORT SmartSelfTest  :1;

      USHORT MediaSerialNumber  :1;

      USHORT MediaCardPassThrough  :1;

      USHORT StreamingFeature  :1;

      USHORT GpLogging  :1;

      USHORT WriteFua  :1;

      USHORT WriteQueuedFua  :1;

      USHORT WWN64Bit  :1;

      USHORT URGReadStream  :1;

      USHORT URGWriteStream  :1;

      USHORT ReservedForTechReport  :2;

      USHORT IdleWithUnloadFeature  :1;

      USHORT Reserved4  :2;}

  CommandSetActive: array[0..5] of byte;

      { = same as CommandSetSupport}

  UltraDMAActive: Byte;

  UltraDMASupport: Byte;

  ReservedWord89: array[0..3] of Word;

  HardwareResetResult: Word;

  RecommendedAcousticValue: Byte;

  CurrentAcousticValue: Byte;

  ReservedWord95: array[0..4] of Word;

  Max48BitLBA: array[0..1] of Cardinal;

  StreamingTransferTime: Word;

  ReservedWord105: Word;

  PhysicalLogicalSectorSize: Word;

      { =

      USHORT LogicalSectorsPerPhysicalSector  :4;

      USHORT Reserved0  :8;

      USHORT LogicalSectorLongerThan256Words  :1;

      USHORT MultipleLogicalSectorsPerPhysicalSector  :1;

      USHORT Reserved1  :2;}

  InterSeekDelay: Word;

  WorldWideName: array[0..7] of Byte;

  ReservedForWorldWideName128: array[0..7] of Byte;

  ReservedForTlcTechnicalReport: Word;

  WordsPerLogicalSector: array[0..1] of Word;

  CommandSetSupportExt: Word;

      { =

      USHORT ReservedForDrqTechnicalReport  :1;

      USHORT WriteReadVerifySupported  :1;

      USHORT Reserved01  :11;

      USHORT Reserved1  :2;}

  CommandSetActiveExt: Word;

      { = same as CommandSetSupportExt}

  ReservedForExpandedSupportandActive: array[0..5] of Word;

  MsnSupport: Word;

      { =

      USHORT MsnSupport  :2;

      USHORT ReservedWord1274  :14;}

  SecurityStatus: Word;

      { =

      USHORT SecuritySupported  :1;

      USHORT SecurityEnabled  :1;

      USHORT SecurityLocked  :1;

      USHORT SecurityFrozen  :1;

      USHORT SecurityCountExpired  :1;

      USHORT EnhancedSecurityEraseSupported  :1;

      USHORT Reserved0  :2;

      USHORT SecurityLevel  :1;

      USHORT Reserved1  :7;}

  ReservedWord129: array[0..30] of Word;

  CfaPowerModel: Word;

      { =

      USHORT MaximumCurrentInMA2  :12;

      USHORT CfaPowerMode1Disabled  :1;

      USHORT CfaPowerMode1Required  :1;

      USHORT Reserved0  :1;

      USHORT Word160Supported  :1;}

  ReservedForCfaWord161: array[0..7] of Word;

  DataSetManagementFeature: Word;

      { =

      USHORT SupportsTrim  :1;

      USHORT Reserved0  :15;}

  ReservedForCfaWord170: array[0..5] of Word;

  CurrentMediaSerialNumber: array[0..29] of Word;

  ReservedWord206: Word;

  ReservedWord207: array[0..1] of Word;

  BlockAlignment: Word;

      { =

      USHORT AlignmentOfLogicalWithinPhysical  :14;

      USHORT Word209Supported  :1;

      USHORT Reserved0  :1;}

  WriteReadVerifySectorCountMode3Only: array[0..1] of Word;

  WriteReadVerifySectorCountMode2Only: array[0..1] of Word;

  NVCacheCapabilities: Word;

      { =

      USHORT NVCachePowerModeEnabled  :1;

      USHORT Reserved0  :3;

      USHORT NVCacheFeatureSetEnabled  :1;

      USHORT Reserved1  :3;

      USHORT NVCachePowerModeVersion  :4;

      USHORT NVCacheFeatureSetVersion  :4;}

  NVCacheSizeLSW: Word;

  NVCacheSizeMSW: Word;

  NominalMediaRotationRate: Word;

  ReservedWord218: Word;

  NVCacheEstimatedTimeToSpinUpInSeconds: Byte;

  Reserved: Byte;

  ReservedWord220: array[0..34] of Word;

  CheckSum: Byte;

  Signature: Byte;

end;

Created with the Personal Edition of HelpNDoc: Don't Let Unauthorized Users View Your PDFs: Learn How to Set Passwords