title: How to Initialize Win32 HANDLE appropriately?
body: <p>Is it OK to initialize the Win32 <code>HANDLE</code> to <code>NULL</code>? Or are there any better or recommended way to initialize <code>HANDLE</code>s?</p>
  
  <p>For example,</p>
  
  <pre><code>void foo()
  {
     HANDLE hFile;
     hFile = CreateFile(/* necessary arguments*/);
  }
  </code></pre>
  
  <p>What shall i initialize the <code>hFile</code> with?</p>