// 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 referenceNo description available.
The WRITE_CACHE_ENABLE enumeration indicates whether the write cache is enabled or disabled.
WriteCacheEnableUnknownThe system cannot report whether the device's write cache is enabled or disabled.
WriteCacheDisabledThe device's write cache is disabled.
WriteCacheEnabledThe 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.
WriteCacheEnableUnknownThe system cannot report whether the device's write cache is enabled or disabled.
WriteCacheDisabledThe device's write cache is disabled.
WriteCacheEnabledThe 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.