DRV_SetPenSamplingRate

Instructs the pen hardware or software to report a specified number of points per second.

lParam1
High-order word should be zero; low-order word should be the desired new sampling rate.
lParam2
Should be set to zero.

The sampling rates provided by the pen driver are directly related to the capabilities of the hardware. If the hardware does not support the requested sampling rate, the sampling rate will be set to closest sampling rate supported by the hardware. If the requested sampling rate is larger than any sampling rate supported by the hardware, the sampling rate will be set to maximum rate supported by the hardware.