Searched refs:hSMgrCreate (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/HostDrivers/VBoxUSB/win/Install/
H A DUSBInstall.cpp121 SC_HANDLE hSMgrCreate = OpenSCManager(NULL, NULL, SERVICE_CHANGE_CONFIG); local
125 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError));
126 if (hSMgrCreate)
128 SC_HANDLE hService = OpenService(hSMgrCreate,
163 CloseServiceHandle(hSMgrCreate);
180 SC_HANDLE hSMgrCreate = OpenSCManager(NULL, NULL, SERVICE_CHANGE_CONFIG); local
183 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError));
184 if (hSMgrCreate)
192 SC_HANDLE hService = CreateService(hSMgrCreate,
215 CloseServiceHandle(hSMgrCreate);
[all...]
/vbox/src/VBox/Additions/common/VBoxGuest/win/
H A DVBoxGuestInst.cpp40 SC_HANDLE hSMgrCreate = OpenSCManager(NULL, NULL, SERVICE_CHANGE_CONFIG); local
41 if (!hSMgrCreate)
51 SC_HANDLE hService = CreateService(hSMgrCreate,
65 CloseServiceHandle(hSMgrCreate);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPLib-win.cpp302 SC_HANDLE hSMgrCreate = OpenSCManager(NULL, NULL, SERVICE_CHANGE_CONFIG); local
304 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed dwErr=%d\n", dwErr));
305 if (hSMgrCreate != NULL)
312 SC_HANDLE hService = CreateService(hSMgrCreate,
335 CloseServiceHandle(hSMgrCreate);

Completed in 89 milliseconds