MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / unregisterService

Method unregisterService

MonaBase/sources/WinService.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104bool WinService::unregisterService(Exception& ex) {
105 if (!open(ex))
106 return false;
107 if (!DeleteService(_svcHandle))
108 ex.set(Exception::SERVICE, "Cannot unregister service ", _name);
109 return !ex;
110}
111
112
113bool WinService::registered(Exception& ex) const {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected