###User Defined Function###
_WinAPI_ResetEvent

###Description###
Sets the specified event object to the nonsignaled state.

###Syntax###
#include <WinAPIProc.au3>
_WinAPI_ResetEvent ( $hEvent )


###Parameters###
@@ParamTable@@
$hEvent
	Handle to the event object. The _WinAPI_CreateEvent() function returns this handle.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True.
Failure 	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
The state of an event object remains nonsignaled until it is explicitly set to signaled by the _WinAPI_SetEvent()
function. This nonsignaled state blocks the execution of any threads that have specified the event object in a call to
one of the _WinAPI_Wait... functions.

The _WinAPI_ResetEvent() function is used primarily for manual-reset event objects, which must be set explicitly to the
nonsignaled state. Auto-reset event objects automatically change from signaled to nonsignaled after a single waiting
thread is released.


###Related###
_WinAPI_CreateEvent, _WinAPI_SetEvent


###See Also###
@@MsdnLink@@ ResetEvent
