title: FindFirstFile cout problems
body: <p>I need to find files with certain extentions, for example *.doc, *.docx
  First, i'm looking for all files</p>
  
  <pre><code>lstrcat(szPath, L"*");
  hFind = FindFirstFile(szPath, &amp;fdFindData);
  </code></pre>
  
  <p>Then, i compare founded file with extention i need</p>
  
  <pre><code>PCWSTR str1 = L".doc";
  
  if(NULL != StrStr(fdFindData.cFileName,str1)) {
          FoundFileFunction(fdFindData.cFileName);
           }
  </code></pre>
  
  <p>And then I got problem with cout</p>
  
  <pre><code>VOID FoundFileFunction(HANDLE hFile)
  {
      std::cout&lt;&lt;hFile;
  }
  </code></pre>
  
  <p>This is output:</p>
  
  <pre><code>009AE50000
  009AEB0000
  009AEBBB00
  </code></pre>
  
  <p>and so on. What's the problem?</p>