0lejka, you might find the following win32 calls usefull in your development…
CreateWaitableTimer
SetWaitableTimer
WaitForSingleObject
…and…
QueryPerformanceFrequency
QueryPerformanceCounter
Both sets of functions proved very usefull to me when developing for another of my data logging units. Check them out on MSDN, the timer functions can be used to accurately time 1ms or even less!
Edit:
In addition i can tell you that FASTTime32.dll uses calls to the WinMM library. I havnt used them before so can’t say if they are an improvement over my other suggestions.
timeSetEvent
timeKillEvent
timeGetDevCaps
timeEndPeriod
timeBeginPeriod