The following enumeration types are used with disk management.
In this section
| Enumeration | Description |
|---|---|
| MEDIA_TYPE | Represents the various forms of device media. |
| PARTITION_STYLE | Represents the format of a partition. |
| STORAGE_BUS_TYPE | Provides a symbolic means of representing storage bus types. |
| STORAGE_COMPONENT_HEALTH_STATUS | Specifies the health status of a storage component. |
| STORAGE_DEVICE_FORM_FACTOR | Specifies the form factor of a device. |
| STORAGE_DEVICE_POWER_CAP_UNITS | The units of the maximum power threshold. |
| STORAGE_PORT_CODE_SET | Reserved for system use. |
| STORAGE_PROPERTY_ID | Enumerates the possible values of the PropertyId member of the STORAGE_PROPERTY_QUERY structure passed as input to the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the properties of a storage device or adapter. |
| STORAGE_PROTOCOL_TYPE | Specifies the protocol of a storage device. |
| STORAGE_QUERY_TYPE | Used by the STORAGE_PROPERTY_QUERY structure passed to the IOCTL_STORAGE_QUERY_PROPERTY control code to indicate what information is returned about a property of a storage device or adapter. |
| WRITE_CACHE_CHANGE | Indicates whether the write cache features of a device are changeable. |
| WRITE_CACHE_ENABLE | Indicates whether the write cache is enabled or disabled. |
| WRITE_CACHE_TYPE | Specifies the cache type. |
| WRITE_THROUGH | Specifies whether a storage device supports write-through caching. |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
