<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 15/6/29 下午10:54, Piotr Caban wrote:<br>
    </div>
    <blockquote cite="mid:55915C2D.1010506@gmail.com" type="cite">On
      06/29/15 16:42, YongHaoHu wrote:
      <br>
      <blockquote type="cite">
        <blockquote type="cite">Why are you handling ERROR_BAD_DEV_TYPE
          error here?
          <br>
          <br>
        </blockquote>
        I don't have special reason, just base on the test result on
        testbot.
        <br>
      </blockquote>
      It looks wrong. Could you please send the test here and point on
      what testbot machine it happens?
      <br>
      <br>
    </blockquote>
    <tt>Yes, it's wrong. According to your advice, I tested
      GetFileAttributesA and found that its last error handling was also
      not correct.</tt><tt> <br>
      (It means that many ntdll functions have problems with last_error
      handling.)<br>
    </tt><tt>The code I used is :    
      GetFileAttributesA("\\\\.\\PiPe\\tests_pipe.c");  printf("getlast
      err is %d\n", GetLastError());</tt><tt><br>
    </tt><tt>The output in wine is "getlast err is 66"  while "</tt><code>getlast
      err is 0" in testbot.<br>
      <br>
      Here is the test result:
      <a class="moz-txt-link-freetext" href="https://testbot.winehq.org/JobDetails.pl?Key=14832&log_101=1#k101">https://testbot.winehq.org/JobDetails.pl?Key=14832&log_101=1#k101</a>  
      Plesase ignore the failed msg.<br>
    </code>
    <meta charset="utf-8">
    <br>
  </body>
</html>