CFile::ReadHuge
DWORD ReadHuge( void* lpBuffer**, DWORD** dwCount );
throw(CFileException);
Return Value
The number of bytes transferred to the buffer. Note that for all CFile objects, the return value can be less than dwCount if the end of file was reached.
Parameters
lpBuf
Pointer to the user-supplied buffer that is to receive the data read from the file.
dwCount
The maximum number of bytes to be read from the file. For text-mode files, carriage return–linefeed pairs are counted as single characters.
Remarks
Reads data into a buffer from the file associated with the CFile object.
This function differs from Read in that more than 64K–1 bytes of data can be read by ReadHuge. This function can be used by any object derived from CFile.
Note ReadHuge is provided only for backward compatibility. ReadHuge and Read have the same semantics under Win32.
CFile Overview | Class Members | Hierarchy Chart
See Also CFile::Write, CFile::WriteHuge, CFile::Read