Florian Tobias Schandinat <[email protected]> writes: > + /* Convert: time counter -> PIT counter > + * GetSystemTimeAsFileTime: 10000000 Hz > + * PIT frequency: 1193182 Hz */ > + val = (DWORD)(val - delta*1193182./10000000.) % (maxval + 1);
You should probably use QueryPerformanceCounter as it already uses the correct frequency. -- Alexandre Julliard [email protected]
