https://git.reactos.org/?p=reactos.git;a=commitdiff;h=69bd857e39795c577d351…
commit 69bd857e39795c577d351e9c637c83eb1df74ec2
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jan 16 17:59:41 2022 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jan 16 17:59:41 2022 +0100
[dhcpsvc][srvsvc][wkssvc] Servcies run by svchost must be shared process services
---
base/services/dhcpcsvc/dhcpcsvc.c | 2 +-
base/services/srvsvc/srvsvc.c | 2 +-
base/services/wkssvc/wkssvc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/services/dhcpcsvc/dhcpcsvc.c b/base/services/dhcpcsvc/dhcpcsvc.c
index c9c9025ebc6..661a217e4cf 100644
--- a/base/services/dhcpcsvc/dhcpcsvc.c
+++ b/base/services/dhcpcsvc/dhcpcsvc.c
@@ -343,7 +343,7 @@ DhcpRosGetAdapterInfo(DWORD AdapterIndex,
static VOID
UpdateServiceStatus(DWORD dwState)
{
- ServiceStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
+ ServiceStatus.dwServiceType = SERVICE_WIN32_SHARE_PROCESS;
ServiceStatus.dwCurrentState = dwState;
if (dwState == SERVICE_RUNNING)
diff --git a/base/services/srvsvc/srvsvc.c b/base/services/srvsvc/srvsvc.c
index 32d73ea89b4..14beadbdd41 100644
--- a/base/services/srvsvc/srvsvc.c
+++ b/base/services/srvsvc/srvsvc.c
@@ -45,7 +45,7 @@ DWORD dwServiceBits = 0;
static VOID
UpdateServiceStatus(DWORD dwState)
{
- ServiceStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
+ ServiceStatus.dwServiceType = SERVICE_WIN32_SHARE_PROCESS;
ServiceStatus.dwCurrentState = dwState;
ServiceStatus.dwControlsAccepted = 0;
ServiceStatus.dwWin32ExitCode = 0;
diff --git a/base/services/wkssvc/wkssvc.c b/base/services/wkssvc/wkssvc.c
index 61472132fe1..dbb485f5a6e 100644
--- a/base/services/wkssvc/wkssvc.c
+++ b/base/services/wkssvc/wkssvc.c
@@ -46,7 +46,7 @@ ULONG LsaAuthenticationPackage = 0;
static VOID
UpdateServiceStatus(DWORD dwState)
{
- ServiceStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
+ ServiceStatus.dwServiceType = SERVICE_WIN32_SHARE_PROCESS;
ServiceStatus.dwCurrentState = dwState;
ServiceStatus.dwControlsAccepted = 0;
ServiceStatus.dwWin32ExitCode = 0;