Lines Matching refs:ulCur
290 ULONG ulCur = ~0;
291 NtQueryTimerResolution(&ulMax, &ulMin, &ulCur);
292 Log(("NtQueryTimerResolution -> ulMax=%lu00ns ulMin=%lu00ns ulCur=%lu00ns\n", ulMax, ulMin, ulCur));
293 if (ulCur > ulMin && ulCur > 10000 /* = 1ms */)
295 if (NtSetTimerResolution(10000, TRUE, &ulCur) >= 0)
297 else if (NtSetTimerResolution(20000, TRUE, &ulCur) >= 0)
299 else if (NtSetTimerResolution(40000, TRUE, &ulCur) >= 0)
301 else if (ulMin <= 50000 && NtSetTimerResolution(ulMin, TRUE, &ulCur) >= 0)
330 ULONG ulCur = ~0;
331 NtQueryTimerResolution(&ulMax, &ulMin, &ulCur);
332 Log(("NtQueryTimerResolution -> ulMax=%lu00ns ulMin=%lu00ns ulCur=%lu00ns\n", ulMax, ulMin, ulCur));