Hi,

I wish to know which event was signalled when my thread is waiting on
more than one events using
KeWaitForMultipleOjbects

. Depending upon which event was set to signalled state my code path varies.
Once the wait is satisfied, I wish to know which event has been signalled.
How can I do this?


Regds.
Nitin

Re: using KeWaitForMultipleOjbects by DavidP

DavidP
Wed Feb 08 23:20:43 CST 2006

It can return STATUS_WAIT_0 through STATUS_WAIT_63. More here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Kernel_r/hh/Kernel_r/k105_03342f87-b6a7-4e26-a7e8-5a8157026c4a.xml.asp

Make sure you read the part about the WaitBlockArray parameter also.

David