DB>MsgWaitForMultipleObjects
DB>nCount [in]
DB> The number of object handles in the array pointed to by pHandles. The maximum number of object handles is MAXIMUM_WAIT_OBJECTS minus one.
DB>почему у тебя там 1 ?
вероятно потому что он ждет одного события