Data Fields

LPDEVICEINFO Struct Reference
[Device attributes]

#include <SysInfo.h>

Data Fields

BYTE bChannelId
BYTE bTargetId
BYTE bLun
BYTE bInterfaceType
UINT64 qwNumCylinders
WORD wBytesPerSector
WORD wSectorsPerTrack
WORD wTracksPerCylinder
WORD wLogicalSectorSize
 in Bytes
WORD wPhysicalSectorSize
 in Bytes
DWORD dwBufferSize
 in Bytes
WORD wECCSize
 in Bytes
WORD wMediaRotationRate
 0 = unknown, 1 = SSD, other values = rotation rate in RPM
WORD wATAVersionSupported
 Bitfield: see define ATA*_SUPPORTED(x) .
WORD wTransportTypeSupported
 Bitfield: see define TRANSPORT_TYPE_*(x) .
UINT64 qwTotalAddressableSectors
BYTE bSerialNumber [SERIAL_NUM_LEN+1]
 The drive serial number.
BYTE bFirmwareRev [FIRMWARE_REV_LEN+1]
 The drive current firmware revision.
BYTE bModelNumber [MODEL_NUM_LEN+1]
 The drive model number.
BYTE bWorldWideID [WWN_LEN]
BOOLEAN bSMARTSupported
BOOLEAN bSMARTEnabled
BOOLEAN bSMARTSelfTestSupported
BOOLEAN bSMARTErrorLoggingSupported
BOOLEAN bLBASupported
BOOLEAN bIORDYSupported
BOOLEAN bCFastSupported
BOOLEAN bDMASupported
BYTE bMultiwordDMASupported
 Bitfield: see define MULTIDMA_MODE*_SUPPORTED(x) .
BYTE bMultiwordDMASelected
 Bitfield: see define MULTIDMA_MODE*_SELECTED(x) .
BYTE bUltraDMASupported
 Bitfield: see define ULTRADMA_MODE*_SUPPORTED(x) .
BYTE bUltraDMASelected
 Bitfield: see define ULTRADMA_MODE*_SELECTED(x) .
BYTE bPIOSupported
 Bitfield: see define PIO_MODE*_SUPPORTED(x) .
BOOLEAN bSATACompliance
WORD wSATACapabilities
 Bitfield: see define SATA_*_SUPPORTED(x) .
WORD wSATAFeaturesSupported
 Bitfield: see define SATA_*_SUPPORTED(x) .
WORD wSATAFeaturesEnabled
 Bitfield: see define SATA_*_ENABLED(x) .
BOOLEAN bTrustedComputingSupported
BOOLEAN bHPASupported
BOOLEAN bReadLookAheadSupported
BOOLEAN bReadLookAheadEnabled
BOOLEAN bWriteCacheSupported
BOOLEAN bWriteCacheEnabled
BOOLEAN bPowerManagementSupported
BOOLEAN bSecurityModeSupported
BOOLEAN bSecurityModeEnabled
BOOLEAN bDeviceConfigOverlaySupported
BOOLEAN b48BitAddressSupported
BOOLEAN bAutoAcousticSupported
BOOLEAN bAutoAcousticEnabled
BYTE bRecommendedAAMLevel
BYTE bCurrentAAMLevel
BOOLEAN bPowerUpStandbySupported
BOOLEAN bPowerUpStandbyEnabled
BOOLEAN bAutoPowerManagementSupported
BOOLEAN bAutoPowerManagementEnabled
BYTE bCurrentAPMLevel
BOOLEAN bCFASupported
BOOLEAN bGPLoggingSupported
BOOLEAN bStreamingSupported
BOOLEAN bMediaCardPassthroughSupported
BOOLEAN bMediaCardPassthroughEnabled
BOOLEAN bExtPowerConditionsSupported
BOOLEAN bExtPowerConditionsEnabled
BOOLEAN bExtStatusReportingSupported
BOOLEAN bExtStatusReportingEnabled
BOOLEAN bFreefallControlSupported
BOOLEAN bFreefallControlEnabled
BOOLEAN bWriteReadVerifySupported
BOOLEAN bWriteReadVerifyEnabled
BOOLEAN bTrimSupported
WORD wSCTCommandTransportSupported
 Bitfield: see define SCT_*_SUPPORTED(x) .
BOOLEAN bNVCacheEnabled
BOOLEAN bNVCachePMSupported
BOOLEAN bNVCachePMEnabled

Field Documentation

BYTE bChannelId
BYTE bTargetId
BYTE bLun

in Bytes

in Bytes

DWORD dwBufferSize

in Bytes

WORD wECCSize

in Bytes

0 = unknown, 1 = SSD, other values = rotation rate in RPM

Bitfield: see define ATA*_SUPPORTED(x) .

Bitfield: see define TRANSPORT_TYPE_*(x) .

BYTE bSerialNumber[SERIAL_NUM_LEN+1]

The drive serial number.

BYTE bFirmwareRev[FIRMWARE_REV_LEN+1]

The drive current firmware revision.

BYTE bModelNumber[MODEL_NUM_LEN+1]

The drive model number.

BYTE bWorldWideID[WWN_LEN]
BOOLEAN bSMARTSupported
BOOLEAN bSMARTEnabled
BOOLEAN bLBASupported
BOOLEAN bIORDYSupported
BOOLEAN bCFastSupported
BOOLEAN bDMASupported

Bitfield: see define MULTIDMA_MODE*_SUPPORTED(x) .

Bitfield: see define MULTIDMA_MODE*_SELECTED(x) .

Bitfield: see define ULTRADMA_MODE*_SUPPORTED(x) .

Bitfield: see define ULTRADMA_MODE*_SELECTED(x) .

Bitfield: see define PIO_MODE*_SUPPORTED(x) .

BOOLEAN bSATACompliance

Bitfield: see define SATA_*_SUPPORTED(x) .

Bitfield: see define SATA_*_SUPPORTED(x) .

Bitfield: see define SATA_*_ENABLED(x) .

BOOLEAN bHPASupported
BOOLEAN bCFASupported
BOOLEAN bTrimSupported

Bitfield: see define SCT_*_SUPPORTED(x) .

BOOLEAN bNVCacheEnabled

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Enumerator Defines