http://bugs.winehq.org/show_bug.cgi?id=17417
--- Comment #4 from Austin Lund austin.lund@gmail.com 2009-02-18 00:35:10 --- OK. I was wrong. The handle for the duplicated fd is not a console handle.
However, in the failure case NtQueryVolumeInformationFile in GetFileType does not return STATUS_SUCCESS and in the succeeding case it does.