The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I am newbie and currently working on notifying User mode thread from KMDF driver. From what I have read, I need to use Inverted IOCTL mechanism to notify the user mode thread from KMDF.
Following is the sequence that I am following:
1) Create user mode thread with overlapped flag
2) Create an event that will be used in hevent member of overlap structure(manual reset, non signalled).
3) Initialise the overlap structure. Also initialize the hevent flag with event created in step 2.
4) Issue an IOCTL(also pass the overlap structure).
5) Wait for the event to be signalled using GetOverlappedResultEx with timeout parameter to be INFINITE.
My question is , when the IOCTL is completed by the handler using WdfRequestComplete, do I need to explicitly set the event in order to signal the waiting thread, or will the user mode thread be automatically signalled once IOCTL is complete
|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!|
|Writing WDF Drivers||12 September 2022||Live, Online|
|Internals & Software Drivers||23 October 2022||Live, Online|
|Kernel Debugging||14 November 2022||Live, Online|
|Developing Minifilters||5 December 2022||Live, Online|