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

Function AllocateVirtualMemory

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

Source from the content-addressed store, hash-verified

380 namespace MemoryManagement {
381 _IRQL_requires_max_(PASSIVE_LEVEL)
382 NTSTATUS AllocateVirtualMemory(HANDLE hProcess, SIZE_T Size, ULONG Protect, IN OUT PVOID* BaseAddress) {
383 return ZwAllocateVirtualMemory(hProcess, BaseAddress, 0, &Size, MEM_COMMIT, Protect);
384 }
385
386 _IRQL_requires_max_(PASSIVE_LEVEL)
387 PVOID AllocateVirtualMemory(HANDLE hProcess, SIZE_T Size, ULONG Protect) {

Callers 1

KbAllocUserMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected