services.exe: Make the changed status event an auto-reset event.

This commit is contained in:
Alexandre Julliard 2008-04-24 13:53:02 +02:00
parent a3512ab8ab
commit ea74621986
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ DWORD service_start(struct service_entry *service, DWORD service_argc, LPCWSTR *
service->control_mutex = CreateMutexW(NULL, TRUE, NULL); service->control_mutex = CreateMutexW(NULL, TRUE, NULL);
if (!service->status_changed_event) if (!service->status_changed_event)
service->status_changed_event = CreateEventW(NULL, TRUE, FALSE, NULL); service->status_changed_event = CreateEventW(NULL, FALSE, FALSE, NULL);
name = service_get_pipe_name(); name = service_get_pipe_name();
service->control_pipe = CreateNamedPipeW(name, PIPE_ACCESS_DUPLEX, service->control_pipe = CreateNamedPipeW(name, PIPE_ACCESS_DUPLEX,