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/
Hello OSR community, of course i'm newbie in kernel programming. I have some question after tried a lot:
I have to write some code to solve a simple task: take communication between User-Client and Driver (Non PnP Driver), no device plug in.
I referenced sample "nonpnp" from MS's git (1) and try to rewrite it but only support BUFFERED_IO method. And... it have an error from client: 0x1 (ERROR_INVALID_FUNCTION).
After compare with MS's codes, i found that my codes do not have "Device Context" variable, does it the main reason?. So, i wanna ask you:
1.What is extractly "Device Context"? Does it useful in my project? I just know that is something like "WDM Extension" but have no clues how to use it and its difference on every samples.:(
2.KMDF is strong when programming in C++? I find many samples and source code, but they use only C and not C++.
thank you for reading my gg trans post.
(My codes is in attached files)
|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|