#ifndef _NTRTL_H
NTSYSAPI
VOID
NTAPI
RtlProtectHeap(
_In_ HANDLE HeapHandle,
_In_ BOOLEAN MakeReadOnly
);
View code on GitHubNo description available.
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.