VirtualBox

Changeset 35640 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Jan 19, 2011 8:44:02 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69548
Message:

doxygen nit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/initterm.cpp

    r35638 r35640  
    253253#if !defined(VBOX_WITH_XPCOM)
    254254
    255     /**
    256       * We initialize COM in GUI thread in STA, to be compliant with QT and
    257       * OLE requirments (for example to allow D&D), while other threads
    258       * initialized in regular MTA. To allow fast proxyless access from
    259       * GUI thread to COM objects, we explicitly provide our COM objects
    260       * with free threaded marshaller.
    261       * !!!!! Please think twice before touching this code !!!!!
    262       */
    263     DWORD flags = fGui ? 
     255    /*
     256     * We initialize COM in GUI thread in STA, to be compliant with QT and
     257     * OLE requirments (for example to allow D&D), while other threads
     258     * initialized in regular MTA. To allow fast proxyless access from
     259     * GUI thread to COM objects, we explicitly provide our COM objects
     260     * with free threaded marshaller.
     261     * !!!!! Please think twice before touching this code !!!!!
     262     */
     263    DWORD flags = fGui ?
    264264                  COINIT_APARTMENTTHREADED
    265265                | COINIT_SPEED_OVER_MEMORY
     
    287287
    288288    if (fGui)
    289            Assert(RTThreadIsMain(hSelf));
     289        Assert(RTThreadIsMain(hSelf));
    290290
    291291    if (!fRc)
     
    307307#else /* !defined (VBOX_WITH_XPCOM) */
    308308
    309      /* Unused here */
    310     (void)fGui;
     309    /* Unused here */
     310    NOREF(fGui);
    311311
    312312    if (ASMAtomicXchgBool(&gIsXPCOMInitialized, true) == true)
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