FSCTL_QUERY_STORAGE_CLASSES_OUTPUT structure (winioctl.h)

Contains information for all tiers of a specific volume.

Syntax

typedef struct _FSCTL_QUERY_STORAGE_CLASSES_OUTPUT {
  DWORD             Version;
  DWORD             Size;
  DWORD             Flags;
  DWORD             TotalNumberOfTiers;
  DWORD             NumberOfTiersReturned;
  FILE_STORAGE_TIER Tiers[ANYSIZE_ARRAY];
} FSCTL_QUERY_STORAGE_CLASSES_OUTPUT, *PFSCTL_QUERY_STORAGE_CLASSES_OUTPUT;

Members

Version

The size of this structure serves as the version. Set it to sizeof(FSCTL_QUERY_STORAGE_CLASSES_OUTPUT).

Size

Size of this structure plus all the variable sized fields.

Flags

The element status. This member can be one or more of the following values.

Value Meaning
FILE_STORAGE_TIER_FLAG_NO_SEEK_PENALTY
0x00020000
Tier does not suffer a seek penalty on IO operations, which indicates that is an SSD (solid state drive).

TotalNumberOfTiers

Total number of available tiers for this disk.

NumberOfTiersReturned

Number of tiers that fit in the output.

Tiers[ANYSIZE_ARRAY]

FILE_STORAGE_TIER structure that contains detailed info on the storage tiers.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012 R2
Header winioctl.h