Commit Graph

102 Commits

Author SHA1 Message Date
Sebastian Lackner 94fb7c3b8b services: Start SERVICE_FILE_SYSTEM_DRIVER services with winedevice.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 14:46:26 +09:00
Nikolay Sivov 38bba54f32 services: Locate service image in proper system dir for WOW64 case. 2015-03-02 23:00:32 +09:00
Nikolay Sivov 1896064332 services: Mark WOW64 services in registry. 2015-02-27 14:20:25 +09:00
Andreas Mohr 6a86e2e983 kernel32: Fix naming/spelling/typo of macro to HasOverlappedIoCompleted(). 2014-08-04 19:28:04 +02:00
Nikolay Sivov 6a4c146962 services: Defer service delete until all handles are closed. 2014-06-12 18:24:17 +02:00
Nikolay Sivov fdbd8ffffc services: Remove loop that's not really used anymore (Coverity). 2014-04-21 10:40:40 +02:00
Nikolay Sivov 5300364dfd services: Remove redundant error code check (Coverity). 2014-04-07 15:34:36 +02:00
Frédéric Delanoy debd1346b0 services: Use BOOL type where appropriate. 2013-10-09 10:09:00 +02:00
Piotr Caban 522bc15b45 services: Kill service thread after timeout so it can terminate cleanly. 2012-10-22 16:19:53 +02:00
Jacek Caban 52363aef65 advapi32: Pass service name as argv[0] to ServiceMain. 2012-06-15 18:35:42 +02:00
Alexandre Julliard 154aef98d8 services: Don't close the overlapped event when terminating a service.
An overlapping I/O operation may still be in progress.
2012-02-08 13:19:04 -06:00
Piotr Caban 01ef66cb1e services: Move service cleanup code to separate function. 2011-12-12 15:50:40 +01:00
Piotr Caban bc866c899f services: Don't close control_pipe when SERVICE_CONTROL_STOP is sent.
This prevents service_control_dispatcher from being stopped. Thanks to
it the service may continue to work and do the clean up.
2011-12-12 15:50:40 +01:00
Piotr Caban b9797b5caa services: Check process status to determine if service has terminated. 2011-12-12 15:50:39 +01:00
Piotr Caban 8e915c51e1 services: Accept SERVICE_START_PENDING as valid service start status. 2011-12-09 21:15:29 +01:00
Piotr Caban 60a273569c services: Wait for all services to terminate before exiting. 2011-11-30 16:32:17 +01:00
Piotr Caban b8704a4929 services: Added support for SERVICE_CONFIG_PRESHUTDOWN_INFO. 2011-11-30 16:31:47 +01:00
Piotr Caban 8141fb80eb services: Create service environment when first service is started. 2011-11-15 19:37:33 +01:00
Francois Gouget 97ab9cc7e5 services: Give a name to the scmdatabase critical section. 2011-10-27 14:20:51 +02:00
Francois Gouget d494733353 services: Issue a fixme when a service fails to start. 2011-09-08 20:08:06 +02:00
Francois Gouget 9183a171f1 services: Cleanup when a service fails to start so it is still fully considered to be stopped. 2011-08-30 11:47:32 +02:00
Alexandre Julliard f51668fdf9 services: Add a timeout to all pipe communications with the service process. 2011-05-20 12:34:39 +02:00
Alexandre Julliard c9dc9a1063 services: Load some timeout parameters from the registry. 2011-05-20 12:33:58 +02:00
Alexandre Julliard 0c1c1fc20d services: Add a helper function to send a command to the service. 2011-05-20 12:32:32 +02:00
Eric Pouech 0b9ddd1ce4 services: Be sure to unlock the current database in all error cases in service_start_process. 2011-04-25 11:38:44 +02:00
André Hentschel 7abdbe62d1 services: Mention the unkown type in the error message. 2010-11-02 11:16:32 +01:00
Hans Leidekker eae2cf56cb services: Save service dependencies. 2010-10-22 12:06:15 +02:00
Alexandre Julliard 3f6f036b4d services: Start the 32-bit winedevice.exe for 32-bit kernel drivers. 2010-06-01 13:38:21 +02:00
Mikhail Maroukhine 93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Paul Chitescu 910b191574 services.exe: Reduce Registry access to KEY_READ or MAXIMUM_ALLOWED wherever possible. 2009-12-07 14:51:05 +01:00
Eric Pouech 7cdf3389dd services: Correctly store the service's PID upon startup. 2009-08-29 17:11:19 +02:00
Paul Chitescu 8fd619618f services.exe: When asked to search by display name skip NULL names. 2009-07-01 14:53:13 +02:00
Marcus Meissner 2c7ac13662 services: Handle realloc failures better (Coverity). 2009-02-02 15:21:43 +01:00
Alexandre Julliard 42fb9fe779 services: Properly initialize service status at creation time. 2008-11-25 11:56:33 +01:00
Peter Dons Tychsen 741dd708c4 services: Fixed problem with services where DependOnServices key is REG_SZ and not REG_MULTI_SZ. 2008-09-17 10:55:50 +02:00
Alexandre Julliard 7e8ecd2d64 services.exe: Pass the service name as first argument when auto-starting services. 2008-07-02 12:02:11 +02:00
Alexandre Julliard 33914a1bf4 services: Send the service name in the control requests.
Only start a single dispatcher thread for all services.
2008-05-08 18:08:41 +02:00
Paul Vriens df2120e586 services.exe: Spelling fixes. 2008-05-08 11:12:07 +02:00
Paul Vriens b0f34a600f services.exe: Move a trace to a more appropriate place. 2008-05-06 11:25:46 +02:00
Alexandre Julliard ea74621986 services.exe: Make the changed status event an auto-reset event. 2008-04-24 13:53:02 +02:00
Rob Shearman 5a35bd4971 services: Automatically start boot-start, system-start and auto-start services when services.exe is started, instead of in wineboot.exe. 2008-04-11 12:13:45 +02:00
Rob Shearman 559fafebbf services: Split RPC_MainLoop into initialisation and the actual loop. 2008-04-11 12:12:58 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Rob Shearman 0b7a37acdc services: Fix memory leak of some data in the service record. 2008-04-01 19:11:06 +02:00
Rob Shearman 809d714f24 services: Introduce an scmdatabase object to store the root key of the services database.
Make the functions that deal with the service database more object-oriented.

Add a finer-grained locking architecture.
2008-03-29 11:51:43 +01:00
Rob Shearman 9a6fc01d84 services: Move ControlService and StartServiceW from advapi32.dll to services.exe.
This also changes the architecture such that services.exe is the server 
end of the control pipe and the service is the client end.
2008-03-29 11:51:34 +01:00
Rob Shearman 7afd9a977a services: Move LockServiceDatabase and UnlockServiceDatabase from advapi32.dll to services.exe. 2008-03-29 11:51:01 +01:00
Mikołaj Zalewski 76d4eeebff services: Move ChangeServiceConfigW implementation from advapi32.dll to services.exe. 2008-03-29 11:17:07 +01:00
Mikołaj Zalewski a2156fc348 services: Move CreateService, OpenService and DeleteService implementations from advapi32.dll to services.exe. 2008-03-29 11:15:59 +01:00
Mikołaj Zalewski 4275fbf603 services: Start a local RPC server. 2008-03-29 11:15:05 +01:00
Mikołaj Zalewski a1fbd5508f services.exe: Load list of services from registry at startup. 2008-03-28 14:49:17 +01:00
Mikołaj Zalewski 7bd0efa123 services.exe: Add a new program. 2008-03-28 14:49:17 +01:00