#ifndef _NTMMAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// rev
/**
* The MEMORY_REMOVE_WORKING_SET_INFORMATION structure defines control flags for
* VmRemoveFromWorkingSetInformation operations.
*
* \remarks The memory manager processes each MEMORY_RANGE_ENTRY and attempts to
* remove resident pages from the target process working set. This is a trim
* operation (resident-set management), not an unmap or free operation.
*
* Removing resident pages from a process reduces its working set,
* which frees physical RAM for other work without destroying the process's
* virtual memory mappings. SET_FLAG_FORCE_TRIM flag has more aggressive
* trimming behavior for eligible pages in the specified ranges.
*/
typedef struct _MEMORY_REMOVE_WORKING_SET_INFORMATION
{
ULONG Flags; // MEMORY_REMOVE_WORKING_SET_FLAG_FORCE_TRIM
} MEMORY_REMOVE_WORKING_SET_INFORMATION, *PMEMORY_REMOVE_WORKING_SET_INFORMATION;
View code on GitHubNo description available.