NTSYSAPI NTSTATUS ZwAllocateVirtualMemory(
HANDLE ProcessHandle,
PVOID *BaseAddress,
ULONG ZeroBits,
PVOID RegionSize,
ULONG AllocationType,
ULONG Protect
);
NTSTATUS Ret= null;
PVOID BaseAddress = 0;
SIZE_T size = 512;
Ret = ZwAllocateVirtualMemory(NtCurrentProcess(),
&BaseAddress,
0,
&size,
MEM_COMMIT,
PAGE_READWRITE
//ZwAllocateVirtualMemory
并不返回了
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课