ReadFile

This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions.

BOOL ReadFile(
  HANDLE hFile,              
  LPVOID lpBuffer,           
  DWORD NumberOfBytesToRead,   
  LPDWORD lpNumberOfBytesRead,   
  LPOVERLAPPED lpOverlapped  
)
 

Limitations

The count is limited to 64K. The lpOverlapped parameter is not supported and the function fails if lpOverlapped is not NULL.