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/
Interesting move from Microsoft (after Linux did this already a while ago).
Translated from German with DeepL.com from https://golem.de/news/entwicklung-microsoft-legt-rust-framework-fuer-windows-treiber-offen-2309-177932.html
After internal experiments with Rust, Microsoft now apparently wants to encourage its partners to use Rust for drivers.
Microsoft has published a very extensive repository with numerous individual projects as open source on Github, which should enable the development of Windows drivers in the Rust programming language. According to the description, the work comes from the Surface team, i.e. Microsoft's hardware department. It can therefore be assumed that Rust drivers are already used for Surface devices or are at least planned.
Specifically, the projects are about Rust packages (crates), with which the usual driver models WDM and WDF can be implemented, i.e. also kernel and user mode drivers. System services (Win32) should also be possible with it. The Crates cover above all idiomatic API connections to the Windows Development Kit (WDK), which support Safe Rust. In addition FFI connections, macros as well as libraries come to the Panic treatment, to the memory allocation or to the building and linking of the drivers themselves.
Already in the spring of this year Microsoft announced to rely on Rust for some important system components up to the Windows kernel. This is primarily to facilitate maintenance and ultimately also to increase security by being able to rely on Rust's security guarantees. Language bindings for the classic Win32 API for Rust have also been available for more than two years.
However, Microsoft does not want to officially support the work for Rust drivers presented now, nor does it want to recommend them for commercial use. It is rather an experiment to involve the community. For those interested, the company provides a sample driver that was created with the new Rust drivers.
|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!
|13-17 May 2024
|1-5 Apr 2024
|Internals & Software Drivers
|11-15 Mar 2024
|Writing WDF Drivers
|20-24 May 2024