Windows Time Stamp Format (Return Type MOUSEMOVEPOINT)

I am using my own method GetMouseMovePointsEx

( pinvoke.net , MSDN ).
See my question: GetMouseMovePointsEx: Bounds / MOUSEMOVEPOINT in (mp_in) problems .

Since this function only returns new data when the cursor is moved, I need a way to check how old the data is (compare timestamps with the equivalent for now ).
I think these values ​​are in the same format as InputEventArgs.Timestamp , but I'm not sure.

  • How do I create a new time stamp in the same format for comparison?

So far, I have used DateTime.Now

to get the value now .
But this time stamp is not like DateTime.Now.Ticks

; so what is it?

+3


source to share


1 answer


Environment.TickCount

might be what you are looking for.



+3


source







All Articles