mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[W32TIME] The interval is specified in seconds, but we need milliseconds
This commit is contained in:
parent
76dfa2b284
commit
fcb9378e01
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue