Commit Graph

37 Commits (master)

Author SHA1 Message Date
Martin Liska 9afc341c4f include: Avoid compound literals for WCHAR strings.
Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Alexandre Julliard 60ac1cec62 include: Use DECLSPEC_HIDDEN instead of DECLSPEC_IMPORT for dll exports.
DECLSPEC_IMPORT interferes with delay imports on MinGW.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:34 +02:00
Alex Henrie 568bb1b545 include: Add definitions of SERVICES_*_DATABASEW for generic compilers.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 11:58:33 +02:00
Andrew Eikum afa965a152 advapi32: Partially implement NotifyServiceStatusChangeW. 2015-02-26 23:05:12 +09:00
Piotr Caban eeb5c93ac7 include: Update winsvc.h header. 2011-11-30 16:28:07 +01:00
Stefan Leichter 6cb602c6db advapi32: Partly implemented QueryServiceConfig2A/W. 2008-03-26 14:13:07 +01:00
Alexandre Julliard 2d1da3430c include: Add WINADVAPI to the exported advapi32 functions. 2007-11-07 12:27:27 +01:00
Rolf Kalbermatter 56e447c609 advapi32: Add service state request definitions. 2007-05-14 14:25:47 +02:00
Rolf Kalbermatter 46fed9f1ef advapi32: Add prototypes for EnumServicesStatusExA/W. 2007-05-08 13:46:01 +02:00
Rolf Kalbermatter a2fbbd9209 advapi32: Make SERVICE_STATUS_PROCESS match the declaration in MSDN and PSDK. 2007-04-23 14:37:29 +02:00
Rolf Kalbermatter af5f6325e5 advapi32: Implement QueryServiceStatusEx.
Based on a patch by Anastasius Focht.
2007-04-20 13:18:59 +02:00
Jacek Caban 112257e59d advapi: Constify argument of StartServiceCtrlDispatcher[AW] functions. 2007-03-20 12:39:36 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman fc6febc84b include: Add SC_ENUM_TYPE to winsvc.h. 2006-01-31 18:04:01 +01:00
Vincent Béron f41abbd07a Add/correct prototypes for some already defined functions in
advapi32. Correct spec file entry for GetSecurityInfoExW.
2005-11-21 12:06:00 +00:00
Kevin Koltzau bfa3077510 Properly declare handles. 2005-08-23 09:32:39 +00:00
Mike McCormack 5e62bd0b0c Declare some missing functions. 2005-06-13 10:04:20 +00:00
Mike McCormack 64d7cb1634 Add definitions for session change notifications. 2005-01-18 11:40:38 +00:00
Mike McCormack 939179d681 Fix, add and rearrange winsvc.h declarations. 2005-01-14 16:50:57 +00:00
Hans Leidekker 0cc2031409 Stub implementations for GetKernelObjectSecurity,
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Hans Leidekker 49f7f6c208 Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Mike McCormack 453436d60c Define SERVICE_NO_CHANGE and RegisterServiceCtrlHandlerEx. 2004-10-21 19:56:17 +00:00
Alexander Yaworsky d46a95cd11 Added service database names. 2004-09-20 21:44:17 +00:00
Aric Stewart 3dc71b65a7 Better handling of some service functions. 2003-12-13 03:25:37 +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 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
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Steve Lustbader f1e1fd05eb Assorted Win2k/WinXP stubs. 2002-11-25 20:50:53 +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
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Francois Gouget 40774c3c91 Change the callback declarations to a safer format. 2001-02-12 01:29:08 +00:00
François Gouget 29625ff564 SC_HANDLE is a HANDLE, not a 'DECLARE_HANDLE'
SERVICE_STATUS_HANDLE is a DWORD
2001-01-02 20:17:15 +00:00
François Gouget 45437038b6 Declare all handles with DECLARE_OLD_HANDLE to ease conversion to
STRICT.
2000-12-26 00:07:25 +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
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Michael McCormack 0c0f7d3560 Added code to some service functions (some untested), fixed
declaration of service main function.
1999-12-04 04:03:45 +00:00
Patrik Stridvall 4a73973f23 Fixed/moved/added missing/wrong function prototypes. 1999-07-04 11:01:21 +00:00