VirtualBox

Ignore:
Timestamp:
Mar 26, 2025 12:49:44 PM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168180
Message:

VBoxService/Shared Folders: Skip initializing / enabling the 'automount' sub service on <= NT4 guests, as we don't support Shared Folders on those [build fix].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r108754 r108755  
    210210        /* If the service was not found, we disable this service without
    211211           causing VBoxService to fail. */
    212         if (   rc == VERR_HGCM_SERVICE_NOT_FOUND                          /* Host service is not available. */
    213             || RTSystemGetNtVersion() <= RTSYSTEM_MAKE_NT_VERSION(4,0,0)) /* On <= NT4 guests no Shared Folders are available. */
     212        if (   rc == VERR_HGCM_SERVICE_NOT_FOUND                         /* Host service is not available. */
     213#ifdef RT_OS_WINDOWS
     214            || RTSystemGetNtVersion() <= RTSYSTEM_MAKE_NT_VERSION(4,0,0) /* On <= NT4 guests no Shared Folders are available. */
     215#endif
     216           )
    214217        {
    215218            VGSvcVerbose(0, "vbsvcAutomounterInit: Shared Folders service is not available\n");
Note: See TracChangeset for help on using the changeset viewer.

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