Jump to content

KernVMSetMem: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This is the equivalent of the DevHlp_VMSetMem function.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernVMSetMem(ULONG flags, PVOID linaddr, ULONG size);
APIRET APIENTRY KernVMSetMem(ULONG flags, PVOID linaddr, ULONG size);
 
==Description==
This is the equivalent of the DevHlp_VMSetMem function.


==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