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.
WSA_INVALID_HANDLE | hEvent is not a valid event object handle. |
Windows NT: Yes
Windows: Yes
Windows CE: Unsupported.
Header: Declared in ws2spi.h.