WRITE_THROUGH enumeration

The 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 concerning the writethrough capabilities of the device.

WriteThroughNotSupported

Indicates that the device does not support writethrough operations.

WriteThroughSupported

Indicates that the device supports writethrough operations.

Remarks

The IOCTL_STORAGE_QUERY_PROPERTY

request reports this value in the STORAGE_WRITE_CACHE_PROPERTY structure.

Requirements

Header

Ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY
STORAGE_WRITE_CACHE_PROPERTY

 

 

Send comments about this topic to Microsoft

Show: