Alexander Yaworsky
8109cfd443
Merge Unicode and ASCII versions of StartServiceCtrlDispatcher.
...
Implement StartServiceCtrlDispatcherA on the top of
StartServiceCtrlDispatcherW.
Get rid of HEAP_strdupWtoA.
2004-11-30 17:29:03 +00:00
Alexander Yaworsky
970a877995
Move up SERV_* functions.
2004-11-21 15:50:08 +00:00
Jason Edmeades
d80247ef67
- Stub SetServiceObjectSecurity to pretend to work (return true).
...
- Change QueryServiceObjectSecurity so it initializes the ACL with a
null DACL, and return as though it worked.
- Changed QueryServiceStatus to tell if the service is running by the
presence of some named shared storage - copied from StartService when
it checks to see if its already running.
2004-11-10 01:31:39 +00:00
Juan Lang
0fca5acba8
- implement LookupPrivilegeName
...
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Mike McCormack
5bc8077511
Implement ChangeServiceConfig2A using ChangeServiceConfig2W.
2004-10-21 20:57:09 +00:00
Mike McCormack
2e82a0965b
Implement ChangeServiceConfigA using ChangeServiceConfigW.
2004-10-21 19:51:53 +00:00
Alexander Yaworsky
d9c9bfd779
Start only first service in the service table.
2004-09-27 20:35:27 +00:00
Alexander Yaworsky
31ec065bfd
Restructured code of StartServiceCtrlDispatcherA/W.
2004-09-25 00:28:42 +00:00
Alexander Yaworsky
9d590d5059
Pass arguments to the service program.
2004-09-21 00:23:32 +00:00
Alexander Yaworsky
6a36f28f2a
Pass argv[0] (service name) to the service program.
2004-09-16 20:27:31 +00:00
Alexander Yaworsky
8484d3fbae
Proper finalization in StartServiceW.
2004-09-14 19:39:19 +00:00
Mike McCormack
7d3431ed1d
Stub implementation for QueryServiceObjectSecurity.
2004-09-14 19:25:35 +00:00
Alexander Yaworsky
37180dd6d5
Implemented LockServiceDatabase and UnlockServiceDatabase.
2004-09-10 21:12:25 +00:00
Mike McCormack
8100e0eec2
Return the correct error when OpenService is called with a
...
non-existing service.
2004-09-06 20:28:32 +00:00
Hans Leidekker
411fc5f164
Fix signed/unsigned comparison warnings.
2004-09-02 23:00:53 +00:00
Alexander Yaworsky
7db2149f65
Implemented QueryServiceConfigA.
2004-09-01 17:29:00 +00:00
Alexander Yaworsky
871635c650
Expand ImagePath in QueryServiceConfigW.
2004-08-31 18:50:39 +00:00
Alexander Yaworsky
3ab2818948
Sanity check when closing service handle.
2004-08-31 17:32:05 +00:00
Alexander Yaworsky
5f115371ce
Changed SC_HANDLEs from HKEYs to pointers to internal structures.
2004-08-30 23:57:03 +00:00
Alexander Yaworsky
968e252149
StartService must pass full command line to service program.
2004-08-26 18:10:01 +00:00
Aric Stewart
4a18630fef
Let StartServiceCtrlDispatcher handle services not started by
...
StartService.
2004-08-17 22:29:01 +00:00
Jon Griffiths
50ce0844ba
Documentation fixes.
2004-04-23 21:32:34 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard
bea945eed9
OpenServiceW: don't use the requested service access rights for the
...
registry key access rights, they are not the same thing.
2004-04-12 22:18:39 +00:00
Aric Stewart
3dc71b65a7
Better handling of some service functions.
2003-12-13 03:25:37 +00:00
Huw Davies
28c2ea07ce
Don't crash if lpDependencies is NULL.
2003-12-11 04:26:20 +00:00
Mike McCormack
9b513ad686
Stub implementations for ChangeServiceConfigA/W.
...
Implement CreateServiceW and call it from CreateServiceA.
Partial implementation of QueryServiceConfigW.
2003-12-02 03:48:53 +00:00
Alexandre Julliard
b10dcfe3b9
Make sure we always use the same name for the semaphore (spotted by
...
Ben A L Jemmett).
2003-10-10 00:05:49 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Matthew Davison
620323e294
Removed some Unicode -> Ascii cross-calls.
2003-01-24 00:45:51 +00:00
Matthew Davison
60009b9a56
Removed calls to HEAP_strdupAtoW.
2003-01-23 23:07:38 +00:00
Matthew Davison
6f2a071df1
Remove some calls to HEAP_strdupAtoW from advapi32.
2003-01-20 23:23:12 +00:00
Uwe Bonnes
574d4a91a6
Stubs for Un|LockServiceDatabase.
2003-01-14 19:31:44 +00:00
Steve Lustbader
f1e1fd05eb
Assorted Win2k/WinXP stubs.
2002-11-25 20:50:53 +00:00
Michael Stefaniuc
cbacde5256
Compile the advapi32 dll with -DSTRICT.
2002-10-25 19:17:33 +00:00
Alexandre Julliard
7375597fe2
Fixed some handle type mismatches and added a few casts in prevision
...
of void* handles.
2002-07-31 19:26:03 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dimitrie O. Paun
693cca5d4d
Make FIXMEs more grep-able.
2002-01-29 03:12:19 +00:00
Francois Gouget
ea31cf0a57
Fix LUID definition.
2001-11-20 18:52:20 +00:00
Francois Gouget
3bb9a36ee0
Spelling, grammar and a bit of comment formatting fixes.
2001-10-22 19:04:32 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Andreas Mohr
18a9d7417d
Cosmetics.
2001-01-17 21:52:42 +00:00
François Gouget
97ad5a7e02
Fixed some 0 vs. FALSE mismatches.
...
Fixed a '%x' vs. '%lx' mismatch.
Fixed some DWORD vs. SC_HANDLE mismatches.
2001-01-02 20:20:34 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Peter Hunnisett
565b00857e
- Added some missing WINELIB_NAME_AW definitions, types and messages
...
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00