PF_PREFETCH_FILE_INFO - NtDoc

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

// rev
/**
 * The PF_PREFETCH_FILE_INFO structure describes a file and its ranges in a prefetch request.
 */
typedef struct _PF_PREFETCH_FILE_INFO
{
    ULONG Flags;                                // File-prefetch request/result flags.
    ULONG Reserved;                             // Reserved field; initialize to zero and do not interpret on output.
    ULONGLONG FileIndexNumber;                  // File identifier used for metadata prefetch and file-ID opens.
    PF_PREFETCH_RANGE_INFO Ranges;              // Descriptor of the byte ranges to prefetch.
    union
    {
        ULONGLONG PathOffset;                   // Byte offset from PF_PREFETCH_REQUEST to the optional UTF-16 path.
        PWSTR Path;                             // Kernel-private patched view.
    };
    ULONG PathLength;                           // WCHAR count, excluding terminator; 1..0x7ffe when present.
    ULONG Reserved1;                            // Reserved field; initialize to zero and do not interpret on output.
} PF_PREFETCH_FILE_INFO, *PPF_PREFETCH_FILE_INFO;

#endif

View code on GitHub

NtDoc

No description available.