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 have 1.27 KMDF.
I reuse WDFWORKITEM and WDFTIMER(passive-level, non-periodic, not no-wake, not high-resolution) objects.
1) If I do WdfWorkItemEnqueue for the same WDFWORKITEM from its EvtWorkItem(), can the EvtWotkItem() run before current EvtWorkItem() finishes?
(I have seen this happening between different WDFWORKITEMs')
2) If I use WdfStartTimer(0), I assume the EvtTimerFunc runs between 0 and 15.6ms? (or it could be between 15-30ms?)
3) Does below imply that Passive-level timers can't be high-resolution (can make sense)?
Instead, it calls the callback function once, after the WdfTimerStart method's DueTime has elapsed. (The time period must be zero if WdfTimerCreate sets the execution level to WdfExecutionLevelPassive.)
To create a high resolution timer, set the UseHighResolutionTimer member of WDF_TIMER_CONFIG to WdfTrue, and then adjust the Period value to the desired resolution.
|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||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||8 March 2021||LIVE ONLINE|