WRITE_CACHE_ENABLE enumeration

The WRITE_CACHE_ENABLE enumeration indicates whether the write cache is enabled or disabled.

Syntax


typedef enum _WRITE_CACHE_ENABLE { 
  WriteCacheEnableUnknown  = 0,
  WriteCacheDisabled       = 1,
  WriteCacheEnabled        = 2
} 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

request reports a WRITE_CACHE_ENABLE 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:
© 2014 Microsoft