// winioctl.h
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;
View the official Win32 API referenceNo description available.
Contains information for all tiers of a specific volume.
VersionThe size of this structure serves as the version. Set it to sizeof(FSCTL_QUERY_STORAGE_CLASSES_OUTPUT).
SizeSize of this structure plus all the variable sized fields.
FlagsThe 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). |
TotalNumberOfTiersTotal number of available tiers for this disk.
NumberOfTiersReturnedNumber of tiers that fit in the output.
TiersFILE_STORAGE_TIER structure that contains detailed info on the storage tiers.