Reference

HeapLock(3w)

NAME

HeapLock (KERNEL32.@)

SYNOPSIS

BOOL HeapLock
(
HANDLE heap
)

PARAMS

[In] Handle of heap to lock for exclusive access.

DESCRIPTION

Attempts to acquire the critical section object for a specified heap.

RETURNS

TRUE: Success

FALSE: Failure

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/heap.c".

Debug channel "heap".

History