Lines Matching defs:serviceMain
726 // Build the path to the binary that contains serviceMain.
1010 // The job of the serviceMain is
1016 // The serviceMain will return only when the service is terminated.
1018 void serviceMain(int argc, char* argv[])
1031 debug("serviceMain");
1040 debug("serviceMain: could not get service name.");
1045 debug("serviceMain: failed to create service bin path.");
1060 debug("serviceMain: failed to register service handler.");
1108 debugError("serviceMain: doStartApplication() failed");
1179 debug("checking in serviceMain: error interrogating status.");
1216 debug("checking in serviceMain serviceHandler: service stopped with error.");
1249 debug("serviceMain returning.");
1250 } // serviceMain
1254 // Notify the serviceMain that service is now terminated.
1256 // terminationEvent the event upon which serviceMain is blocked
1260 debug("Faking a service termination so serviceMain can return.");
1318 // notify serviceMain that service has stopped
2252 {serviceName, (LPSERVICE_MAIN_FUNCTION) serviceMain},