It is found that Windows 10 version 2004 or later does not actually change the resolution of the OS timer in response to the timeBeginPeriod function call. This affects the accuracy of NIMH ML's digital sampling clock. The timer is replaced in the latest NIMH ML (2.2.19 & 2.0.240, Oct 12 2021).
The devices affected by this problem are like the following:
mouse
touchscreen
USB joystick
TCP/IP eye tracker
parallel port
NI digital input
----------
Some people asked about the extent to which the accuracy was affected. The default resolution of the Windows software timer is ~15 ms. So, if your Win10 version is 2004 or later and NIMH ML is not updated, digital samples are collected at 15-ms intervals, instead of 1 ms.