You could set any process to REALTIME_PRIORITY_CLASS with SetPriorityClass and your process would get higher priority then the OS but that would't be a good idea.Originally Posted by DougDbug
Sleep() isn't accurate. The millisecond value passed to it should just be seen as a sugested sleep time.