title: Getting printer used by default by a process
body: <p>I need to print documents in a specific order.
  To do that,i use shellExecute api to print documents.</p>
  
  <p>Some documents may be quicker to print , so i have to wait for the document to be in the spooler before calling another shellExecute.</p>
  
  <p>For that, i use FindFirstPrinterChangeNotification, waitForSingleObject and FindNextPrinterChangeNotification.</p>
  
  <p>It works fine.
  But if the application started by shellExecute is already open, it's possible that it prints on another printer that the windows default printer. (if default printer has been changed )</p>
  
  <p>I could watch all printers, but, i'd prefer to know wich printer uses the started process and watch this printer. </p>
  
  <p>With shellExecuteEx, i can get a handle to the process started by this api.</p>
  
  <p>So, is there a way to know the printer used by default by a process ?</p>