VirtualBox

Changeset 4305 in vbox for trunk/src


Ignore:
Timestamp:
Aug 23, 2007 8:50:21 AM (17 years ago)
Author:
vboxsync
Message:

Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxService/VBoxRestore.cpp

    r4304 r4305  
    131131            if (waitEvent.u32EventFlagsOut & VMMDEV_EVENT_RESTORED)
    132132                PostMessage(gToolWindow, WM_VBOX_RESTORED, 0, 0);
    133 
     133            else
     134                /** @todo Don't poll, but wait for connect/disconnect events */
     135                PostMessage(gToolWindow, WM_VBOX_CHECK_VRDP, 0, 0);
    134136        }
    135137        else
     
    137139            dprintf(("VBoxService: error 0 from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
    138140
    139             /** @todo Don't poll, but wait for connect/disconnect events */
    140             PostMessage(gToolWindow, WM_VBOX_CHECK_VRDP, 0, 0);
    141141            /* sleep a bit to not eat too much CPU in case the above call always fails */
    142142            if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 10) == WAIT_OBJECT_0)
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