HeapAlloc
E724272
HeapAlloc is a Windows API function that allocates a block of memory from a specified heap and returns a pointer to the allocated region.
All labels observed (1)
| Label | Occurrences |
|---|---|
| HeapAlloc canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288297 — 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: HeapAlloc Context triple: [Kernel32, exportsFunction, HeapAlloc]
-
A.
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.
-
B.
H-blocks
H-blocks were the distinctive H-shaped cell blocks within HM Prison Maze in Northern Ireland, notorious for housing paramilitary prisoners during the Troubles and for being the site of protests and hunger strikes.
-
C.
HCP
HCP is a nonprofit arts organization in Houston dedicated to promoting the art and practice of photography through exhibitions, education, and community programs.
-
D.
HCKE
HCKE is the official abbreviation for HC Košice, a professional ice hockey club based in Košice, Slovakia.
-
E.
HUP
HUP is a major academic medical center in Philadelphia that serves as the flagship teaching hospital of the University of Pennsylvania's health system.
- 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: HeapAlloc Target entity description: HeapAlloc is a Windows API function that allocates a block of memory from a specified heap and returns a pointer to the allocated region.
-
A.
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.
-
B.
H-blocks
H-blocks were the distinctive H-shaped cell blocks within HM Prison Maze in Northern Ireland, notorious for housing paramilitary prisoners during the Troubles and for being the site of protests and hunger strikes.
-
C.
HCP
HCP is a nonprofit arts organization in Houston dedicated to promoting the art and practice of photography through exhibitions, education, and community programs.
-
D.
HCKE
HCKE is the official abbreviation for HC Košice, a professional ice hockey club based in Košice, Slovakia.
-
E.
HUP
HUP is a major academic medical center in Philadelphia that serves as the flagship teaching hospital of the University of Pennsylvania's health system.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
heap management function ⓘ |
| allocatesFrom | specified heap handle ⓘ |
| allocationGranularity | bytes as requested in dwBytes ⓘ |
| applicableTo | process heaps ⓘ |
| availability |
Windows Server
NERFINISHED
ⓘ
Windows subsystem for Windows Store apps (with restrictions) NERFINISHED ⓘ desktop Windows ⓘ |
| belongsToLibrary | Kernel32.dll NERFINISHED ⓘ |
| callingConvention | WINAPI ⓘ |
| category | dynamic memory allocation ⓘ |
| contrastWith |
GlobalAlloc
ⓘ
LocalAlloc NERFINISHED ⓘ malloc ⓘ |
| declaredIn | heapapi.h ⓘ |
| documentationSite | Microsoft Learn NERFINISHED ⓘ |
| errorReporting | GetLastError ⓘ |
| exportedBy | Kernel32.dll NERFINISHED ⓘ |
| failsIf |
insufficient heap memory
ⓘ
invalid heap handle ⓘ |
| flag |
HEAP_GENERATE_EXCEPTIONS
ⓘ
HEAP_NO_SERIALIZE ⓘ HEAP_ZERO_MEMORY ⓘ |
| introducedIn | Win32 API NERFINISHED ⓘ |
| memoryOwnership | caller must free with HeapFree ⓘ |
| namespace | global Win32 API namespace ⓘ |
| parameter |
DWORD dwFlags
ⓘ
HANDLE hHeap ⓘ SIZE_T dwBytes ⓘ |
| partOf | Windows heap management API NERFINISHED ⓘ |
| requires | valid heap handle ⓘ |
| requiresHeader | windows.h ⓘ |
| returns | pointer to allocated memory block ⓘ |
| returnsOnFailure | NULL ⓘ |
| returnType | LPVOID ⓘ |
| securityConsideration |
caller must avoid buffer overflows
ⓘ
pointer must be validated before use ⓘ |
| supports | variable-size allocations ⓘ |
| targetPlatform | Microsoft Windows NERFINISHED ⓘ |
| threadSafety | synchronized by default unless HEAP_NO_SERIALIZE is specified ⓘ |
| usedFor | manual heap management in Windows applications ⓘ |
| usedInLanguage |
C
NERFINISHED
ⓘ
C++ NERFINISHED ⓘ |
| usedWith |
GetProcessHeap
NERFINISHED
ⓘ
HeapCreate ⓘ HeapDestroy ⓘ HeapFree ⓘ HeapReAlloc NERFINISHED ⓘ |
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: HeapAlloc Description of subject: HeapAlloc is a Windows API function that allocates a block of memory from a specified heap and returns a pointer to the allocated region.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.