STORAGE_SPEC_VERSION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

typedef union _STORAGE_SPEC_VERSION {
  struct {
    union {
      struct {
        UCHAR SubMinor;
        UCHAR Minor;
      } DUMMYSTRUCTNAME;
      USHORT AsUshort;
    } MinorVersion;
    USHORT MajorVersion;
  } DUMMYSTRUCTNAME;
  ULONG  AsUlong;
} STORAGE_SPEC_VERSION, *PSTORAGE_SPEC_VERSION;

View the official Windows Driver Kit DDI reference
// winioctl.h

typedef union _STORAGE_SPEC_VERSION {
  struct {
    union {
      struct {
        BYTE SubMinor;
        BYTE Minor;
      } DUMMYSTRUCTNAME;
      WORD   AsUshort;
    } MinorVersion;
    WORD MajorVersion;
  } DUMMYSTRUCTNAME;
  DWORD  AsUlong;
} STORAGE_SPEC_VERSION, *PSTORAGE_SPEC_VERSION;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_storage_spec_version)

_STORAGE_SPEC_VERSION structure

Description

Indicates the specification of the storage device.

Members

DUMMYSTRUCTNAME

The major and minor version of the storage specification.

DUMMYSTRUCTNAME.MinorVersion

The minor version of the storage specification.

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME

The minor and sub-minor version of the storage specification.

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME.SubMinor

The sub-minor version of the storage specification.

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME.Minor

The minor version of the storage specification.

DUMMYSTRUCTNAME.MinorVersion.AsUshort

The combination of the Minor and SubMinor versions of the storage specification.

DUMMYSTRUCTNAME.MajorVersion

The major version of the storage specification.

AsUlong

The combination of the MajorVersion and MinorVersion versions of the storage specification.

Remarks

This union allows for specifying the storage specification version, such as SBC 3, SATA 3.2, and NVMe 1.2.


Win32 API reference (ns-winioctl-storage_spec_version)

STORAGE_SPEC_VERSION structure

Description

Storage specification version.

Members

DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.MinorVersion

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME.SubMinor

DUMMYSTRUCTNAME.MinorVersion.DUMMYSTRUCTNAME.Minor

DUMMYSTRUCTNAME.MinorVersion.AsUshort

DUMMYSTRUCTNAME.MajorVersion

AsUlong

- AsUshort

- Minor

- SubMinor