| 20 | } |
| 21 | |
| 22 | bool Service::Pause() { |
| 23 | SERVICE_STATUS status; |
| 24 | return ::ControlService(_handle.get(), SERVICE_CONTROL_PAUSE, &status) ? true : false; |
| 25 | } |
| 26 | |
| 27 | bool Service::Continue() { |
| 28 | SERVICE_STATUS status; |
no outgoing calls
no test coverage detected