The same file is opened in 3 threads with FILE_FLAG_OVERLAPPED, then
these 3 file handles associated to the same i/o completion port
respectively.
In each thread, ReadFile was called in overlapped mode(the lpOverlapped parameter is not NULL).
It
is strange that in WinXP, these ReadFile always return TRUE, means they
complete synchronously, but in Vista, these ReadFile always return
FALSE,and GetLastError returns ERROR_IO_PENDING.
Can I get these ReadFile asynchronously in XP?
Thanks