Group: Windows Sockets 2 (Winsock) - Library: ws2_32
Winsock: sending email messages (SMTP, port 25)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: reading email messages (POP3, port 110)
Winsock: connecting to a news server (NNTP, port 119)
WSAEVENT WSACreateEvent(void);
DECLARE INTEGER WSACreateEvent IN ws2_32
This function has no parameters.
If no error occurs, WSACreateEvent returns the handle of the event object. Otherwise, the return value is WSA_INVALID_EVENT.
The scope of an event object is limited to the process in which it is created.