Jump to content

KernVMSetMem: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users 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'' ([[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


flags
[[Category:KEE]]
    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
    Linear address of region
size
    Size of region
 
[[Category:The OS/2 API Project]]

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