411 REFERENCE · Wikibooks
Windows Programming/Driver Structure
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Drivers, unlike user-mode programs, have a number of different entry points, and each entry point is specifically designed to handle a single type of interface. In this chapter, we will talk about the required interfaces, and we will also talk about adding additional interfaces.
DRIVER_OBJECT
Driver routines all receive a pointer to a DRIVER_OBJECT structure. The driver must fill in the appropriate fields of this structure, so that Windows can learn the whereabouts of the different access routines, and any other information about the driver.
I/O Request Packets
Device Object Structures
DeviceExtensions
DriverEntry and DriverUnload
StartIo and AddDevice
Service Routines