- Using WaitForMultipleObjects:
- Makes it possible, to wait for one or all of specified objects to change to a singled state
Question:
- How can one wait for a specified amount - such as
5
, for example
Usage
dwEvent = WaitForMultipleObjects(
maxExpectedConnections,
ghEventsA,
TRUE,//but wait for a specified number instead
INFINITE);