| 455 | lpBuffer->Type = Region.Type; |
| 456 | |
| 457 | for (ULONG_PTR Page = BasePage + PageSize; Page <= LastPage; Page += PageSize) |
| 458 | { |
| 459 | if (!VirtualQueryEx(hProcess, (LPCVOID)Page, &Region, sizeof(Region))) |
| 460 | break; |
| 461 | |
| 462 | if (Region.State != lpBuffer->State || Region.Protect != lpBuffer->Protect) |
| 463 | break; |
nothing calls this directly
no test coverage detected