WPUSetEvent function
The WPUSetEvent function sets the state of the specified event object to signaled. This call is safe for use within interrupt context.
Syntax
BOOL WPUSetEvent( _In_ WSAEVENT hEvent, _Out_ LPINT lpErrno );
Parameters
- hEvent [in]
-
Handle that identifies an open event object.
- lpErrno [out]
-
Pointer to the error code.
Return value
If no error occurs, the WPUSetEvent function returns the value TRUE. Otherwise, FALSE is returned, and a specific error code is available in lpErrno.
| Error code | Meaning |
|---|---|
|
The hEvent parameter is not a valid event object handle. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also