HeapFree v0.1.0
Releases a block allocated from a Win32 heap.
Package: Windows
Microsoft documentation: HeapFree
Signature
func HeapFree(
heap: *opaque,
flags: uint32,
mem: *opaque
) -> bool32;
Parameters
| Name | Description |
|---|---|
heap | The same heap used to allocate mem. |
flags | Heap flags; normally 0. |
mem | Allocated block to release. |
Returns
bool32 — nonzero on success or zero on failure. The pointer is invalid after
a successful call.
See also
Windows— the package overview