Jump to content

KernLinToPageList: Difference between revisions

From EDM2
No edit summary
 
Line 5: Line 5:


==Parameters==
==Parameters==
; linaddr : Address of the linear region  
; linaddr ([[PVOID]]) - input: Address of the linear region  


; size : Length of the linear region  
; size ([[ULONG]]) - input: Length of the linear region  


; list : Address of an array of pagelist elements long enough to receive the pagelist entries.  
; list (KEEVMPageList*) - input: 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.  
; pgsize (PULONG) - input: Pointer to an ULONG that contains the number of pagelist entries that were actually stored.  




[[Category:KEE]]
[[Category:KEE]]

Latest revision as of 03:27, 28 May 2025

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.