WPUResetEvent (Compact 2013)
3/26/2014
This function resets the state of the specified event object to nonsignaled. In Win16 environments, this call is safe for use within interrupt context.
Syntax
BOOL WPUResetEvent(
WSAEVENT hEvent,
LPINT lpErrno
);
Parameters
- hEvent
[in] Handle that identifies an open event object.
- lpErrno
[out] Pointer to the error code.
Return Value
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
Header |
ws2spi.h |
Library |
Ws2.lib |
See Also
Reference
Winsock SPI Functions
WPUCreateEvent
WPUSetEvent
WPUCloseEvent