#ifndef _NTRTL_H
/**
* The RtlUnlockHeap routine releases exclusive access to the specified heap previously acquired with RtlLockHeap.
*
* \param HeapHandle A handle to the heap to unlock.
* \return `TRUE` if the heap was unlocked, otherwise `FALSE`.
* \remarks Use a matching lock/unlock pair when a stable multi-step heap walk is required. Individual heap-operation serialization does not preserve a traversal across concurrent allocations. WalkHeap uses caller-owned cursor storage and can return STATUS_NO_MORE_ENTRIES; it does not transfer ownership of enumerated blocks.
*/
_When_(return != 0, _Releases_lock_(HeapHandle))
NTSYSAPI
BOOLEAN
NTAPI
RtlUnlockHeap(
_In_ HANDLE HeapHandle
);
View code on GitHubNo description available.