PF_CACHE_ENTRY_UPDATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPFAPI_H

/**
 * The PF_CACHE_ENTRY_UPDATE structure supplies an update to a Prefetcher cache entry.
 * \remarks The payload must be exactly 72 bytes with 4-byte alignment and Version 2.
 * The dispatcher requires SeProfileSingleProcessPrivilege. An incorrect payload length returns
 * STATUS_INVALID_BUFFER_SIZE; an incorrect version returns STATUS_INVALID_PARAMETER.
 */
typedef struct _PF_CACHE_ENTRY_UPDATE
{
    ULONG Version;                              // Request version: PF_CACHE_ENTRY_UPDATE_VERSION (2).
    UCHAR Name[64];                             // Fixed 64-byte cache-entry identifier.
    ULONG NewValue;                             // Replacement value for the selected cache entry.
} PF_CACHE_ENTRY_UPDATE, *PPF_CACHE_ENTRY_UPDATE;

#endif

View code on GitHub

NtDoc

No description available.