VirtualBox

Ignore:
Timestamp:
May 3, 2007 1:53:29 PM (18 years ago)
Author:
vboxsync
Message:

Main & All Frontends: Prototyped a bunch of Main API changes (IVirtualBoxErrorInfo extension for cascading errors; IMachine/IConsoleCallback extension to properly activate the console window; IVirtualBoxCallback::onExtraDataCanChange() support for error messages; minor IHost::createUSBDeviceFilter/removeUSBDeviceFilter corrections).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SessionImpl.cpp

    r678 r2463  
    588588
    589589    return mConsole->onUSBDeviceDetach (aId);
     590}
     591
     592STDMETHODIMP Session::OnShowWindow (BOOL aCheck, BOOL *aCanShow)
     593{
     594    AutoCaller autoCaller (this);
     595    AssertComRCReturn (autoCaller.rc(), autoCaller.rc());
     596
     597    AutoReaderLock alock (this);
     598    AssertReturn (mState == SessionState_SessionOpen &&
     599                  mType == SessionType_DirectSession, E_FAIL);
     600
     601    return mConsole->onShowWindow (aCheck, aCanShow);
    590602}
    591603
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