WPUResetEvent (Windows CE 5.0)
This 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);
Parameters
- hEvent
[in] Handle that identifies an open event object. - lpErrno
[out] Pointer to the error code.
Return Values
If no error occurs, this function returns the value TRUE. Otherwise, FALSE is returned, and a specific error code is available in lpErrno.
The following table shows the possible error code.
Error value | Description |
---|---|
WSA_INVALID_HANDLE | The hEvent is not a valid event object handle. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ws2spi.h.
Link Library: Ws2.lib.
See Also
WPUCreateEvent | WPUSetEvent | WPUCloseEvent
Send Feedback on this topic to the authors