[SCHEDSVC] This is a shared process service too

This commit is contained in:
Eric Kohl 2022-02-06 16:56:43 +01:00
parent b76d49bcaa
commit 942e79963a

View file

@ -45,7 +45,7 @@ HANDLE Events[3] = {NULL, NULL, NULL}; // StopEvent, UpdateEvent, Timer
static VOID
UpdateServiceStatus(DWORD dwState)
{
ServiceStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
ServiceStatus.dwServiceType = SERVICE_WIN32_SHARE_PROCESS;
ServiceStatus.dwCurrentState = dwState;
if (dwState == SERVICE_PAUSED || dwState == SERVICE_RUNNING)