HeapFree
E724273
HeapFree is a Windows API function that releases a memory block previously allocated from a specified heap.
All labels observed (1)
| Label | Occurrences |
|---|---|
| HeapFree canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288298 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: HeapFree Context triple: [Kernel32, exportsFunction, HeapFree]
-
A.
Heap
Heap is the surname of Imogen Heap, an English singer-songwriter, producer, and audio engineer known for her innovative electronic music and vocal processing.
-
B.
HCKE
HCKE is the official abbreviation for HC Košice, a professional ice hockey club based in Košice, Slovakia.
-
C.
HAP
HAP is Apple's HomeKit Accessory Protocol, a communication standard that defines how smart home accessories securely interact with Apple devices and the Home app.
-
D.
HAF
HAF is the commonly used abbreviation for the Hellenic Air Force, the air warfare branch of Greece’s armed forces.
-
E.
Stack
Stack is a cross-platform build tool and package manager for Haskell that simplifies project setup, dependency management, and reproducible builds.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: HeapFree Target entity description: HeapFree is a Windows API function that releases a memory block previously allocated from a specified heap.
-
A.
Heap
Heap is the surname of Imogen Heap, an English singer-songwriter, producer, and audio engineer known for her innovative electronic music and vocal processing.
-
B.
HCKE
HCKE is the official abbreviation for HC Košice, a professional ice hockey club based in Košice, Slovakia.
-
C.
HAP
HAP is Apple's HomeKit Accessory Protocol, a communication standard that defines how smart home accessories securely interact with Apple devices and the Home app.
-
D.
HAF
HAF is the commonly used abbreviation for the Hellenic Air Force, the air warfare branch of Greece’s armed forces.
-
E.
Stack
Stack is a cross-platform build tool and package manager for Haskell that simplifies project setup, dependency management, and reproducible builds.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
heap management function ⓘ |
| applicableTo |
default process heap
ⓘ
process private heaps ⓘ |
| belongsToFamily | Windows Heap Functions NERFINISHED ⓘ |
| category | Memory management API ⓘ |
| commonlyUsedWith |
HeapAlloc
ⓘ
HeapCreate ⓘ HeapDestroy NERFINISHED ⓘ HeapReAlloc ⓘ |
| declaredInHeader | heapapi.h ⓘ |
| documentationSite | Microsoft Learn NERFINISHED ⓘ |
| effect |
may trigger heap consistency checks depending on flags
ⓘ
releases memory back to the heap ⓘ |
| errorCondition |
fails if hHeap is not a valid heap handle
ⓘ
fails if lpMem is not a valid block in the specified heap ⓘ |
| errorReporting | GetLastError can be called when HeapFree fails ⓘ |
| exportedBy | Kernel32.dll NERFINISHED ⓘ |
| freesMemoryBlock | previously allocated heap block ⓘ |
| freesMemoryFrom | specified heap ⓘ |
| hasCallingConvention | WINBASEAPI ⓘ |
| hasLanguageBinding |
C
ⓘ
C++ NERFINISHED ⓘ |
| hasParameter |
DWORD dwFlags
ⓘ
HANDLE hHeap ⓘ LPVOID lpMem ⓘ |
| hasReturnType | BOOL ⓘ |
| introducedFor | Win32 API NERFINISHED ⓘ |
| linkage | import library Kernel32.lib ⓘ |
| parameterRole |
dwFlags specifies heap free options
ⓘ
hHeap identifies the heap from which the memory was allocated ⓘ lpMem points to the memory block to be freed ⓘ |
| platform |
Windows desktop applications
ⓘ
Windows server applications ⓘ |
| relatedConcept |
dynamic memory management
ⓘ
heap corruption detection ⓘ |
| requiresHeader | windows.h ⓘ |
| returnsOnFailure | zero ⓘ |
| returnsOnSuccess | nonzero value ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| supportsFlag |
HEAP_FREE_CHECKING_ENABLED
ⓘ
HEAP_NO_SERIALIZE ⓘ HEAP_TAIL_CHECKING_ENABLED ⓘ |
| threadSafety | depends on heap serialization options ⓘ |
| usageConstraint |
behavior is undefined if lpMem is invalid or already freed
ⓘ
hHeap must be a valid heap handle ⓘ lpMem must be a pointer returned by a heap allocation function for the same heap ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: HeapFree Description of subject: HeapFree is a Windows API function that releases a memory block previously allocated from a specified heap.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.