Chapter 8. Kernel Mode Installation and Build
In this chapter, we will cover the kernel mode installation and build approach.
Although KMDF supports a completely new device-driver interface (DDI) and programming model, the basic process of implementing and building a KMDF driver still has much in common with Windows Driver Model (WDM). If you are new to driver development, here are a few key points:
• Drivers are normally written in C. C++ can be used for driver development in only a very limited way. You can safely use some basic C++ features, but the object-oriented features of C++ produce generated code that is not guaranteed to work correctly in kernel mode.
• You can use a .cpp extension with the C++ compiler to compile driver code. The ...
Get Windows 7 Device Driver now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.