Commit Graph

244 Commits (fa64a7d842fdc271541c12f11262b0e83e554948)

Author SHA1 Message Date
Nikolay Sivov daf0af4313 advapi32: Forward to CreateServiceWOW64W() when appropriate. 2015-02-27 14:20:25 +09:00
Nikolay Sivov 0f80d4b619 services: Make RPC interface compatible with native. 2015-02-27 14:20:24 +09:00
Nikolay Sivov 7520297a49 advapi32: Fix trace format for access mask in OpenService(). 2015-02-27 14:20:23 +09:00
Andrew Eikum afa965a152 advapi32: Partially implement NotifyServiceStatusChangeW. 2015-02-26 23:05:12 +09:00
Nikolay Sivov c0b0d3b4e2 services: Pass resume index to server. 2015-02-25 20:35:23 +09:00
Nikolay Sivov 3c186a65d3 services: Make ChangeServiceConfig2W() rpc call compatible with native one. 2015-02-25 20:35:23 +09:00
Nikolay Sivov 65a468ef74 advapi32: Use heap* helpers in service code. 2014-08-25 10:54:50 +02:00
Nikolay Sivov 6a4c146962 services: Defer service delete until all handles are closed. 2014-06-12 18:24:17 +02:00
André Hentschel 929d9fb9f7 advapi32: Use boolean return values in boolean functions. 2014-02-04 11:15:18 +01:00
Alexander Morozov a792a5b486 advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher. 2013-04-02 15:03:29 +02:00
Jimmy Rentz c61df08543 advapi32: Fix segfault in OpenService. 2013-03-25 16:21:17 +01:00
Erich Hoover 08238b83b8 advapi32: Support service objects in GetNamedSecurityInfo. 2013-01-31 12:08:59 +01:00
Erich Hoover e4717c299e advapi32: Support service objects in SetSecurityInfo. 2013-01-30 13:07:38 +01:00
Erich Hoover 331b99cf19 advapi32: Support service objects in GetSecurityInfo. 2012-12-14 12:25:57 +01:00
Piotr Caban 8ebf0a72c9 advapi32: Don't terminate service when its last thread has exited. 2012-10-22 15:17:51 +02:00
Piotr Caban a936b58b8b advapi32: Return from StartServiceCtrlDispatcher when service status is changed to stopped. 2012-10-22 15:17:44 +02:00
Piotr Caban 6027fe2daf advapi32: Validate arguments in StartServiceCtrlDispatcher. 2012-10-22 15:17:39 +02:00
Marcus Meissner aaabec2b33 advapi32: Avoid memory leak on pipe read failure (Coverity). 2012-10-03 18:16:48 +02:00
Andrew Eikum ac615a7e9a advapi32: Consolidate helper function. 2012-09-14 12:03:01 +02:00
Jacek Caban 52363aef65 advapi32: Pass service name as argv[0] to ServiceMain. 2012-06-15 18:35:42 +02:00
Alexander Morozov 6d6e6600ef advapi32: Regular program should not freeze forever if it calls StartServiceCtrlDispatcher. 2012-04-04 19:15:26 +02:00
Alistair Leslie-Hughes 77b9d58556 advapi32: Assign a default value (clang). 2012-03-16 13:02:51 +01:00
Piotr Caban e849691fcc advapi32: Send shutdown notification to services. 2011-11-30 16:34:05 +01:00
Piotr Caban e2172edca2 advapi32: Added support for SERVICE_CONFIG_PRESHUTDOWN_INFO. 2011-11-30 16:32:09 +01:00
Andrew Talbot 8a1539ac98 advapi32: Remove an unused variable. 2011-11-14 13:10:22 +01:00
Hans Leidekker dc46df47a4 advapi32: Make sure lpDisplayName is initialized in EnumServicesStatusA. 2011-06-10 10:56:48 +02:00
Alexandre Julliard ad4c995c3f advapi32: Always pass valid buffers in the EnumServicesStatus requests. 2011-06-09 23:42:41 +02:00
Alexandre Julliard 519fbf6202 advapi32: Fix the parameter checks in QueryServiceStatusEx. 2011-06-09 23:42:41 +02:00
Marcus Meissner 7810e231a8 advapi32: Mark some internal symbols as hidden. 2011-04-27 18:15:57 +02:00
André Hentschel c6682ef5dc advapi32: Print a FIXME also for the unknown levels. 2010-12-23 13:47:27 +01:00
Damian Dixon fd0bec1f96 advapi32: Added check for NULL pointer being passed to QueryServiceStatus for either parameter. 2010-12-21 16:56:00 +01:00
Hans Leidekker 7135ac7641 advapi32: Implement EnumServicesStatusExA/W. 2010-10-29 14:33:57 +02:00
Hans Leidekker ae7d41bfa2 advapi32: Implement EnumServicesStatusA/W. 2010-10-27 13:31:04 +02:00
Mikhail Maroukhine 0490131783 advapi32: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:10:06 +02:00
Andrew Talbot c17cfbdc51 advapi32: Constify some variables. 2009-03-27 11:23:16 +01:00
Rob Shearman 1c89dacf9c services: svcctl_GetServiceDisplayNameW and svcctl_GetServiceKeyNameW should have string attribute on output buffer.
They also should not have two parameters for specifying the size of the buffer.

The buffer size should also not include in the nul-terminating character.
2009-03-24 13:11:41 +01:00
Rob Shearman b9587e69e4 advapi32: Trace the contents of the in parameter to GetServiceKeyNameW, not the out parameter. 2009-03-24 13:11:09 +01:00
Michael Stefaniuc 6a48bb4217 advapi32: Remove superfluous pointer casts. 2009-02-16 16:01:36 +01:00
Marcus Meissner 45a1269013 advapi32: Fixed NULL ptr deref in QueryServiceConfig2A (Coverity). 2009-02-02 15:21:43 +01:00
Rob Shearman d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Alexandre Julliard 05a840dfc9 advapi32: Fix GetServiceDisplayNameW behavior to pass the tests. 2009-01-21 23:35:35 +01:00
Alexandre Julliard c795150932 advapi32: Fix GetServiceKeyNameW behavior to pass the tests. 2009-01-21 23:32:29 +01:00
Alexandre Julliard 540fe92842 advapi32: Get rid of the client-side service handle management. 2009-01-19 20:34:02 +01:00
Alexandre Julliard b608a43df7 advapi32: Reimplemented QueryServiceConfig2W in services.exe. 2009-01-19 20:34:02 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexandre Julliard 3249b40f70 advapi32: Reimplemented ChangeServiceConfig2W in services.exe. 2008-11-26 14:35:30 +01:00
Alexandre Julliard cd3805336e advapi32: Always pass a valid argv pointer to a service even if there are no arguments. 2008-09-25 11:19:39 +02:00
Paul Vriens ce64e0d055 advapi32: Prevent a crash when passing an allowed NULL parameter. 2008-08-22 11:32:09 +02:00
Andrew Talbot 414cdc0475 advapi32: Sign-compare warnings fix. 2008-07-23 13:54:17 +02:00
Dan Kegel 0161606b53 advapi32: Don't test buffer length if buffer is null. 2008-05-27 20:39:38 +02:00