WRITE_CACHE_ENABLE enumeration (winioctl.h)

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 control code reports a WRITE_CACHE_ENABLE value in the STORAGE_WRITE_CACHE_PROPERTY structure.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winioctl.h

See also