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

Function XMemFree

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

Source from the content-addressed store, hash-verified

635 flAllocationType |= MEM_LARGE_PAGES;
636
637 if (attr.s.dwMemoryType >= XALLOC_MEMTYPE_GRAPHICS_1 &&
638 attr.s.dwMemoryType <= XALLOC_MEMTYPE_GRAPHICS_6)
639 {
640 flAllocationType |= MEM_GRAPHICS;
641 }
642
643 return EraVirtualAlloc(nullptr, dwSize, flAllocationType, PAGE_READWRITE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected