Jump to content

KernLinToPageList

From EDM2

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
Address of the linear region
size
Length of the linear region
list
Address of an array of pagelist elements long enough to receive the pagelist entries.
pgsize>
Pointer to an ULONG that contains the number of pagelist entries that were actually stored.