Changeset 70228 in vbox for trunk/src/VBox/Main/src-all/win
- Timestamp:
- Dec 19, 2017 7:28:15 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119820
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r70106 r70228 1316 1316 const char *pszLocalServer = "VBoxSVC.exe"; 1317 1317 #ifdef VBOX_WITH_SDS 1318 /** 1319 * The Name of windows service is referenced in different places. 1320 * Don't forget to change it in other places too If you change it here : 1321 * VBoxMergeApp.wxi (cp_VBoxSDS component), 1322 * VBoxSDS.cpp and VirtualBox.xidl 1323 */ 1318 1324 const char *pszSdsAppId = "{EC0E78E8-FA43-43E8-AC0A-02C784C4A4FA}"; 1319 1325 const char *pszSdsExe = "VBoxSDS.exe"; … … 2420 2426 if (fDeleteIt) 2421 2427 { 2422 hService = OpenServiceW(hSCM, pwszServiceName, SERVICE_STOP | DELETE);2428 hService = OpenServiceW(hSCM, pwszServiceName, SERVICE_STOP); 2423 2429 if (hService) 2424 2430 { … … 2462 2468 { 2463 2469 Assert(pState->fUpdate); 2464 hSCM = OpenSCManagerW(NULL, NULL, SC_MANAGER_CREATE_SERVICE | SC_MANAGER_CONNECT);2470 hSCM = OpenSCManagerW(NULL, NULL, SC_MANAGER_CREATE_SERVICE); 2465 2471 if (hSCM) 2466 2472 { … … 2468 2474 pwszServiceName, 2469 2475 pwszDisplayName, 2470 SERVICE_ ALL_ACCESS/* dwDesiredAccess */,2476 SERVICE_CHANGE_CONFIG /* dwDesiredAccess */, 2471 2477 uServiceType, 2472 2478 uStartType, … … 2545 2551 2546 2552 #ifdef VBOX_WITH_SDS 2553 /** 2554 * The Name of windows service is referenced in different places. 2555 * Don't forget to change it in other places too If you change it here : 2556 * VBoxMergeApp.wxi (cp_VBoxSDS component), 2557 * VBoxSDS.cpp and VirtualBox.xidl 2558 */ 2547 2559 vbpsUpdateWindowsService(&State, wszVBoxDir, L"VBoxSDS.exe", L"VBoxSDS", 2548 2560 L"VirtualBox system service", L"Used as a COM server for VirtualBox API.");
Note:
See TracChangeset
for help on using the changeset viewer.