"Robert Shearman" <[EMAIL PROTECTED]> writes: > WaitForSingleObject(hIoCompletion, INFINITE) returns straight away with > WAIT_OBJECT_0 on Windows. Using it would break this behaviour (which of > course any sane apps would not depend on).
I must be missing something, but I don't see how your code can do that. You are waiting on the handle anyway so the behavior will be the same if you use WaitForSingleObject. If that is not supposed to work then you need to create another object to wait on, and that's true whether you use WaitForSingleObject or not. -- Alexandre Julliard [EMAIL PROTECTED]