[DllImport("user32.dll")] public static extern int GetMouseMovePointsEx( uint cbSize, [In, Out] ref MOUSEMOVEPOINT lppt, [In, Out] MOUSEMOVEPOINT[] lpptBuf, int nBufPoints, uint resolution );
Microsoft documentation: Link
Last updated 1 year ago