Eric Pouech
e17b7d5565
services: Move to GUI subsystem (as native).
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-06 17:03:30 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
c432eac726
makefiles: Always use the global SOURCES variable for .idl files.
2023-11-01 22:43:50 +01:00
Alex Henrie
0d7cf84709
include: Move RTL functions that belong in ntddk.h from winternl.h to ntddk.h.
2023-09-27 11:17:47 +02:00
Piotr Caban
93736efa80
services: Exit early in process_send_start_message if ConnectNamedPipe fails.
...
HasOverlappedIoCompleted returns true after CancelIo call.
2023-07-21 21:27:44 +02:00
Alexandre Julliard
f5784e2fd1
services: Use nameless unions/structs.
2023-06-16 17:58:37 +02:00
Alexandre Julliard
93630ce14e
include: Remove redundant __WINE_USE_MSVCRT checks.
2023-06-12 21:21:41 +02:00
Paul Gofman
c0c68ee83a
services: Change running service state once its process dies.
2023-03-30 18:49:16 +02:00
Paul Gofman
3580d466cc
services: Factor out notify_service_state() function.
2023-03-30 18:49:16 +02:00
Paul Gofman
466a86bc54
services: Create service processes in a job.
2023-03-30 18:49:16 +02:00
Alex Henrie
dccc6a60b6
services: Avoid calling RtlInitUnicodeString on a static constant.
2023-02-10 19:09:16 +01:00
Rémi Bernon
03aa9e13e7
services: Use a separate allocation for NotifyParamsArray[0].params.
...
The pointer might be freed by RPC NdrPointerFree, which will try to use
a dedicated free call for the array elements, and fail.
2023-01-24 18:15:41 +01:00
Alex Henrie
6136b54757
services: Use standard C functions for memory allocation.
2022-12-01 10:24:10 +01:00
Eric Pouech
7b65ef3afb
services: Start services detached from console.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-17 21:06:10 +01:00
Eric Pouech
8edc86c1b3
services: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:59:10 +01:00
Eric Pouech
0f6184bf03
services/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Rémi Bernon
7f749d58d9
services: Terminate all service processes on shutdown.
...
Instead of waiting for wineserver to kill them on shutdown, after a
2s delay.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 22:42:51 +01:00
Alexandre Julliard
7f83b8fdd1
services/tests: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:56 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Nikolay Sivov
2de886dd7b
services/tests: Fix printf-style helper format (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 21:41:28 +02:00
Alistair Leslie-Hughes
4a18232e45
services: Check correct permission for QueryServiceConfig2W.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50412
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 22:03:29 +02:00
Francois Gouget
37f492ae55
services/tests: Vista+ returns fixed 1024x768 WinDisc monitor information.
...
Unlike Windows XP which returned the actual display information to
non-interactive services.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:08:18 +02:00
Alexandre Julliard
4e8fcc41ca
ntdll: Replace __wine_make_process_system by a Wine-specific NtSetInformationProcess() class.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 18:31:27 +02:00
Alexandre Julliard
7cea94349a
services: Propagate the WINEBOOTSTRAPMODE variable to spawned services.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 18:16:00 +02:00
Jacek Caban
a4b0732451
services: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 09:32:34 +01:00
Jacek Caban
b39b9eea39
include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 21:48:38 +01:00
Zebediah Figura
c0977fcbec
services: Make svcctl_{Lock, Unlock}ServiceDatabase() into a no-op.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-28 11:21:45 +02:00
Jefferson Carpenter
4dfd5f22f4
services: Initialize OVERLAPPED Offset and OffsetHigh.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48735
Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 22:59:33 +01:00
Rémi Bernon
bcbe1d120c
services/tests: Fix some format-overflow warnings.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:03 +01:00
Alexandre Julliard
ed6a5e97e0
programs: Make all program entrypoints cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Jacek Caban
765815729f
services: Use threadpool timers for services delay loading.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47675
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 21:55:42 +02:00
Zebediah Figura
2430c17202
services: Don't redirect the image file path for kernel drivers.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47623
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Zebediah Figura
57038f8ca3
services: Fix the arguments to is_root_pnp_service().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:40:14 +02:00
Zebediah Figura
4f8dfdba3d
services: Do not overwrite the service type in SetServiceStatus().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:53 +02:00
Zebediah Figura
946e1b2f6b
services: Report a PID of 0 for drivers.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 09:39:54 +02:00
Zebediah Figura
887a57fadd
services: Load root PnP drivers on startup.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 19:27:13 +02:00
Jacek Caban
d8dec0b3f9
services: Support delayed autostart services.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 22:34:13 +02:00
Piotr Caban
496380709d
services: Don't double release process in service_start.
...
Fixes a crash while running ntoskrnl tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:41:12 +02:00
Tim Schumacher
7b139bbb5c
services: Allow reading binary registry values as DWORDs.
...
Some programs/services actually save those values as a registry
value of the type REG_BINARY.
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:49:31 +02:00
Alexandre Julliard
4b69b6710a
services: Explicitly mark a qsort() callback funtion cdecl.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47122
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:47 -05:00
Alexandre Julliard
32d7838da7
services: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:06 +02:00
Alexandre Julliard
d4ef782db7
makefiles: Build all tests with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Jacek Caban
8a2347baff
services: Associate notify handle with service handle instead of service entry.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:23:28 +01:00
Jacek Caban
ac3f571e56
services: Store a list of service handles in service_entry.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:23:25 +01:00
Michael Stefaniuc
82c8c88b95
services: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Francois Gouget
b8953b2ece
services/tests: Some spelling and duplicate word fixes.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 11:12:28 +02:00
Bernhard Übelacker
099a12ad40
services/tests: Change pipe type from byte to message.
...
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-05 09:13:07 -05:00
Bernhard Übelacker
a8a2c0b9c5
services/tests: Retrieve monitor information when executed as service.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43187
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-04 09:12:42 -05:00
Zebediah Figura
085c577a25
services: Fall back to the current architecture if GetBinaryType fails.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 10:30:19 +02:00