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

Function SetStatus

WinArkSvc/WinArkSvc.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void 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
207void HandleMessage(const AlarmMessage& msg) {
208 switch (msg.Type)

Callers 2

ServiceMainFunction · 0.85
ServiceHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected