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.


BOOL WPUResetEvent(
  WSAEVENT hEvent,
  LPINT lpErrno 
);

hEvent

[in] Handle that identifies an open event object.

lpErrno

[out] Pointer to the error code.

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.

Header

ws2spi.h

Library

Ws2.lib

Show: