HeapFree v0.1.0

Source
Releases a block allocated from a Win32 heap.

Package: Windows

Microsoft documentation: HeapFree

Signature

func HeapFree(
    heap: *opaque,
    flags: uint32,
    mem: *opaque
) -> bool32;

Parameters

NameDescription
heapThe same heap used to allocate mem.
flagsHeap flags; normally 0.
memAllocated block to release.

Returns

bool32 — nonzero on success or zero on failure. The pointer is invalid after a successful call.

See also