Using Win32 functions in Visual FoxPro Image Gallery
Windows Sockets 2 (Winsock)
..msdn
accept
bind
closesocket
gethostbyaddr
gethostbyname
gethostname
getnameinfo
getprotobyname
getprotobynumber
getservbyname
getservbyport
getsockopt
htonl
htons
inet_addr
inet_ntoa
listen
ntohl
ntohs
recv
recvfrom
send
sendto
setsockopt
socket
WSACleanup
WSACloseEvent
WSAConnect
WSACreateEvent
WSAEnumProtocols
WSAEventSelect
WSAGetLastError
WSARecv
WSASend
WSAStartup
WSAWaitForMultipleEvents
ws_connect
ws_select
Code examples:
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading email messages (POP3, port 110)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: sending email messages (SMTP, port 25)
WSAWaitForMultipleEvents
..msdn    Add comment     W32 Constants      Translate this page
The WSAWaitForMultipleEvents function returns either when one or all of the specified event objects are in the signaled state, or when the time-out interval expires.
Code examples:
Winsock: sending email messages (SMTP, port 25)
Winsock: connecting to a news server (NNTP, port 119)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: reading email messages (POP3, port 110)
Declaration:
DWORD WSAWaitForMultipleEvents(
  DWORD cEvents,
  const WSAEVENT* lphEvents,
  BOOL fWaitAll,
  DWORD dwTimeout,
  BOOL fAlertable
);

FoxPro declaration:
DECLARE INTEGER WSAWaitForMultipleEvents IN ws2_32;
    INTEGER   cEvents,;
    INTEGER @ lphEvents,;
    INTEGER   fWaitAll,;
    INTEGER   dwTimeout,;
    INTEGER   fAlertable

Parameters:
cEvents
[in] Indicator specifying the number of event object handles in the array pointed to by lphEvents.

lphEvents
[in] Pointer to an array of event object handles.

fWaitAll
[in] Indicator specifying the wait type.

dwTimeout
[in] Indicator specifying the time-out interval, in milliseconds.

fAlertable
[in] Indicator specifying whether the function returns when the system queues an I/O completion routine for execution by the calling thread.
Return value:
If the WSAWaitForMultipleEvents function succeeds, the return value indicates the event object that caused the function to return.
My comment:
Related functions: WSACloseEvent, WSAEventSelect, WSACreateEvent.
Word Index links for the WSAWaitForMultipleEvents :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-02-12 16:29:24
Modified: 2003-02-12 16:32:27
Visited in last 7 days: 30
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.2.110)
12 sec.Function: 'SQLFetch'
Function group: 'ODBC API'
29 sec.Function: 'waveInGetNumDevs'
Function group: 'Windows Multimedia'
53 sec.Function: 'FreeLibrary'
1.07 min.
Function group: 'Filled Shape'
1.23 min.Function: 'GetTextMetrics'
Function group: 'Font and Text'
1.43 min.Function: 'SQLConnect'
Function group: 'ODBC API'
1.65 min.
Function group: 'Color'
1.83 min.
Function group: 'Icon'
2.03 min.Function: 'DragFinish'
Function group: 'Shell Functions'
2.27 min.Example: 'How to enumerate, add and delete shares on the local computer (WinNT/XP)'
Google
Advertise here!