Dear All,

I have a question here.
I'm using WaitForMultipleObjects function.
I have 4 lpHandles.
my software are running fine now.

If let said i change the nCount to 2 but i still pass in 4 lphandles objects,
Will the WaitForMultipleObjects return after the 2 event signaled or it will wait until all the 4 event signaled?
Thanks.

DWORD WINAPI WaitForMultipleObjects(
__in DWORD nCount,
__in const HANDLE *lpHandles,
__in BOOL bWaitAll,
__in DWORD dwMilliseconds
);