VirtualBox

Ignore:
Timestamp:
May 21, 2013 2:58:53 PM (12 years ago)
Author:
vboxsync
Message:

VBoxTray: fix WDDM resize retries

File:
1 edited

Legend:

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

    r44931 r46194  
    14861486        if (dwStatus != ERROR_SUCCESS)
    14871487        {
    1488             LogRel(("VBoxTray:(WDDM) Failed to resize the monitor."));
     1488            LogRel(("VBoxTray:(WDDM) Failed to resize the monitor.\n"));
    14891489            free(pPathInfoArray);
    14901490            free(pModeInfoArray);
     1491
     1492            if (dwStatus == ERROR_GEN_FAILURE)
     1493            {
     1494                LogRel(("VBoxTray:(WDDM) going to retry\n"));
     1495                return ERROR_RETRY; /* <- to make sure we retry */
     1496            }
    14911497            return dwStatus;
    14921498        }
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