Partager via


hwTimestamp property

Returns the time at which the pointer data was reported by the hardware, in microseconds.

This property is read-only.

 

Syntax

HRESULT get_hwTimestamp(
  [out] unsigned long long *ptr
);

Property values

Type: unsigned long long

Remarks

This value should be used only to calculate the elapsed time between pointer events for tasks such as determining velocity of a pointer. The hwTimeStamp property is not related to the system time, so only the difference between subsequent values is the important data.

For general time keeping you should use the IDOMEvent::timeStamp property.

See also

IDOMEvent::timeStamp