Registering the PENWIN.DLL Callback Function

When the PENWIN.DLL library loads, it opens the pen driver. PENWIN.DLL sends the pen driver a DRV_SetEntryPoints message, specifying a ProcessTabletEvents entry point in PENWIN.DLL. For a description of the ProcessTabletEvents function, see the "Reference" section in About the Pen Driver. This is the entry point the driver calls at interrupt time to provide pen packet information to its client, the PENWIN.DLL library.