WPUCloseEvent Function
The WPUCloseEvent function closes an open event object handle.
Syntax
BOOL WPUCloseEvent(
__in WSAEVENT hEvent,
__out LPINT lpErrno
);
Parameter
hEvent [in]
Handle to an open event object.lpErrno [out]
Pointer to the error code.
Rückgabewert
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 parameter is not a valid event object handle. |
Anforderungen
Mindestens unterstützter Client |
Windows 2000 Professional |
Mindestens unterstützter Server |
Windows 2000 Server |
Header |
Ws2spi.h |