MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / FreeVirtualMemory

Function FreeVirtualMemory

Kernel-Bridge/API/ProcessesUtils.cpp:395–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393
394 _IRQL_requires_max_(PASSIVE_LEVEL)
395 NTSTATUS FreeVirtualMemory(HANDLE hProcess, PVOID BaseAddress) {
396 SIZE_T RegionSize = 0;
397 return ZwFreeVirtualMemory(hProcess, &BaseAddress, &RegionSize, MEM_RELEASE);
398 }
399
400 enum MEMORY_OPERATION_TYPE {
401 MemRead,

Callers 1

KbFreeUserMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected