VirtualBox

Changeset 32657 in vbox


Ignore:
Timestamp:
Sep 21, 2010 8:53:52 AM (14 years ago)
Author:
vboxsync
Message:

IPRT/process-win: Added fallback for environment block creation (Userenv-API / Profile environment block creation).

File:
1 edited

Legend:

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

    r32656 r32657  
    626626        RTLdrClose(hUserenv);
    627627    }
     628    /* If we don't have the Userenv-API for whatever reason or something with the
     629     * native environment block failed, try to return at least our own environment block. */
     630    if (RT_FAILURE(rc))
     631        rc = RTEnvQueryUtf16Block(hEnv, ppwszBlock);
    628632    return rc;
    629633}
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