MEMORY_REMOVE_WORKING_SET_FLAG_FORCE_TRIM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMMAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

// rev
/**
 * Valid flags for MEMORY_REMOVE_WORKING_SET_INFORMATION.Flags.
 *
 * \remarks Used with NtSetInformationVirtualMemory(VmRemoveFromWorkingSetInformation)
 * to request trimming pages from the process working set for the supplied ranges.
 * This does not decommit memory and does not change protection; trimmed pages remain
 * valid virtual memory and are faulted back on next access.
 */
#define MEMORY_REMOVE_WORKING_SET_FLAG_FORCE_TRIM 0x1

#endif
#endif

View code on GitHub

NtDoc

No description available.