Lines Matching refs:pszHome
121 * @param pszHome The directory where to try load VBoxCAPI/VBoxXPCOMC
126 static int tryLoadLibrary(const char *pszHome, int fSetAppHome)
128 size_t cchHome = pszHome ? strlen(pszHome) : 0;
144 memcpy(szName, pszHome, cchHome);
157 if (pszHome)
158 setenv("VBOX_APP_HOME", pszHome, 1 /* always override */);
252 const char *pszHome;
259 pszHome = getenv("VBOX_APP_HOME");
260 if (pszHome)
261 return tryLoadLibrary(pszHome, 0);
286 pszHome = getenv("ProgramFiles");
287 if (pszHome)
292 strncpy(tmp, pszHome, cb);