/vbox/include/iprt/ |
H A D | env.h | 102 * @param hEnv Environment block handle. 106 RTDECL(int) RTEnvQueryUtf16Block(RTENV hEnv, PRTUTF16 *ppwszzBlock); 263 * @param hEnv The environment handle. 266 RTDECL(uint32_t) RTEnvCountEx(RTENV hEnv); variable 279 * @param hEnv The environment handle. 287 RTDECL(uint32_t) RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue);
|
H A D | process.h | 144 * @param hEnv Handle to the environment block for the child. Pass 176 RTR3DECL(int) RTProcCreateEx(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags,
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | process-win.cpp | 623 * @param hEnv Handle of an existing RTENV block to use. 624 * @param fOverwriteExisting Whether to overwrite existing values of hEnv 628 static int rtProcWinEnvironmentCreateInternal(VOID *pvEnvBlock, RTENV hEnv, argument 633 int rc = RTEnvClone(&hEnvTemp, hEnv); 661 if ( !RTEnvExistEx(hEnv, pszVar) 693 * whereas hEnv is an additional set of environment variables which overwrite existing 700 * @param hEnv Own environment block to extend/overwrite the profile's data with. 703 static int rtProcWinCreateEnvFromToken(HANDLE hToken, RTENV hEnv, PRTUTF16 *ppwszBlock) argument 706 Assert(hEnv != NIL_RTENV); 723 rc = rtProcWinEnvironmentCreateInternal(pvEnvBlockProfile, hEnv, 758 rtProcWinCreateEnvFromAccount(PRTUTF16 pwszUser, PRTUTF16 pwszPassword, PRTUTF16 pwszDomain, RTENV hEnv, PRTUTF16 *ppwszBlock) argument 787 rtProcWinCreateAsUser2(PRTUTF16 pwszUser, PRTUTF16 pwszPassword, PRTUTF16 pwszExec, PRTUTF16 pwszCmdLine, RTENV hEnv, DWORD dwCreationFlags, STARTUPINFOW *pStartupInfo, PROCESS_INFORMATION *pProcInfo, uint32_t fFlags) argument 999 rtProcWinCreateAsUser1(PRTUTF16 pwszUser, PRTUTF16 pwszPassword, PRTUTF16 pwszExec, PRTUTF16 pwszCmdLine, RTENV hEnv, DWORD dwCreationFlags, STARTUPINFOW *pStartupInfo, PROCESS_INFORMATION *pProcInfo, uint32_t fFlags) argument 1038 rtProcWinCreateAsUser(PRTUTF16 pwszUser, PRTUTF16 pwszPassword, PRTUTF16 pwszExec, PRTUTF16 pwszCmdLine, RTENV hEnv, DWORD dwCreationFlags, STARTUPINFOW *pStartupInfo, PROCESS_INFORMATION *pProcInfo, uint32_t fFlags) argument 1077 RTProcCreateEx(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, PCRTHANDLE phStdIn, PCRTHANDLE phStdOut, PCRTHANDLE phStdErr, const char *pszAsUser, const char *pszPassword, PRTPROCESS phProcess) argument [all...] |
/vbox/src/VBox/ValidationKit/testboxscript/ |
H A D | TestBoxHelper.cpp | 143 RTENV hEnv; local 144 int rc = RTEnvClone(&hEnv, RTENV_DEFAULT); 147 uint32_t cVars = RTEnvCountEx(hEnv); 152 rc = RTEnvGetByIndexEx(hEnv, iVar, szVar, sizeof(szVar), szValue, sizeof(szValue)); 173 RTEnvDestroy(hEnv);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | env-generic.cpp | 754 RTDECL(int) RTEnvQueryUtf16Block(RTENV hEnv, PRTUTF16 *ppwszzBlock) argument 763 if (hEnv == RTENV_DEFAULT) 772 pIntEnv = hEnv; 850 RTDECL(uint32_t) RTEnvCountEx(RTENV hEnv) argument 852 PRTENVINTERNAL pIntEnv = hEnv; 865 RTDECL(uint32_t) RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue) argument 867 PRTENVINTERNAL pIntEnv = hEnv;
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | process-creation-posix.cpp | 295 RTR3DECL(int) RTProcCreateEx(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, argument 308 AssertReturn(hEnv != NIL_RTENV, VERR_INVALID_PARAMETER); 309 const char * const *papszEnv = RTEnvGetExecEnvP(hEnv); 392 char *pszPath = RTEnvDupEx(hEnv, "PATH");
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceControlProcess.cpp | 1220 * @param hEnv Handle to environment block to use. 1230 static int gstcntlProcessCreateProcess(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, argument 1304 rc = RTProcCreateEx(szSysprepCmd, papszArgsExp, hEnv, 0 /* fFlags */, 1373 rc = RTProcCreateEx(szExecExp, papszArgsExp, hEnv, uProcFlags, 1518 RTENV hEnv; local 1520 rc = RTEnvClone(&hEnv, RTENV_DEFAULT); 1526 rc = RTEnvPutEx(hEnv, papszEnv[i]); 1593 rc = gstcntlProcessCreateProcess(pProcess->StartupInfo.szCmd, papszArgs, hEnv, pProcess->StartupInfo.uFlags, 1673 RTEnvDestroy(hEnv);
|
H A D | VBoxServiceControlSession.cpp | 2014 RTENV hEnv = NIL_RTENV; local 2021 rc = RTEnvClone(&hEnv, RTENV_DEFAULT); 2051 rc = RTProcCreateEx(pszExeName, papszArgs, hEnv, uProcFlags, 2085 rc = RTProcCreateEx(pszExeName, papszArgs, hEnv, uProcFlags, 2097 if (hEnv != NIL_RTENV) 2098 RTEnvDestroy(hEnv);
|
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 135 RTENV hEnv; member in struct:TXSEXEC 2215 rc = RTEnvSetEx(pTxsExec->hEnv, "IPRT_TEST_PIPE", szVal); 2321 int rc = RTEnvClone(&pTxsExec->hEnv, RTENV_DEFAULT); 2327 rc = RTEnvPutEx(pTxsExec->hEnv, papszEnv[i]); 2343 rc2 = RTEnvDestroy(pTxsExec->hEnv); AssertRC(rc2); 2344 pTxsExec->hEnv = NIL_RTENV; 2441 pTxsExec->hEnv = NIL_RTENV; 2531 rc = RTProcCreateEx(pszExecName, papszArgs, pTxsExec->hEnv, 0 /*fFlags*/,
|
/vbox/src/bldprogs/ |
H A D | scmsubversion.cpp | 183 * @param hEnv Handle to the environment block for the child. 197 int RTProcExecToString(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, argument 374 * @param hEnv Handle to the environment block for the child. 378 int RTProcExec(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, argument
|