Basic structure of WDM driver
(Notes from Oney’s book)
1. a driver is a collection of routines called by OS
DriverEntry, AddDevice
StartIo, AdapterControl, OnInterrupt, DpcForIsr, …
DispatchPnp, DispatchPower, DispatchWmi, DispatchRead, DispatchWrite
2. A Pnp device has an electronic signature that the system can detect
A legacy driver is added by end user through “Add New Hardware”
3. Device and Driver Layer
function driver and bus driver and filter driver
