| 199 | } |
| 200 | |
| 201 | void SetStatus(DWORD status) { |
| 202 | g_Status.dwCurrentState = status; |
| 203 | g_Status.dwControlsAccepted = status == SERVICE_RUNNING ? SERVICE_ACCEPT_STOP : 0; |
| 204 | ::SetServiceStatus(g_hService, &g_Status); |
| 205 | } |
| 206 | |
| 207 | void HandleMessage(const AlarmMessage& msg) { |
| 208 | switch (msg.Type) |
no outgoing calls
no test coverage detected