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)
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Writing WDF Drivers||21 Oct 2019||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|
|Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||27 Apr 2020||OSR Seminar Space & ONLINE|