PF_SYSTEM_PREFETCH_PARAMETERS - NtDoc

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

// rev
/**
 * The PF_SYSTEM_PREFETCH_PARAMETERS structure contains the parameters returned by PrefetcherSystemParameters.
 * \remarks On x64, the payload length must be exactly 408 bytes with 8-byte alignment.
 * A different payload length returns STATUS_INVALID_PARAMETER. Successful queries report ReturnLength = 408.
 */
typedef struct _PF_SYSTEM_PREFETCH_PARAMETERS
{
    PF_ENABLE_STATUS EnableStatus[2];           // Enable settings for application-launch and activity scenarios.
    PF_TRACE_LIMITS TraceLimits[2];             // Trace limits for application-launch and activity scenarios.
    ULONG MaxNumActiveTraces;                   // Maximum number of simultaneously active traces.
    ULONG MaxNumSavedTraces;                    // Maximum number of saved traces.
    WCHAR RootDirPath[48];                      // Prefetch root directory, stored in a 48-WCHAR array.
    WCHAR HostingApplicationList[128];          // Hosting-application list, stored in a 128-WCHAR array.
    ULONG PrefetchFlags;                        // 0..31
    ULONG NumTracePeriods;                      // 1..10
} PF_SYSTEM_PREFETCH_PARAMETERS, *PPF_SYSTEM_PREFETCH_PARAMETERS;

#endif

View code on GitHub

NtDoc

No description available.