Platform SDK: Windows Sockets |
The WPUCloseEvent function closes an open event object handle.
BOOL WPUCloseEvent ( WSAEVENT hEvent, LPINT lpErrno );
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 code | Meaning |
---|---|
WSA_INVALID_HANDLE | The hEvent is not a valid event object handle. |
Version: Requires Windows Sockets 2.0.
Header: Declared in Ws2spi.h.