DISK_CACHE_RETENTION_PRIORITY enumeration (ntdddisk.h)

The DISK_CACHE_RETENTION_PRIORITY enumeration is used in conjunction with the IOCTL_DISK_GET_CACHE_INFORMATION request and the structure DISK_CACHE_INFORMATION to indicate which kinds data are to be held in the cache on a preferential basis.

Syntax

typedef enum {
  EqualPriority,
  KeepPrefetchedData,
  KeepReadData
} DISK_CACHE_RETENTION_PRIORITY;

Constants

 
EqualPriority
Indicates that no data is held in the cache on a preferential basis. All types of data have equal access to cache memory.
KeepPrefetchedData
Indicates that a preference is to be given to prefetched data.
KeepReadData
Indicates that a preference is to be given to data cached from a READ operation.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)

See also

DISK_CACHE_INFORMATION

IOCTL_DISK_GET_CACHE_INFORMATION