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 uses
3. Free any memory that it allocated and is no longer required

PcInitializeAdapterDriver binds an adapter driver to the PortCls system driver.

This entry was posted in Windows Driver. Bookmark the permalink.