WRITE_CACHE_ENABLE enumeration (ntddstor.h)

The WRITE_CACHE_ENABLE enumeration indicates whether the write cache is enabled or disabled.

Syntax

typedef enum _WRITE_CACHE_ENABLE {
  WriteCacheEnableUnknown,
  WriteCacheDisabled,
  WriteCacheEnabled
} WRITE_CACHE_ENABLE;

Constants

 
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.

Remarks

The IOCTL_STORAGE_QUERY_PROPERTY request reports a WRITE_CACHE_ENABLE value in the STORAGE_WRITE_CACHE_PROPERTY structure.

Requirements

Requirement Value
Header ntddstor.h

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_WRITE_CACHE_PROPERTY