Searched defs:hService (Results 1 - 7 of 7) sorted by relevance
/vbox/src/VBox/Additions/common/VBoxGuest/win/ |
H A D | VBoxGuestInst.cpp | 51 SC_HANDLE hService = CreateService(hSMgrCreate, local 61 if (!hService) 64 CloseServiceHandle(hService); 66 return hService ? 0 : -1; 78 SC_HANDLE hService = OpenService(hSMgr, VBOXGUEST_SERVICE_NAME, DELETE); local 79 if (hService) 84 if (DeleteService(hService)) 88 CloseServiceHandle(hService);
|
/vbox/src/VBox/HostDrivers/VBoxUSB/win/Install/ |
H A D | USBInstall.cpp | 128 SC_HANDLE hService = OpenService(hSMgrCreate, local 132 if (hService == NULL) 134 AssertMsg(hService, ("OpenService failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath)); 140 if (ChangeServiceConfig(hService, 156 AssertMsg(hService, ("ChangeServiceConfig failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath)); 159 if (hService != NULL) 160 CloseServiceHandle(hService); 192 SC_HANDLE hService = CreateService(hSMgrCreate, local 209 AssertMsg(hService, ("CreateService failed! LastError=%Rwa, szDriver=%s\n", dwLastError, szDriver)); 211 if (hService ! [all...] |
H A D | USBUninstall.cpp | 110 SC_HANDLE hService = OpenService(hSMgr, SERVICE_NAME, SERVICE_STOP | SERVICE_QUERY_STATUS); local 111 if (hService) 117 QueryServiceStatus(hService, &Status); 120 else if (ControlService(hService, SERVICE_CONTROL_STOP, &Status)) 126 QueryServiceStatus(hService, &Status); 138 CloseServiceHandle(hService); 170 SC_HANDLE hService = OpenService(hSMgr, SERVICE_NAME, DELETE); local 171 if (hService) 176 if (DeleteService(hService)) 183 CloseServiceHandle(hService); [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/testcase/ |
H A D | USBTest.cpp | 76 SC_HANDLE hService = OpenServiceW(hSMgr, USBMON_SERVICE_NAME_W, SERVICE_STOP | SERVICE_QUERY_STATUS); local 77 if (hService) 83 QueryServiceStatus(hService, &Status); 86 else if (ControlService(hService, SERVICE_CONTROL_STOP, &Status)) 92 QueryServiceStatus(hService, &Status); 104 CloseServiceHandle(hService);
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPLib-win.cpp | 312 SC_HANDLE hService = CreateService(hSMgrCreate, local 322 if (hService) 324 CloseServiceHandle(hService); 359 SC_HANDLE hService = OpenService(hSMgr, SERVICE_NAME, SERVICE_STOP | SERVICE_QUERY_STATUS); local 360 if (hService) 366 QueryServiceStatus(hService, &Status); 369 else if (ControlService(hService, SERVICE_CONTROL_STOP, &Status)) 375 QueryServiceStatus(hService, &Status); 391 CloseServiceHandle(hService); 428 SC_HANDLE hService local 542 SC_HANDLE hService = OpenService(hSMgr, SERVICE_NAME, SERVICE_QUERY_STATUS | SERVICE_START); local [all...] |
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxService-win.cpp | 184 static RTEXITCODE vboxServiceWinSetDesc(SC_HANDLE hService) argument 192 if (!ChangeServiceConfig2(hService, 222 SC_HANDLE hService = CreateService(hSCManager, local 228 if (hService != NULL) 237 hService = OpenService(hSCManager, VBOXSERVICE_NAME, SERVICE_ALL_ACCESS); 238 if (hService) 240 if (ChangeServiceConfig (hService, 266 rc = vboxServiceWinSetDesc(hService); 268 CloseServiceHandle(hService); 288 SC_HANDLE hService local [all...] |
/vbox/src/VBox/Additions/WINNT/Installer/ |
H A D | VBoxDrvInst.cpp | 932 SC_HANDLE hService = CreateService (hSCManager, /* SCManager database handle. */ local 945 if (NULL == hService) 955 hService = OpenService (hSCManager, /* SCManager database handle. */ 958 if (NULL == hService) 965 BOOL fResult = ChangeServiceConfig (hService, /* Service handle. */ 983 CloseServiceHandle(hService); 1012 CloseServiceHandle (hService); 1031 SC_HANDLE hService = NULL; local 1039 hService = OpenService(hSCManager, pszStartStopName, SERVICE_ALL_ACCESS); 1040 if (NULL == hService) [all...] |
Completed in 79 milliseconds