Lines Matching refs:SERVICE_RETURN_OK

48 // The functions returns SERVICE_RETURN_OK if we could start the service
72 returnValue = SERVICE_RETURN_OK;
135 // The function returns SERVICE_RETURN_OK if we could get the SCM
158 returnValue = SERVICE_RETURN_OK;
428 // The functions returns SERVICE_RETURN_OK if we could determine if
459 returnValue = SERVICE_RETURN_OK;
513 // The functions returns SERVICE_RETURN_OK if we could start the server
584 returnValue = SERVICE_RETURN_OK;
621 if (isServerRunning(&running, TRUE) != SERVICE_RETURN_OK)
634 returnValue = SERVICE_RETURN_OK;
662 // The functions returns SERVICE_RETURN_OK if we could stop the server
691 if (isServerRunning(&running, TRUE) != SERVICE_RETURN_OK)
702 returnValue = SERVICE_RETURN_OK;
734 // The function returns SERVICE_RETURN_OK if we could create the binary
740 ServiceReturnCode returnValue = SERVICE_RETURN_OK;
796 // The functions returns SERVICE_RETURN_OK if we could get a service name
805 ServiceReturnCode returnValue = SERVICE_RETURN_OK;
820 if (returnValue == SERVICE_RETURN_OK)
839 returnValue = SERVICE_RETURN_OK;
876 // The functions returns SERVICE_RETURN_OK if we could start the service
952 returnValue = SERVICE_RETURN_OK;
968 if (openScm(SC_MANAGER_ALL_ACCESS, &hScm) != SERVICE_RETURN_OK)
1035 if (code == SERVICE_RETURN_OK)
1038 if (code != SERVICE_RETURN_OK)
1048 if (code == SERVICE_RETURN_OK)
1054 if (code == SERVICE_RETURN_OK)
1066 if (code == SERVICE_RETURN_OK)
1079 if (code == SERVICE_RETURN_OK)
1089 if (isServerRunning(&running, TRUE) != SERVICE_RETURN_OK)
1095 if (!running && code == SERVICE_RETURN_OK)
1103 case SERVICE_RETURN_OK:
1137 if (code == SERVICE_RETURN_OK)
1177 if (code != SERVICE_RETURN_OK)
1303 if (code == SERVICE_RETURN_OK)
1361 if (code != SERVICE_RETURN_OK)
1400 // The function returns SERVICE_RETURN_OK if we could create the binary
1470 returnValue = SERVICE_RETURN_OK;
1500 // The functions returns SERVICE_RETURN_OK if we could create the service
1520 if (openScm(SC_MANAGER_ENUMERATE_SERVICE, &scm) == SERVICE_RETURN_OK)
1579 returnValue = SERVICE_RETURN_OK;
1585 returnValue = SERVICE_RETURN_OK;
1595 if (returnValue == SERVICE_RETURN_OK)
1614 SERVICE_RETURN_OK)
1664 if (getServiceList(&serviceList, &nbServices) == SERVICE_RETURN_OK)
1706 // The functions returns SERVICE_RETURN_OK if we could create a service
1714 ServiceReturnCode returnValue = SERVICE_RETURN_OK;
1764 // The function returns SERVICE_RETURN_OK if we could create the service and
1783 if (returnValue == SERVICE_RETURN_OK)
1785 if (openScm(SC_MANAGER_ALL_ACCESS, &scm) != SERVICE_RETURN_OK)
1797 if (returnValue == SERVICE_RETURN_OK)
1818 if ((returnValue == SERVICE_RETURN_OK) && (myService == NULL))
1842 if (returnValue == SERVICE_RETURN_OK)
1887 // If the service could be removed returns SERVICE_RETURN_OK.
1895 ServiceReturnCode returnValue = SERVICE_RETURN_OK;
1905 if (returnValue == SERVICE_RETURN_OK)
1922 if (returnValue == SERVICE_RETURN_OK)
1939 if (returnValue == SERVICE_RETURN_OK)
1973 if (returnValue == SERVICE_RETURN_OK)
2031 if (code == SERVICE_RETURN_OK)
2035 if (code == SERVICE_RETURN_OK)
2049 if (code == SERVICE_RETURN_OK)
2052 if (code == SERVICE_RETURN_OK)
2069 case SERVICE_RETURN_OK:
2111 if (code == SERVICE_RETURN_OK)
2115 if (code == SERVICE_RETURN_OK)
2165 case SERVICE_RETURN_OK:
2203 if (code == SERVICE_RETURN_OK)
2206 if (code == SERVICE_RETURN_OK)
2242 if (code == SERVICE_RETURN_OK)
2247 if (code == SERVICE_RETURN_OK)
2304 if (code == SERVICE_RETURN_OK)
2416 if (code == SERVICE_RETURN_OK)