Lines Matching defs:serviceMain
725 // Build the path to the binary that contains serviceMain.
1009 // The job of the serviceMain is
1015 // The serviceMain will return only when the service is terminated.
1017 void serviceMain(int argc, char* argv[])
1030 debug("serviceMain");
1039 debug("serviceMain: could not get service name.");
1044 debug("serviceMain: failed to create service bin path.");
1059 debug("serviceMain: failed to register service handler.");
1107 debugError("serviceMain: doStartApplication() failed");
1178 debug("checking in serviceMain: error interrogating status.");
1215 debug("checking in serviceMain serviceHandler: service stopped with error.");
1248 debug("serviceMain returning.");
1249 } // serviceMain
1253 // Notify the serviceMain that service is now terminated.
1255 // terminationEvent the event upon which serviceMain is blocked
1259 debug("Faking a service termination so serviceMain can return.");
1317 // notify serviceMain that service has stopped
2251 {serviceName, (LPSERVICE_MAIN_FUNCTION) serviceMain},