VirtualBox

Changeset 70240 in vbox


Ignore:
Timestamp:
Dec 20, 2017 12:32:57 PM (7 years ago)
Author:
vboxsync
Message:

VBoxProxyStub.c: Official docs says DELETE is required for DeleteService. No reason for removal stated in r119820, so restoring it. Dropped incorrectly formatted comments about where to also rename VBoxSDS if we ever want to do that (we won't, and if we do, there's grep).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r70228 r70240  
    13161316    const char *pszLocalServer      = "VBoxSVC.exe";
    13171317#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     */
    13241318    const char *pszSdsAppId         = "{EC0E78E8-FA43-43E8-AC0A-02C784C4A4FA}";
    13251319    const char *pszSdsExe           = "VBoxSDS.exe";
     
    24262420        if (fDeleteIt)
    24272421        {
    2428             hService = OpenServiceW(hSCM, pwszServiceName, SERVICE_STOP);
     2422            hService = OpenServiceW(hSCM, pwszServiceName, SERVICE_STOP | DELETE);
    24292423            if (hService)
    24302424            {
     
    25512545
    25522546#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         */
    25592547        vbpsUpdateWindowsService(&State, wszVBoxDir, L"VBoxSDS.exe", L"VBoxSDS",
    25602548                                 L"VirtualBox system service", L"Used as a COM server for VirtualBox API.");
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette