NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE union (nvme.h)

Contains parameters for the Volatile Write Cache Feature that controls the volatile write cache, if it is supported and present, on the controller.

Note

If the controller is able to guarantee that data present in a write cache is written to non-volatile media on loss of power, then that write cache is considered non-volatile and this setting does not apply to that write cache. In that case, this setting has no effect.

The values from this structure are used in the VolatileWriteCache field of the NVME_CDW11_FEATURES structure.

Syntax

typedef union {
  struct {
    ULONG WCE : 1;
    ULONG Reserved0 : 31;
  } DUMMYSTRUCTNAME;
  ULONG  AsUlong;
} NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE, *PNVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE;

Members

DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.WCE

Indicates whether the volatile write cache is enabled.

When this value is set to 1, the volatile write cache is enabled. When this value is cleared to 0, the volatile write cache is disabled.

DUMMYSTRUCTNAME.Reserved0

AsUlong

Requirements

Requirement Value
Minimum supported client Windows 10
Header nvme.h

See also