--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > I put COWAIT_INPUTAVAILABLE in, com failed to produce > any handles (meaning probably calls like CoCreateInstance failed: I didn't go > into debug mode to find out). >
So, the documentation was indeed correct! I supposed the returning part was incorrect. If set, the call to CoWaitForMultipleHandles will return S_OK if input exists for the queue, even if the input has been seen (but not removed) using a call to another function, such as PeekMessage.
