Jump to content

KernVMSetMem: Difference between revisions

From EDM2
No edit summary
No edit summary
 
Line 5: Line 5:


==Parameters==
==Parameters==
;flags:One or more of the following flags:
;''flags'' ([[ULONG]]) - input :One or more of the following flags:
:KEE_VMS_UNCOMMIT Uncommit the region
:KEE_VMS_UNCOMMIT Uncommit the region
:KEE_VMS_RESIDENT make the region resident
:KEE_VMS_RESIDENT make the region resident
:KEE_VMS_SWAPPABLE make the region swappable
:KEE_VMS_SWAPPABLE make the region swappable
;linaddr:Linear address of region
;''linaddr'' ([[PVOID]]) - input:Linear address of region
;size:Size of region
;''size'' ([[ULONG]]) - input:Size of region


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

Latest revision as of 03:56, 28 May 2025

This is the equivalent of the DevHlp_VMSetMem function.

Synopsis

APIRET APIENTRY KernVMSetMem(ULONG flags, PVOID linaddr, ULONG size);

Parameters

flags (ULONG) - input
One or more of the following flags:
KEE_VMS_UNCOMMIT Uncommit the region
KEE_VMS_RESIDENT make the region resident
KEE_VMS_SWAPPABLE make the region swappable
linaddr (PVOID) - input
Linear address of region
size (ULONG) - input
Size of region