Archives
- July 2011 (1)
- March 2009 (3)
- January 2008 (3)
- December 2007 (2)
- November 2007 (6)
- September 2007 (3)
- August 2007 (7)
- July 2007 (22)
- June 2007 (16)
- May 2007 (21)
- December 2006 (24)
- July 2006 (6)
- June 2006 (1)
- May 2006 (8)
Monthly Archives: May 2006
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 … Continue reading
Posted in Windows Driver
AddDevice
responsible for creating functional device objects (FDO) or filter device objects (filter DO) for devices enumerated by the Plug and Play (PnP) manager. 1. IoCreateDevice to create a device object 2. [optional] IoRegisterDeviceInterface symbolic links to the device 3. Store … Continue reading
Posted in Windows Driver
DriverEntry
Called by I/O manager when the driver is loaded. Responsible for driver initialization. AddDevice routine responsible for device initialization. 1. Supply entry points for the driver’s standard routines 2. Create and/or initialize various driver-wide objects, types, or resources the driver … Continue reading
Posted in Windows Driver

