Jump to content

KernLinToPageList: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


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


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




[[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.