mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[W32TIME] The interval is specified in seconds, but we need milliseconds
This commit is contained in:
@@ -297,7 +297,7 @@ ServiceMain(DWORD argc, LPWSTR *argv)
|
||||
*/
|
||||
}
|
||||
|
||||
if (WaitForSingleObject(hStopEvent, dwInterval) == WAIT_OBJECT_0)
|
||||
if (WaitForSingleObject(hStopEvent, dwInterval * 1000) == WAIT_OBJECT_0)
|
||||
{
|
||||
CloseHandle(hStopEvent);
|
||||
hStopEvent = NULL;
|
||||
|
||||
Reference in New Issue
Block a user