WRITE_THROUGH enumeration

Specifies whether a storage device supports write-through caching.

Syntax


typedef enum _WRITE_THROUGH { 
  WriteThroughUnknown       = 0,
  WriteThroughNotSupported  = 1,
  WriteThroughSupported     = 2
} 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

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: