The CeReadFile function reads data from a file, starting at the position indicated by the file pointer. After the read operation has been completed, the file pointer is adjusted by the number of bytes actually read. This is the RAPI version of the ReadFile function.
BOOL CeReadFile(HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
When writing applications for Windows CE versions 1.0 and 1.01, use the PegReadFile function.
For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.