Writing your first driver
This section provides three exercises that guide you through writing and building small drivers. The first exercise is based on the User-Mode Driver Framework (UMDF), and the other two exercises are based on the Kernel-Mode Driver Framework (KMDF).
Although UMDF is the preferred model for reasons of stability and robustness, KMDF provides an interesting opportunity to write a very small Hello World driver. With KMDF, you can write a very short driver that implements only two functions.
The exercises do not depend on each other, so you can choose to do only one or all of them, in any order. The main point is that you get some early hands-on experience with coding and building a driver.
- Writing a UMDF driver based on a template
- Writing a very small KMDF driver
- Writing a KMDF driver based on a template