title: Get all windows that have taskbar icon
body: <p>I am trying to get all the window handles of applications that have a taskbar icon only.</p>
  
  <p>The solutions I have converted to C# that have failed:</p>
  
  <p><a href="https://stackoverflow.com/questions/210504/enumerate-windows-like-alt-tab-does/210519#210519">Enumerate windows like alt-tab does</a></p>
  
  <p><a href="https://stackoverflow.com/questions/210504/enumerate-windows-like-alt-tab-does/214213#214213">Enumerate windows like alt-tab does</a></p>
  
  <p><a href="https://stackoverflow.com/q/210504/733333">Enumerate windows like alt-tab does</a></p>
  
  <p>And a couple that I lost track of already.
  All these solutions either crash or bring up windowless processes like svchost, plugin processes, etc.</p>
  
  <p>Basically I just need the windows that are actively available in the task bar with icons.
  I am using the window handle of </p>
  
  <pre><code>Process.MainWindowHandle
  </code></pre>
  
  <p>What are some working solutions to this?  Is there a thread with a working solution that I missed?</p>