VirtualBox

Ignore:
Timestamp:
Jun 18, 2019 11:18:17 AM (6 years ago)
Author:
vboxsync
Message:

DnD/VBoxTray: Return VERR_NOT_SUPPORTED when initializing if the host service is not available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r76553 r79207  
    690690        if (FAILED(hr))
    691691        {
    692             LogRel(("DnD: Creating drop target failed with hr=%Rhrc\n", hr));
    693             rc = VERR_GENERAL_FAILURE; /** @todo Find a better rc. */
     692            if (hr != DRAGDROP_E_INVALIDHWND) /* Could be because the DnD host service is not available. */
     693                LogRel(("DnD: Creating drop target failed with hr=%Rhrc\n", hr));
     694            rc = VERR_NOT_SUPPORTED; /* Report back DnD as not being supported. */
    694695        }
    695696        else
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