title: How can I tell if a process has a graphical interface?
body: <p>I'm using automation to test an application, but sometimes I want to start the application via a batch file. When I run "process.WaitForInputIdle(100)" I get an error:</p>
  
  <p>"WaitForInputIdle failed.  This could be because the process does not have a graphical interface."</p>
  
  <p>How can I tell if the process has a graphical interface or not?</p>