 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-02-12 16:29:24 | | Modified: | 2003-02-12 16:32:27 | Visited in last 7 days: 18 |