Zebediah Figura (@zfigura) commented about dlls/kernelbase/file.c:
return FALSE; }
- stream_count++; while (ReadFile( h1, buffer, buffer_size, &count, NULL ) && count) {
char *p = buffer;
p = buffer;
if(total_written.QuadPart == 0 && !handle_progress_callback(progress, stream_count, total, total_written,buffer_size,
stream_written, &invoke_progress, CALLBACK_STREAM_SWITCH, h1, h2, param))
{
break;
}
Why is this inside of the loop?