1.5. Anatomy of a Windows Device Driver

All Windows device drivers have a similar structure. Each driver has a driver object that is created by the I/O Manager when the driver is loaded. Section 1.4 discussed structures related to the device driver, including driver objects. This section discusses the routines that a driver implements, as well as some other characteristic behavior of a storage device driver.

A Windows device driver implements a variety of standard routines, some of which are mandatory and some of which are optional. The definitions of mandatory and optional depend on the nature of the driver. These standard routines include the following:

  • A mandatory initialization routine, by which a driver performs its housekeeping and initializes ...

Get Inside Windows Storage: Server Storage Technologies for Windows® 2000, Windows® Server 2003, and Beyond now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.