Lines Matching refs:waitTime
80 DWORD waitTime = status.dwWaitHint / 10; in StopIndexingService() local
82 if (waitTime < 1000) in StopIndexingService()
83 waitTime = 1000; in StopIndexingService()
84 else if (waitTime > 10000) in StopIndexingService()
85 waitTime = 10000; in StopIndexingService()
87 Sleep(waitTime); in StopIndexingService()
126 DWORD waitTime = status.dwWaitHint / 10; in StartIndexingService() local
128 if (waitTime < 1000) in StartIndexingService()
129 waitTime = 1000; in StartIndexingService()
130 else if (waitTime > 10000) in StartIndexingService()
131 waitTime = 10000; in StartIndexingService()
133 Sleep(waitTime); in StartIndexingService()