MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Stop

Method Stop

WinSysCore/Service.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17bool Service::Stop() {
18 SERVICE_STATUS status;
19 return ::ControlService(_handle.get(), SERVICE_CONTROL_STOP, &status) ? true : false;
20}
21
22bool Service::Pause() {
23 SERVICE_STATUS status;

Callers 4

OnConfigureEventsMethod · 0.45
OnMonitorStopMethod · 0.45
OnCloseMethod · 0.45
OnServiceStopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected