mirror of
https://github.com/daeken/Zookeeper.git
synced 2024-05-28 17:47:35 -04:00
32 lines
782 B
C++
32 lines
782 B
C++
#pragma once
|
|
#include "Kernel.hpp"
|
|
|
|
void NTAPI kernel_MmPersistContiguousMemory(
|
|
IN PVOID BaseAddress,
|
|
IN ULONG NumberOfBytes,
|
|
IN BOOLEAN Persist
|
|
);
|
|
void * NTAPI kernel_MmAllocateContiguousMemory(uint32_t NumberOfBytes);
|
|
void * NTAPI kernel_MmAllocateContiguousMemoryEx(
|
|
uint32_t NumberOfBytes,
|
|
uint32_t low, uint32_t high,
|
|
uint32_t unk, uint32_t flags
|
|
);
|
|
|
|
NTSTATUS NTAPI kernel_NtAllocateVirtualMemory(
|
|
void **BaseAddress,
|
|
uint32_t *ZeroBits,
|
|
size_t *RegionSize,
|
|
uint32_t AllocationType,
|
|
uint32_t Protect
|
|
);
|
|
|
|
NTSTATUS NTAPI kernel_NtFreeVirtualMemory(
|
|
void **BaseAddress,
|
|
uint32_t *FreeSize,
|
|
uint32_t FreeType
|
|
);
|
|
|
|
uint32_t NTAPI kernel_MmQueryAllocationSize(void *base);
|
|
uint32_t NTAPI kernel_MmQueryAddressProtect(void *base);
|