Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function closes an open event object handle.
BOOL WPUCloseEvent(WSAEVENT hEvent,LPINT lpErrno);
Parameters
- hEvent
[in] Handle to an open event object. - lpErrno
[out] 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.
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
Send Feedback on this topic to the authors