These two messages are the first and last messages an installable driver receives. When processing DRV_LOAD, the pen driver reads configuration information from the Windows 95 registry, configures associated hardware, and allocates memory if required.
To process DRV_FREE, the pen driver frees any allocations and notifies the virtual pen driver that the pen driver is being unloaded.