PREFETCHER_INFORMATION - NtDoc

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

/**
 * The PREFETCHER_INFORMATION structure supplies the versioned envelope for Prefetcher system-information requests.
 * \remarks Pass this initialized envelope to NtQuerySystemInformation or NtSetSystemInformation with
 * SystemPrefetcherInformation (56). The native x64 dispatcher requires exactly 32 bytes for the envelope,
 * Version 1 and Magic 0x6b756843. The x86 declaration occupies 20 bytes; this does not establish WOW64 support.
 * PrefetcherInformationLength is the input payload capacity, not an output length. Query ReturnLength is
 * class-specific and normally describes the payload, not this envelope. Payload alignment is class-specific.
 */
typedef struct _PREFETCHER_INFORMATION
{
    _In_ ULONG Version;                         // Envelope version: PREFETCHER_INFORMATION_VERSION (1).
    _In_ ULONG Magic;                           // Envelope signature: PREFETCHER_INFORMATION_MAGIC.
    _In_ PREFETCHER_INFORMATION_CLASS PrefetcherInformationClass; // Operation and payload selector.
    _Inout_ PVOID PrefetcherInformation;        // Pointer to the class-specific input/output buffer.
    _In_ ULONG PrefetcherInformationLength;     // Input size of the class-specific buffer, in bytes.
} PREFETCHER_INFORMATION, *PPREFETCHER_INFORMATION;

#endif

View code on GitHub

NtDoc

No description available.