Initializing the Virtual Pen Driver

During startup, Windows reads the Windows 95 registry and loads the registered virtual device drivers. This happens before the wallpaper is displayed on the video screen. Just after the virtual pen driver (VPENDC.VXD) is loaded into memory, Windows sends it a Device_Init message. Upon receiving this message, the virtual pen driver:

At this point, the tablet can start generating hardware interrupts. However, the virtual pen driver will not send pen packets to the pen driver in response to these interrupts until the pen driver enables the virtual pen driver with a VPEND_ENABLE message. For a description of all the VPEND_ messages, see the "Reference" section in About the Virtual Pen Driver.