MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / EraVirtualAlloc

Function EraVirtualAlloc

projects/WinDurango.KernelX/src/kernelx.cpp:348–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 if (lpAddress && (flAllocationType & MEM_COMMIT))
347 {
348 HANDLE hMap = CreateFileMapping2(INVALID_HANDLE_VALUE, nullptr, FILE_MAP_READ | FILE_MAP_WRITE, PAGE_READWRITE,
349 SEC_RESERVE, dwSize, nullptr, nullptr, 0);
350
351 if (!hMap)
352 {
353 SetLastError(ERROR_OUTOFMEMORY);
354 return nullptr;

Callers 2

MapTitlePhysicalPagesFunction · 0.85
XMemAllocDefaultFunction · 0.85

Calls 1

EraVirtualAllocExFunction · 0.85

Tested by

no test coverage detected