I was asked from some reasons replace inside NDIS driver the NdisWaitEvent() on KeWaitForSingleObject().
I like to keep base algorithm and going inside NdisWaitEvent() dissembler (Windbg) to check which parameters it defines for KeWaitForSingleObject().
I found, that 4th parameter is translated as NULL (FALSE):
_ KeWaitForSingleObject( &, 0 /Executive/, 0 /KernelMode/, 0 /FALSE!?!/, &); _
The problem in MSDN 4th parameter described as:
Specifies a Boolean value that is TRUE if the wait is alertable and FALSE otherwise.
means the KeWaitForSingleObject() will not be completed by clearing appropriate event. if 4th parameter FALSE (timeout is NULL!) !?!
Is it MSDN mistake?
Or I understand term "alertable" not right?
Thanks & Regards,
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||20 Apr 2020||LIVE ONLINE|
|Writing WDF Drivers||11 May 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|