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 ...