title: GetFileAttributes fails with absolute paths
body: <p>I was making a simple program with WinAPI to check if a directory exists, this is the function code:</p>
  
  <pre><code>BOOL directoryExists( LPCSTR path ) {
      DWORD pathAttributes = GetFileAttributes ( path );
  
      return pathAttributes != INVALID_FILE_ATTRIBUTES 
                    &amp;&amp; pathAttributes == FILE_ATTRIBUTE_DIRECTORY;
   }
  </code></pre>
  
  <p>Then I test it with this line of code in my main:</p>
  
  <pre><code> std::cout &lt;&lt; ( ( directoryExists( "C:\\Users\\Admin\\Desktop" ) ?  
                            "Directory found"  : "Directory not found"  ) 
            &lt;&lt; static_cast&lt; char &gt;( 0xA );
  </code></pre>
  
  <p>It looks like I get "Directory not found" no matter what absolute path I try to input. Anyway with relative paths it succeeds!</p>
  
  <p>Where did I fail? :|</p>
  
  <p>Thanks in advance!</p>