DRV_RemoveEntryPoints

Removes the interrupt-processing routine that was registered with DRV_SetEntryPoints.

lParam1
Either the PENREG_WILLHANDLEMOUSE flag or the PENREG_DEFAULT flag.
lParam2
The hook ID value returned from DRV_SetEntryPoints.

This routine undoes the work of DRV_SetEntryPoints and must be called to remove the registration of the driver or DLL for receiving pen data. After the pen driver processes DRV_RemoveEntryPoints, the hook ID is no longer valid and should be set to NULL.

The following example code shows a call to SendDriverMessage that sends a DRV_RemoveEntryPoints message.

dwRetVal = SendDriverMessage( hPenDrv, DRV_RemoveEntryPoints, PENREG_DEFAULT, dwHookID);