I am trying to write down a Win32 program that recovers corrupted files on CDs and DVDs.
I used ReadFile() function to read the corrupted file. ReadFile() is supposed to return ERROR_READ_FAULT value whenever any read error occurs.
Unfortunately, the program stucks at the ReadFile() function when there exist a read error, instead of returning ERROR_READ_FAULT value.
Is there any alternative API function for ReadFile() ?