Chapter 6. Initialization and Cleanup RoutinesCHAPTER OBJECTIVES
Everything has to start somewhere. In the case of a Windows 2000 kernel-mode driver, the starting point is a function called DriverEntry. This chapter shows how to write a DriverEntry routine along with various other pieces of initialization and cleanup code. At the conclusion of this chapter, a minimal driver is produced that can actually load into the system.
|