// ntdddisk.h
typedef enum {
EqualPriority,
KeepPrefetchedData,
KeepReadData
} DISK_CACHE_RETENTION_PRIORITY;
View the official Windows Driver Kit DDI referenceNo description available.
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.
EqualPriorityIndicates that no data is held in the cache on a preferential basis. All types of data have equal access to cache memory.
KeepPrefetchedDataIndicates that a preference is to be given to prefetched data.
KeepReadDataIndicates that a preference is to be given to data cached from a READ operation.
IOCTL_DISK_GET_CACHE_INFORMATION