DISK_CACHE_RETENTION_PRIORITY enumeration

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       = 0,
  KeepPrefetchedData  = 1,
  KeepReadData        = 2
} 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

Header

Ntdddisk.h (include Ntdddisk.h)

See also

DISK_CACHE_INFORMATION
IOCTL_DISK_GET_CACHE_INFORMATION

 

 

Send comments about this topic to Microsoft

Show: