// ntddstor.h
typedef enum _WRITE_CACHE_ENABLE {
WriteCacheEnableUnknown,
WriteCacheDisabled,
WriteCacheEnabled
} WRITE_CACHE_ENABLE;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef enum _WRITE_CACHE_ENABLE {
WriteCacheEnableUnknown,
WriteCacheDisabled,
WriteCacheEnabled
} WRITE_CACHE_ENABLE;
View the official Win32 API reference
No description available.
The WRITE_CACHE_ENABLE enumeration indicates whether the write cache is enabled or disabled.
WriteCacheEnableUnknown
The system cannot report whether the device's write cache is enabled or disabled.
WriteCacheDisabled
The device's write cache is disabled.
WriteCacheEnabled
The device's write cache is enabled.
The IOCTL_STORAGE_QUERY_PROPERTY request reports a WRITE_CACHE_ENABLE value in the STORAGE_WRITE_CACHE_PROPERTY structure.
Indicates whether the write cache is enabled or disabled.
WriteCacheEnableUnknown
The system cannot report whether the device's write cache is enabled or disabled.
WriteCacheDisabled
The device's write cache is disabled.
WriteCacheEnabled
The device's write cache is enabled.
The IOCTL_STORAGE_QUERY_PROPERTY control code reports a WRITE_CACHE_ENABLE value in the STORAGE_WRITE_CACHE_PROPERTY structure.