VirtualBox

Changeset 32292 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Sep 7, 2010 1:52:22 PM (14 years ago)
Author:
vboxsync
Message:

RTProcTerminate/win: Initializes globals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r30093 r32292  
    998998RTR3DECL(int) RTProcTerminate(RTPROCESS Process)
    999999{
    1000     int     rc       = VINF_SUCCESS;
    1001     HANDLE  hProcess = rtProcWinFindPid(Process);
     1000    int rc = RTOnce(&g_rtProcWinInitOnce, rtProcWinInitOnce, NULL, NULL);
     1001    AssertRCReturn(rc, rc);
     1002
     1003    /*
     1004     * Try find the process among the ones we've spawned, otherwise, attempt
     1005     * opening the specified process.
     1006     */
     1007    HANDLE hProcess = rtProcWinFindPid(Process);
    10021008    if (hProcess != NULL)
    10031009    {
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