WRITE_CACHE_CHANGE enumeration

Indicates whether the write cache features of a device are changeable.

Syntax


typedef enum _WRITE_CACHE_CHANGE { 
  WriteCacheChangeUnknown  = 0,
  WriteCacheNotChangeable  = 1,
  WriteCacheChangeable     = 2
} WRITE_CACHE_CHANGE;

Constants

WriteCacheChangeUnknown

The system cannot report the write cache change capability of the device.

WriteCacheNotChangeable

Host software cannot change the characteristics of the device's write cache.

WriteCacheChangeable

Host software can change the characteristics of the device's write cache.

Remarks

The IOCTL_STORAGE_QUERY_PROPERTY request returns a WRITE_CACHE_CHANGE value in the STORAGE_WRITE_CACHE_PROPERTY structure.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

Disk Management Enumeration Types
IOCTL_STORAGE_QUERY_PROPERTY
STORAGE_WRITE_CACHE_PROPERTY

 

 

Show: