#ifndef _NTRTL_H
NTSYSAPI
VOID
NTAPI
RtlProtectHeap(
_In_ PVOID HeapHandle,
_In_ BOOLEAN MakeReadOnly
);
View code on GitHub
Address of heap.
If set, memory is protected to PAGE_READONLY
. If zero, protect with PAGE_READWRITE
.
Result is address of protected or unprotected heap.