~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Main/glue/initterm.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: initterm.cpp $ */
 
1
/* $Id: initterm.cpp 33540 2010-10-28 09:27:05Z vboxsync $ */
2
2
 
3
3
/** @file
4
4
 * MS COM / XPCOM Abstraction Layer - Initialization and Termination.
27
27
  /* XPCOM_GLUE is defined when the client uses the standalone glue
28
28
   * (i.e. dynamically picks up the existing XPCOM shared library installation).
29
29
   * This is not the case for VirtualBox XPCOM clients (they are always
30
 
   * distrubuted with the self-built XPCOM library, and therefore have a binary
 
30
   * distributed with the self-built XPCOM library, and therefore have a binary
31
31
   * dependency on it) but left here for clarity.
32
32
   */
33
33
# if defined(XPCOM_GLUE)
258
258
 
259
259
    rc = CoInitializeEx(NULL, flags);
260
260
 
261
 
    /// @todo the below rough method of changing the aparment type doesn't
 
261
    /// @todo the below rough method of changing the apartment type doesn't
262
262
    /// work on some systems for unknown reason (CoUninitialize() simply does
263
263
    /// nothing there, or at least all 10 000 of subsequent CoInitializeEx()
264
264
    /// continue to return RPC_E_CHANGED_MODE there). The problem on those