| 392 | |
| 393 | if (dwFreeType == MEM_RELEASE || (dwFreeType == MEM_DECOMMIT && !dwSize)) |
| 394 | dwSize = Mappable.RegionSize - ((ULONG_PTR)BasePage - (ULONG_PTR)AllocationBase); |
| 395 | |
| 396 | ULONG_PTR LastPage = ((ULONG_PTR)lpAddress + dwSize) & ~(PageSize - 1); |
| 397 | |
| 398 | for (ULONG_PTR BaseAddress = BasePage; BaseAddress <= LastPage; BaseAddress += PageSize) |
| 399 | UnmapViewOfFile2(hProcess, (PVOID)BaseAddress, MEM_PRESERVE_PLACEHOLDER); |
| 400 |
no test coverage detected