Testing the Driver

Even though the Minimal driver is far from being useful, its operation can be verified in several ways. In particular, it can be tested to ensure that it

  • Compiles and links successfully

  • Loads and unloads without crashing the system

  • Creates device objects and Win32 symbolic links

  • Releases any resources when it unloads

While these goals may not seem very ambitious, they are an important milestone in beginning the construction of the rest of a truly useful driver.

Testing Procedure

While a description of the production-level installation of the device driver must be left until chapter 16, a manual installation of the Minimal driver can be performed now. The disk accompanying this book includes a useful tool that makes this job much ...

Get Windows® 2000 Device Driver Book: A Guide for Programmers, Second Edition, The 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.