title: win32 ResetEvent does not reset manual event
body: <p>I have a manual resetevent that is always signalled. It does not reset when I tell it to (and it is created correctly as a manual reset event in CreateEvent). The code that sets the event normally is in an executable that hasn't even started yet.</p>
  
  <pre><code>while (1) {
      lStatus = GetObjStatus(m_pObj);
      if (lStatus == ST_UP)
          DoStuff();
  
      DWORD wait = WaitForSingleObject(handle, 5000);
      if (wait == WAIT_OBJECT_0) {
          DWORD d = ResetEvent(handle);
          FTRACE("MainLoop() Wakeup signaled %d", d);
      }
  }
  </code></pre>
  
  <p>This code generate millions of traces very fast even though the event is reset but never set.</p>