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/
Hi. I'm trying to emulate the example at https://github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay. The example compiles as-is, but when trying to adapt this code into my own project I encounter a slew of errors related to the headers.
In some cases I have found reordering them works, but:
1. I can't find an order that works in my project, and,
2. the example project contains an include ordering that doesn't work in mine!
I can see that the VS project for the example contains more external references. Notably
iddcx.h is automatically resolved to its versioned folder whereas I can not figure out how to do that.
wrl.h produces fun errors as well, most of them related to expecting an identifier or missing a semicolon, but also gives
#error WRL requires C++ compilation (use a .cpp suffix). If I include
iddcx.h by versioned folder I get an error on an enum definition with storage type specified.
I am hoping someone knows the proper dance. Thanks in advance. My code (mostly the generated skeleton) can be seen here: https://github.com/R030t1/VirtualMonitor. I could just shut up and use the example but I'd like to know what exactly is going wrong.
|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|