VirtualBox

Ignore:
Timestamp:
Oct 31, 2008 1:35:03 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38680
Message:

Main: #3276: Simplified suspend/resume event handling in VBoxSVC.

File:
1 edited

Legend:

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

    r13696 r13713  
    38283828 *
    38293829 * @param aMachine  Session machine object.
    3830  * @param aIPCSem   Mutex IPC semaphore handle for this machine.
     3830 * @param aControl  Direct session control object (optional).
     3831 * @param aIPCSem   Mutex IPC semaphore handle for this machine (optional).
    38313832 *
    38323833 * @note locks this object for reading.
     
    38343835#if defined (RT_OS_WINDOWS)
    38353836bool Machine::isSessionOpen (ComObjPtr <SessionMachine> &aMachine,
     3837                             ComPtr <IInternalSessionControl> *aControl /*= NULL*/,
    38363838                             HANDLE *aIPCSem /*= NULL*/,
    38373839                             bool aAllowClosing /*= false*/)
    38383840#elif defined (RT_OS_OS2)
    38393841bool Machine::isSessionOpen (ComObjPtr <SessionMachine> &aMachine,
     3842                             ComPtr <IInternalSessionControl> *aControl /*= NULL*/,
    38403843                             HMTX *aIPCSem /*= NULL*/,
    38413844                             bool aAllowClosing /*= false*/);
    38423845#else
    38433846bool Machine::isSessionOpen (ComObjPtr <SessionMachine> &aMachine,
     3847                             ComPtr <IInternalSessionControl> *aControl /*= NULL*/,
    38443848                             bool aAllowClosing /*= false*/)
    38453849#endif
     
    38603864
    38613865        aMachine = mData->mSession.mMachine;
     3866
     3867        if (aControl != NULL)
     3868            *aControl = mData->mSession.mDirectControl;
    38623869
    38633870#if defined (RT_OS_WINDOWS) || defined (RT_OS_OS2)
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