Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Programmed I/O device drivers must perform extra initialization during DriverEntry (or AddDevice for WDM drivers). Similarly, the driver's Unload routine must be extended to remove the additional resources allocated.
If a driver has a Start I/O routine, it must be announced during DriverEntry. This is done by storing the address of the Start I/O routine into the DriverStartIo field of the driver object, as in the following code fragment.