[dhcpsvc][srvsvc][wkssvc] Servcies run by svchost must be shared process services

This commit is contained in:
Eric Kohl 2022-01-16 17:59:41 +01:00
parent 5165179ad8
commit 69bd857e39
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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;

View file

@ -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;