title: Wait timed out of WaitForSingleObject
body: <p>I am using <code>WaitForMultipleObject</code> function with waitForAll parameter = true. Here using a  <code>std::vector</code> of handle object to wait for. If this function is timed out, then how can i identify that waiting on  which handle is timed out??.</p>
  
  <pre><code>if(WAIT_OBJECT != WaitForMultipleObject(vector.size(), vector.data(), true, 16000))
  {
  //get the event that causes the wait to time out(assume that only one object is timed out.others are successfully set.)
  }
  </code></pre>