I'd like to know what is the expected behavior for the _lread functions (kerlnel.dll # 82 and kernel32.dll # 596) when uBytes == 0. This is not described in the API spec.
I.e., if we ask to read 0 bytes, what will happen:
an error? which one?
what is returned by the function? 0? -1?
does that depend on wether the EOF has been reached?
does that depend on the windows' version?