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
Andrew Talbot
cca1854e96
advapi32: Remove unused file-static variables.
2008-05-20 15:43:54 +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
Alexandre Julliard
ef07d83405
Include wine/port.h everywhere we use exceptions.
2008-04-29 20:18:49 +02:00
Marcus Meissner
fbc236107d
advapi32: Initialize hLock.
2008-04-18 13:57:15 +02:00
Rob Shearman
fe7e786ace
advapi32: Add exception handling around all service RPC calls.
2008-04-11 12:14:24 +02:00
Andrew Talbot
2ae8e87616
advapi32: Do not call MIDL_user_free() with pointer to stack memory.
2008-04-07 13:39:32 +02:00
Rob Shearman
9bc84d81df
wineboot: Start services.exe on startup instead of on demand in the advapi32 services code.
2008-04-02 11:55:24 +02:00
Rob Shearman
9d834fc180
advapi32: Remove some unused services functions.
2008-04-01 19:11:09 +02:00
Alexandre Julliard
9bb129d17b
advapi32: Silence the pipe read error in the normal case.
2008-03-31 17:26:07 +02:00