Jump to content

KernLinToPageList: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Convert a linear address region to a pagelist. This is the equivalent to DevHlp_LinToPageList.


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


==Description==
==Parameters==
Convert a linear address region to a pagelist. This is the equivalent to DevHlp_LinToPageList.
; linaddr ([[PVOID]]) - input: Address of the linear region  
 
; size ([[ULONG]]) - input: Length of the linear region


==Parameters==
; list (KEEVMPageList*) - input: Address of an array of pagelist elements long enough to receive the pagelist entries.


linaddr
; pgsize (PULONG) - input: Pointer to an ULONG that contains the number of pagelist entries that were actually stored.  
    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.  




[[Category:The OS/2 API Project]]
[[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.