#include <vmm.h> ULONG EXTERNAL _PageDecommit(ULONG page, ULONG npages, ULONG flags);
Decommits physical storage from a specified range of linear addresses.
page and npages
Linear page number of first page to decommit, and the number of pages to decommit. The entire range of linear addresses must have been reserved by a single call to the _PageReserve service.
While the specified range can include pages that are already decommitted, this is not recommended.
flags
Must be zero.