Undocumented functions of NTDLL

2OO1, 9 February



SYSTEM_PAGEFILE_INFORMATION
SYSTEM_PAGEFILE_INFORMATION

typedef struct _SYSTEM_PAGEFILE_INFORMATION {

ULONG NextEntryOffset; ULONG TotalSize; ULONG TotalInUse; ULONG PeakUsage; UNICODE_STRING PageFileName;

} SYSTEM_PAGEFILE_INFORMATION, *PSYSTEM_PAGEFILE_INFORMATION;



Structure SYSTEM_PAGEFILE_INFORMATION is used as a result of call NtQuerySystemInformation with SystemPageFileInformation information class. If contains information about currently instaled Paged Files (files used by system for swap paged pool memory to disk).






  • NextEntryOffset
  •     Offset to next SYSTEM_PAGEFILE_INFORMATION structure or zero, if it's last one.
  • TotalSize
  •     Size of paged file, in pages (Size of page depend on machine type, for x86 one page is 0x1000 (4096) bytes).
  • TotalInUse
  •     Number of currently used pages in paged file.
  • PeakUsage
  •     Maximum number of pages used in this boot session.
  • PageFileName
  •     System path to paged file.



    Documented by:
    Tomasz Nowak



    Requirements:
    Library: ntdll.lib


    See also:
    NtCreatePagingFile
    NtQuerySystemInformation
    SYSTEM_INFORMATION_CLASS