/reactos/modules/rostests/apitests/advapi32/ |
H A D | ServiceEnv.c | 18 report_service_status(DWORD dwCurrentState, in report_service_status() argument 26 status.dwCurrentState = dwCurrentState; in report_service_status() 33 if ( (dwCurrentState == SERVICE_START_PENDING) || in report_service_status() 34 (dwCurrentState == SERVICE_STOP_PENDING) || in report_service_status() 35 (dwCurrentState == SERVICE_STOPPED) ) in report_service_status() 45 if ( (dwCurrentState == SERVICE_RUNNING) || (dwCurrentState == SERVICE_STOPPED) ) in report_service_status() 214 …ok(ServiceStatus.dwCurrentState == SERVICE_STOPPED, "ServiceStatus.dwCurrentState = %lx\n", Servic… in my_test_server() 218 if (!res && ServiceStatus.dwCurrentState != SERVICE_STOPPED && in my_test_server() 219 ServiceStatus.dwCurrentState != SERVICE_STOP_PENDING && in my_test_server() 257 …ok(ServiceStatus.dwCurrentState == SERVICE_STOPPED, "ServiceStatus.dwCurrentState = %lx\n", Servic… in my_test_server() [all …]
|
H A D | ServiceNetwork.c | 21 report_service_status(DWORD dwCurrentState, in report_service_status() argument 29 status.dwCurrentState = dwCurrentState; in report_service_status() 36 if ( (dwCurrentState == SERVICE_START_PENDING) || in report_service_status() 37 (dwCurrentState == SERVICE_STOP_PENDING) || in report_service_status() 38 (dwCurrentState == SERVICE_STOPPED) ) in report_service_status() 48 if ( (dwCurrentState == SERVICE_RUNNING) || (dwCurrentState == SERVICE_STOPPED) ) in report_service_status() 365 …ok(ServiceStatus.dwCurrentState == SERVICE_STOPPED, "ServiceStatus.dwCurrentState = %lx\n", Servic… in my_test_server() 369 if (!res && ServiceStatus.dwCurrentState != SERVICE_STOPPED && in my_test_server() 370 ServiceStatus.dwCurrentState != SERVICE_STOP_PENDING && in my_test_server() 408 …ok(ServiceStatus.dwCurrentState == SERVICE_STOPPED, "ServiceStatus.dwCurrentState = %lx\n", Servic… in my_test_server() [all …]
|
H A D | ServiceArgs.c | 72 status.dwCurrentState = SERVICE_STOP_PENDING; in service_handler() 76 status.dwCurrentState = SERVICE_RUNNING; in service_handler() 92 status.dwCurrentState = SERVICE_RUNNING; in service_main_common() 103 status.dwCurrentState = SERVICE_STOPPED; in service_main_common() 309 } while (res && status.dwCurrentState != SERVICE_STOPPED); in test_startA() 311 …ok(status.dwCurrentState == SERVICE_STOPPED, "status.dwCurrentState = %lx\n", status.dwCurrentStat… in test_startA() 329 } while (res && status.dwCurrentState != SERVICE_STOPPED); in test_startW() 331 …ok(status.dwCurrentState == SERVICE_STOPPED, "status.dwCurrentState = %lx\n", status.dwCurrentStat… in test_startW()
|
/reactos/modules/rostests/winetests/services/ |
H A D | service.c | 205 status.dwCurrentState = SERVICE_RUNNING; in service_handler() 232 status.dwCurrentState = SERVICE_RUNNING; in service_main() 245 status.dwCurrentState = SERVICE_STOPPED; in service_main() 307 status.dwCurrentState = SERVICE_RUNNING; in no_stop_handler() 327 status.dwCurrentState = SERVICE_RUNNING; in no_stop_main() 466 …ok(status.dwCurrentState == SERVICE_RUNNING, "status.dwCurrentState = %x\n", status.dwCurrentState… in test_service() 477 …ok(status2.dwCurrentState == SERVICE_RUNNING, "status2.dwCurrentState = %x\n", status2.dwCurrentSt… in test_service() 521 …ok(status.dwCurrentState == SERVICE_RUNNING, "status.dwCurrentState = %x\n", status.dwCurrentState… in test_no_stop() 532 …ok(status2.dwCurrentState == SERVICE_RUNNING, "status2.dwCurrentState = %x\n", status2.dwCurrentSt… in test_no_stop() 542 ok(status.dwCurrentState==SERVICE_STOPPED || status.dwCurrentState==SERVICE_STOP_PENDING, in test_no_stop() [all …]
|
/reactos/base/services/audiosrv/ |
H A D | main.c | 54 service_status.dwCurrentState = SERVICE_STOP_PENDING; in ServiceControlHandler() 58 service_status.dwCurrentState = SERVICE_STOPPED; in ServiceControlHandler() 105 service_status.dwCurrentState = SERVICE_START_PENDING; in ServiceMain() 113 service_status.dwCurrentState = SERVICE_STOPPED; in ServiceMain() 147 service_status.dwCurrentState = SERVICE_STOPPED; in ServiceMain() 155 service_status.dwCurrentState = SERVICE_RUNNING; in ServiceMain()
|
/reactos/base/system/msiexec/ |
H A D | service.c | 42 static BOOL UpdateSCMStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, in UpdateSCMStatus() argument 48 status.dwCurrentState = dwCurrentState; in UpdateSCMStatus() 50 if (dwCurrentState == SERVICE_START_PENDING in UpdateSCMStatus() 51 || dwCurrentState == SERVICE_STOP_PENDING in UpdateSCMStatus() 52 || dwCurrentState == SERVICE_STOPPED) in UpdateSCMStatus()
|
/reactos/base/system/services/ |
H A D | driver.c | 254 dwPreviousState = lpService->Status.dwCurrentState; in ScmGetDriverStatus() 257 lpService->Status.dwCurrentState = SERVICE_RUNNING; in ScmGetDriverStatus() 276 if (lpService->Status.dwCurrentState == SERVICE_STOP_PENDING) in ScmGetDriverStatus() 280 lpService->Status.dwCurrentState = SERVICE_STOPPED; in ScmGetDriverStatus() 285 else if (lpService->Status.dwCurrentState == SERVICE_STOPPED) in ScmGetDriverStatus() 292 lpService->Status.dwCurrentState = SERVICE_STOPPED; in ScmGetDriverStatus() 323 pService->Status.dwCurrentState = SERVICE_RUNNING; in ScmStartDriver() 353 if (lpService->Status.dwCurrentState != SERVICE_RUNNING) in ScmControlDriver() 369 lpService->Status.dwCurrentState = SERVICE_STOP_PENDING; in ScmControlDriver()
|
/reactos/base/services/nfsd/ |
H A D | service.c | 218 ReportStatusToSCMgr(ssStatus.dwCurrentState, NO_ERROR, 0); in service_ctrl() 240 BOOL ReportStatusToSCMgr(DWORD dwCurrentState, in ReportStatusToSCMgr() argument 250 if (dwCurrentState == SERVICE_START_PENDING) in ReportStatusToSCMgr() 255 ssStatus.dwCurrentState = dwCurrentState; in ReportStatusToSCMgr() 259 if ( ( dwCurrentState == SERVICE_RUNNING ) || in ReportStatusToSCMgr() 260 ( dwCurrentState == SERVICE_STOPPED ) ) in ReportStatusToSCMgr() 440 if ( ssStatus.dwCurrentState == SERVICE_STOP_PENDING ) in CmdRemoveService() 449 if ( ssStatus.dwCurrentState == SERVICE_STOPPED ) in CmdRemoveService()
|
/reactos/dll/win32/qmgr/ |
H A D | service.c | 34 UpdateStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint) in UpdateStatus() argument 37 status.dwCurrentState = dwCurrentState; in UpdateStatus() 38 if (dwCurrentState == SERVICE_START_PENDING) in UpdateStatus() 68 UpdateStatus(status.dwCurrentState, NO_ERROR, 0); in ServiceHandler()
|
/reactos/base/services/telnetd/ |
H A D | serviceentry.c | 50 status.dwCurrentState = SERVICE_STOP_PENDING; in service_handler() 57 status.dwCurrentState = SERVICE_RUNNING; in service_handler() 76 status.dwCurrentState = SERVICE_RUNNING; in serv_main() 89 status.dwCurrentState = SERVICE_STOPPED; in serv_main()
|
/reactos/base/services/w32time/ |
H A D | w32time.c | 223 ServiceStatus.dwCurrentState = SERVICE_STOP_PENDING; in ControlHandler() 251 ServiceStatus.dwCurrentState = SERVICE_START_PENDING; in W32TmServiceMain() 270 ServiceStatus.dwCurrentState = SERVICE_STOPPED; in W32TmServiceMain() 281 ServiceStatus.dwCurrentState = SERVICE_RUNNING; in W32TmServiceMain() 316 ServiceStatus.dwCurrentState = SERVICE_STOPPED; in W32TmServiceMain() 329 ServiceStatus.dwCurrentState = SERVICE_STOPPED; in W32TmServiceMain()
|
/reactos/base/services/rpcss/ |
H A D | rpcss_main.c | 112 status.dwCurrentState = SERVICE_STOP_PENDING; in service_handler() 119 status.dwCurrentState = SERVICE_RUNNING; in service_handler() 143 status.dwCurrentState = SERVICE_RUNNING; in ServiceMain() 165 status.dwCurrentState = SERVICE_STOPPED; in ServiceMain()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtApphelpCacheControl.c | 230 status.dwCurrentState = SERVICE_STOP_PENDING; in service_handler() 251 status.dwCurrentState = SERVICE_RUNNING; in service_handler() 264 status.dwCurrentState = SERVICE_RUNNING; in service_main() 270 status.dwCurrentState = SERVICE_STOPPED; in service_main() 299 while (ssp->dwCurrentState != Status) in WaitService() 311 Status, ssp->dwCurrentState); in WaitService()
|
/reactos/modules/rostests/kmtests/kmtest/ |
H A D | service.c | 172 while (ServiceStatus.dwCurrentState != ExpectedServiceState) in KmtEnsureServiceState() 185 if (ServiceStatus.dwCurrentState != ExpectedServiceState) in KmtEnsureServiceState() 189 ServiceStatus.dwCurrentState, KmtGetServiceStateAsString(ServiceStatus.dwCurrentState), in KmtEnsureServiceState()
|
/reactos/modules/rosapps/templates/skel_service/ |
H A D | ServiceMain.c | 53 pServInfo->servStatus.dwCurrentState = NewStatus; in UpdateStatus() 58 pServInfo->servStatus.dwCurrentState, in UpdateStatus() 161 servInfo.servStatus.dwCurrentState = SERVICE_STOPPED; in ServiceMain()
|
/reactos/base/applications/mscutils/servman/ |
H A D | stop.c | 66 while (ServiceStatus.dwCurrentState != SERVICE_STOPPED) in DoStopService() 109 if (ServiceStatus.dwCurrentState == SERVICE_STOPPED) in DoStopService()
|
H A D | control.c | 91 while (ServiceStatus.dwCurrentState != ReqState) in DoControlService() 149 if (ServiceStatus.dwCurrentState == ReqState) in DoControlService()
|
H A D | start.c | 147 while (ServiceStatus.dwCurrentState != SERVICE_RUNNING) in DoStartService() 206 if (ServiceStatus.dwCurrentState == SERVICE_RUNNING) in DoStartService()
|
/reactos/base/services/wlansvc/ |
H A D | wlansvc.c | 35 SvcStatus.dwCurrentState = NewStatus; in UpdateServiceStatus() 72 SvcStatus.dwCurrentState = SERVICE_START_PENDING; in ServiceMain()
|
/reactos/base/applications/sc/ |
H A D | print.c | 70 (unsigned int)pStatus->dwCurrentState); in PrintServiceStatus() 72 switch (pStatus->dwCurrentState) in PrintServiceStatus()
|
/reactos/base/services/tcpsvcs/ |
H A D | tcpsvcs.c | 49 pServInfo->servStatus.dwCurrentState = NewStatus; in UpdateStatus() 54 pServInfo->servStatus.dwCurrentState, in UpdateStatus() 177 servInfo.servStatus.dwCurrentState = SERVICE_STOPPED; in ServiceMain()
|
/reactos/base/services/dnsrslvr/ |
H A D | dnsrslvr.c | 39 SvcStatus.dwCurrentState = NewStatus; in UpdateServiceStatus() 85 SvcStatus.dwCurrentState = SERVICE_START_PENDING; in ServiceMain()
|
/reactos/modules/rostests/apitests/localspl/ |
H A D | service.c | 149 ServiceStatus.dwCurrentState = SERVICE_RUNNING; in _ServiceMain() 156 ServiceStatus.dwCurrentState = SERVICE_STOPPED; in _ServiceMain()
|
/reactos/dll/win32/lsasrv/ |
H A D | service.c | 92 ServiceStatus.dwCurrentState = SERVICE_START_PENDING; in SamSsServiceMain() 101 ServiceStatus.dwCurrentState = SERVICE_RUNNING; in SamSsServiceMain()
|
/reactos/base/services/shsvcs/ |
H A D | thmserver.c | 155 if (status.dwCurrentState == SERVICE_RUNNING) in ThemeWaitForServiceReady() 160 if (status.dwCurrentState != SERVICE_START_PENDING) in ThemeWaitForServiceReady()
|