Lines Matching defs:hSCManager
411 SC_HANDLE hSCManager = OpenSCManager(NULL, NULL,
413 if (!hSCManager) {
418 SC_HANDLE hService = OpenService(hSCManager, BIND_SERVICE_NAME,
437 CloseServiceHandle(hSCManager);
988 SC_HANDLE hSCManager;
1013 hSCManager= OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1014 if (!hSCManager)
1034 hService = CreateService(hSCManager, BIND_SERVICE_NAME,
1045 if (hSCManager)
1046 CloseServiceHandle(hSCManager);
1053 SC_HANDLE hSCManager;
1060 hSCManager= OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1061 if (!hSCManager) {
1083 hService = OpenService(hSCManager, BIND_SERVICE_NAME,
1088 if (hSCManager)
1089 CloseServiceHandle(hSCManager);
1104 if (hSCManager)
1105 CloseServiceHandle(hSCManager);
1112 SC_HANDLE hSCManager;
1117 hSCManager= OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1118 if (!hSCManager && uninstall == TRUE) {
1124 hService = OpenService(hSCManager, BIND_SERVICE_NAME,
1153 if (hSCManager)
1154 CloseServiceHandle(hSCManager);
1309 SC_HANDLE hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1310 if (!hSCManager) {
1314 SC_HANDLE hBINDSvc = OpenService(hSCManager, BIND_SERVICE_NAME,
1329 SC_HANDLE hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1330 if (!hSCManager) {
1334 SC_HANDLE hBINDSvc = OpenService(hSCManager, BIND_SERVICE_NAME,
1348 SC_HANDLE hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
1349 if (hSCManager) {
1350 SC_HANDLE hBINDSvc = OpenService(hSCManager, BIND_SERVICE_NAME,