ReadFile
E724274
ReadFile is a core Windows API function in Kernel32.dll used to read data from files, pipes, and other I/O devices into a buffer.
All labels observed (1)
| Label | Occurrences |
|---|---|
| ReadFile canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288299 — 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: ReadFile Context triple: [Kernel32, exportsFunction, ReadFile]
-
A.
Read
Read is a village in Lancashire, England, situated near the River Calder and known for its residential community and local amenities.
-
B.
Read
Read is a surname shared by various notable individuals across fields such as politics, arts, and academia.
-
C.
ReadCoor
ReadCoor is a biotechnology company specializing in advanced spatial genomics and in situ sequencing technologies for high-resolution mapping of biological tissues.
-
D.
File on 4
File on 4 is a long-running BBC Radio 4 investigative journalism programme known for in-depth reports on current affairs, public policy, and social issues.
-
E.
TFile
TFile is a ROOT framework class that provides an interface for creating, reading, and writing ROOT data files used in high-energy physics and data analysis.
- 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: ReadFile Target entity description: ReadFile is a core Windows API function in Kernel32.dll used to read data from files, pipes, and other I/O devices into a buffer.
-
A.
Read
Read is a village in Lancashire, England, situated near the River Calder and known for its residential community and local amenities.
-
B.
Read
Read is a surname shared by various notable individuals across fields such as politics, arts, and academia.
-
C.
ReadCoor
ReadCoor is a biotechnology company specializing in advanced spatial genomics and in situ sequencing technologies for high-resolution mapping of biological tissues.
-
D.
File on 4
File on 4 is a long-running BBC Radio 4 investigative journalism programme known for in-depth reports on current affairs, public policy, and social issues.
-
E.
TFile
TFile is a ROOT framework class that provides an interface for creating, reading, and writing ROOT data files used in high-energy physics and data analysis.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf | Win32 function ⓘ |
| callingConvention | stdcall ⓘ |
| canReadFrom |
anonymous pipes
ⓘ
character devices ⓘ communications devices ⓘ consoles ⓘ files ⓘ named pipes ⓘ sockets via file handle abstractions ⓘ |
| category |
file I/O
ⓘ
low-level I/O ⓘ |
| definedInLibrary | Kernel32.dll NERFINISHED ⓘ |
| documentationSite | https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-readfile ⓘ |
| errorRetrieval | GetLastError ⓘ |
| exportedBy | Kernel32.dll ⓘ |
| headerDeclaredIn |
WinBase.h
ⓘ
Windows.h ⓘ |
| introducedIn | early versions of Win32 API ⓘ |
| module | Kernel32 NERFINISHED ⓘ |
| operatingSystem |
Windows
ⓘ
surface form:
Microsoft Windows
|
| parameter |
DWORD nNumberOfBytesToRead
ⓘ
HANDLE hFile ⓘ LPDWORD lpNumberOfBytesRead ⓘ LPOVERLAPPED lpOverlapped ⓘ LPVOID lpBuffer ⓘ |
| partOf |
Win32 API
NERFINISHED
ⓘ
Windows API NERFINISHED ⓘ |
| purpose | read data from a file or I/O device ⓘ |
| requires |
sufficient buffer size
ⓘ
valid file handle ⓘ |
| returns | BOOL ⓘ |
| returnValueMeaning |
nonzero indicates success
ⓘ
zero indicates failure ⓘ |
| supportsFeature |
EOF detection via bytes read
ⓘ
I/O completion ports when used with overlapped I/O ⓘ cancellation via CancelIo or CancelIoEx ⓘ |
| supportsMode |
overlapped (asynchronous) I/O
ⓘ
synchronous I/O ⓘ |
| supportsPlatform |
Windows 2000 and later
NERFINISHED
ⓘ
Windows 95 family NERFINISHED ⓘ Windows NT family NERFINISHED ⓘ |
| threadSafety | depends on handle usage and synchronization ⓘ |
| usedWith |
CancelIo
ⓘ
CloseHandle ⓘ CreateFile ⓘ ReadFileEx ⓘ SetFilePointer 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: ReadFile Description of subject: ReadFile is a core Windows API function in Kernel32.dll used to read data from files, pipes, and other I/O devices into a buffer.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.