HeapLock function Null safety kernel32

int HeapLock(
  1. int hHeap
)

Attempts to acquire the critical section object, or lock, that is associated with a specified heap.

BOOL HeapLock(
  HANDLE hHeap
);

Implementation

int HeapLock(int hHeap) => _HeapLock(hHeap);