SUPERFETCH_INFORMATION - NtDoc

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

/**
 * The SUPERFETCH_INFORMATION structure supplies the versioned envelope for Superfetch system-information requests.
 * \remarks Pass this initialized envelope with SystemSuperfetchInformation (79). The native x64 dispatcher
 * requires exactly 32 bytes, Version 45 and Magic 0x6b756843. The x86 declaration occupies 20 bytes;
 * native x64 validation does not establish WOW64 payload translation or support.
 * SuperfetchInformationLength is an input size. Query ReturnLength describes the selected operation's
 * payload when supplied by its handler; it is not a uniform envelope-size result and is not set by every handler.
 * Query payloads may require initialized input fields. Set payloads may also receive output.
 */
typedef struct _SUPERFETCH_INFORMATION
{
    _In_ ULONG Version;                         // Envelope version: SUPERFETCH_INFORMATION_VERSION (45).
    _In_ ULONG Magic;                           // Envelope signature: SUPERFETCH_INFORMATION_MAGIC.
    _In_ SUPERFETCH_INFORMATION_CLASS SuperfetchInformationClass; // Operation and payload selector.
    _Inout_ PVOID SuperfetchInformation;        // Pointer to the class-specific input/output buffer.
    _In_ ULONG SuperfetchInformationLength;     // Input size of the class-specific buffer, in bytes.
} SUPERFETCH_INFORMATION, *PSUPERFETCH_INFORMATION;

#endif

View code on GitHub

NtDoc

No description available.