Minggu, 27 Februari 2011

Why does WaitForMultipleObjects return ERROR_INVALID_PARAMETER when all the parameters look valid to me?

A customer asked for assistance with the WaitForMultipleObjects function:I am getting ERROR_INVALID_PARAMETER when calling WaitForMultipleObjects even though all the parameters are valid as far as I can tell. I've narrowed it down to this simple program. int main(){ int i; HANDLE Handles[4]; // Create the events for (i = 0; i < 4; i++) {  Handles[i] = CreateEvent(NULL, FALSE, FALSE, TEXT("Test"))

Tidak ada komentar:

Posting Komentar