## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### High-Resolution Device Time Stamp

The pen device driver can supply a high-resolution, double word (DWORD) device time stamp. The resolution of the high-resolution timer is specified in the capabilities packet in microseconds. For example, if the timer resolution of a device is 256 microseconds, then dev_timestampRes in the locator capabilities packet would be set to 256 and the pen capabilities PENCAP_TIMESTAMP bit would be set.

If the pen hardware product does not supply a high-resolution timer, then the locator capabilities packet's dev_timestampRes field would be set to 0, and the locator event packet's dev_timestamp field would be set to 0.

The pen device driver need not fill in the event time stamp, cev_timestamp. The Pen for OS/2 Device Driver Services handle this operation.