VirtualBox

Ignore:
Timestamp:
Jul 22, 2010 5:48:18 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63938
Message:

Main: rename LockForSession() API to LockMachine() and fix parameters; move code from internal open*Session() methods into LockMachine()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp

    r31016 r31019  
    150150        {
    151151            RTPrintf ("Opening an existing session...\n");
    152             SessionType_T st;
    153             CHECK_ERROR_BREAK(m, LockForSession(session, true /* fPermitShared */, &st));
     152            CHECK_ERROR_BREAK(m, LockMachine(session, LockType_Shared));
    154153
    155154            ComPtr <IConsole> console;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette