Jump to content

KernLinToPageList

From EDM2
Revision as of 03:27, 28 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Convert a linear address region to a pagelist. This is the equivalent to DevHlp_LinToPageList.

Synopsis

APIRET APIENTRY KernLinToPageList(PVOID linaddr,ULONG size,KEEVMPageList* list,PULONG pgsize);

Parameters

linaddr (PVOID) - input
Address of the linear region
size (ULONG) - input
Length of the linear region
list (KEEVMPageList*) - input
Address of an array of pagelist elements long enough to receive the pagelist entries.
pgsize (PULONG) - input
Pointer to an ULONG that contains the number of pagelist entries that were actually stored.