WSACreateEvent (Windows CE 5.0)

Send Feedback

This function creates a new event object.

WSAEVENT  WSACreateEvent (void);

Parameters

None.

Return Values

If the function fails, the return value is set to NULL. To receive extended error information call WSAGetLastError.

Remarks

This function is used to create an event object that is manually reset with an initial nonsignaled state. Winsock event objects are system objects in Windows CE environments. Therefore, if a Windows CE application requires auto reset events, it can call the native WSACreateEvent function directly. The scope of an event object is limited to the process in which it is created.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winsock2.h.
Link Library: Ws2.lib.

See Also

WSACloseEvent | WSAEnumNetworkEvents | WSAEventSelect | WSAGetLastError | WSAGetOverlappedResult | WSARecv | WSARecvFrom | WSAResetEvent | WSASend | WSASendTo | WSASetEvent | WSAStartup

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.