~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/Runtime/r3/win/process-win.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-17 23:23:09 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111017232309-kzm6841lzk61ranj
Tags: 4.1.4-dfsg-1
* New upstream release.
  - Fixes missing icons when using pt_BR locale. (Closes: #507188)
  - Fixes guest additions download url. (Closes: #637349; LP: #840668)
* Refresh patches.
* Drop the vboxmouse x11 driver. The mouse integration is now completely
  handled by the kernel module.
* Restrict dh_pycentral to the virtualbox binary package.
* Merge changes from the Ubuntu package but use them only when built
  on Ubuntu:
  - Add an Apport hook.
  - Add vboxguest modalias to the package control field.
* Pass KBUILD_VERBOSE=2 to kmk.
* Add 36-fix-text-mode.patch to fix text mode when using the vboxvideo driver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: process-win.cpp 37448 2011-06-14 16:06:06Z vboxsync $ */
 
1
/* $Id: process-win.cpp $ */
2
2
/** @file
3
3
 * IPRT - Process, Windows.
4
4
 */
967
967
     */
968
968
    AssertPtrReturn(pszExec, VERR_INVALID_POINTER);
969
969
    AssertReturn(*pszExec, VERR_INVALID_PARAMETER);
970
 
    AssertReturn(!(fFlags & ~(RTPROC_FLAGS_DETACHED | RTPROC_FLAGS_HIDDEN | RTPROC_FLAGS_SERVICE | RTPROC_FLAGS_SAME_CONTRACT | RTPROC_FLAGS_NO_PROFILE)), VERR_INVALID_PARAMETER);
 
970
    AssertReturn(!(fFlags & ~(RTPROC_FLAGS_DETACHED | RTPROC_FLAGS_HIDDEN | RTPROC_FLAGS_SERVICE | RTPROC_FLAGS_SAME_CONTRACT | RTPROC_FLAGS_NO_PROFILE | RTPROC_FLAGS_NO_WINDOW)), VERR_INVALID_PARAMETER);
971
971
    AssertReturn(!(fFlags & RTPROC_FLAGS_DETACHED) || !phProcess, VERR_INVALID_PARAMETER);
972
972
    AssertReturn(hEnv != NIL_RTENV, VERR_INVALID_PARAMETER);
973
973
    AssertPtrReturn(papszArgs, VERR_INVALID_PARAMETER);
1094
1094
                DWORD               dwCreationFlags = CREATE_UNICODE_ENVIRONMENT;
1095
1095
                if (fFlags & RTPROC_FLAGS_DETACHED)
1096
1096
                    dwCreationFlags |= DETACHED_PROCESS;
 
1097
                if (fFlags & RTPROC_FLAGS_NO_WINDOW)
 
1098
                    dwCreationFlags |= CREATE_NO_WINDOW;
1097
1099
 
1098
1100
                /*
1099
1101
                 * Only use the normal CreateProcess stuff if we have no user name