WPUCloseEvent

The WPUCloseEvent function closes an open event object handle.

BOOL WPUCloseEvent (
  WSAEVENT hEvent,   
  LPINT lpErrno      
);
 

Parameters

hEvent
[in] A handle to an open event object.
lpErrno
[out] A pointer to the error code.

Return Values

If the function succeeds, the return value is TRUE.

Otherwise, the return value is FALSE and a specific error code is available in lpErrno.

Error Codes

WSA_INVALID_HANDLE hEvent is not a valid event object handle.

QuickInfo

  Windows NT: Yes
  Windows: Yes
  Windows CE: Unsupported.
  Header: Declared in ws2spi.h.

See Also

WPUCreateEvent