Replace 'NtWaitForSingleObject' with 'WaitForSingleObject'. 'WaitForSingleObject' does provide msec accuracy instead of usec.