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.
The WPUCloseEvent function closes an open event object handle.
Syntax
BOOL WPUCloseEvent(
[in] WSAEVENT hEvent,
[out] LPINT lpErrno
);
Parameters
[in] hEvent
Handle to an open event object.
[out] lpErrno
Pointer to the error code.
Return value
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 |
---|---|
The hEvent parameter is not a valid event object handle. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ws2spi.h |