Пожалуйста, обратите внимание, что пользователь заблокирован
hello, ive been trying to read a whole file with ReadFile() function. but how do i know how large the buffer needs to be? is there any way to calculate that?
example:
example:
C:
ReadFile(hFile, fileBuffer, BUFFERSIZE, &dwRead, 0);