The WPUResetEvent function resets the state of the specified event object to nonsignaled. In Win16 environments, this call is safe for use within "interrupt context".
BOOL WPUResetEvent (
WSAEVENT hEvent,
LPINT lpErrno
);
If no error occurs, the WPUResetEvent function returns the value TRUE. Otherwise, the FALSE value is returned, and a specific error code is available in lpErrno.
WSA_INVALID_HANDLE | hEvent is not a valid event object handle. |
Windows NT: Yes
Windows: Yes
Windows CE: Unsupported.
Header: Declared in ws2spi.h.
WPUCreateEvent, WPUSetEvent, WPUCloseEvent