WRITE_THROUGH enumeration (winioctl.h)

Specifies whether a storage device supports write-through caching.

Syntax

typedef enum _WRITE_THROUGH {
  WriteThroughUnknown,
  WriteThroughNotSupported,
  WriteThroughSupported
} WRITE_THROUGH;

Constants

 
WriteThroughUnknown
Indicates that no information is available about the write-through capabilities of the device.
WriteThroughNotSupported
Indicates that the device does not support write-through caching.
WriteThroughSupported
Indicates that the device supports write-through caching.

Remarks

The IOCTL_STORAGE_QUERY_PROPERTY control code reports this 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