1.4. Windows Device Driver–Related Data Structures

Before we consider the details of Windows NT device drivers, it will be advantageous to understand some important data structures that these drivers use. Every Windows driver, including storage drivers, must deal with three major types of objects: driver objects, device objects, and I/O request packets. These objects are described in Sections 1.4.1 through 1.4.3.

1.4.1. Driver Objects

A driver object is created by the Windows NT Executive when a driver is loaded. The driver object is allocated from nonpageable memory. A driver object contains important information, such as the driver dispatch table that identifies addresses for various driver routines. Each driver has only one driver object, ...

Get Inside Windows Storage: Server Storage Technologies for Windows® 2000, Windows® Server 2003, and Beyond 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.