Home
last modified time | relevance | path

Searched refs:GetEnvironmentVariable (Results 1 – 15 of 15) sorted by relevance

/reactos/base/shell/cmd/
H A Dwhere.c158 dwBuffer = GetEnvironmentVariable (_T("PATHEXT"), pszPathExt, ENV_BUFFER_SIZE); in SearchForExecutable()
169 GetEnvironmentVariable (_T("PATHEXT"), pszPathExt, dwBuffer); in SearchForExecutable()
203 dwBuffer = GetEnvironmentVariable (_T("PATH"), pszPath, ENV_BUFFER_SIZE); in SearchForExecutable()
215 GetEnvironmentVariable (_T("PATH"), pszPath, dwBuffer); in SearchForExecutable()
H A Dprompt.c65 if (GetEnvironmentVariable(_T("PROMPT"), Buffer, _countof(Buffer)) == 0) in InitPrompt()
77 if (GetEnvironmentVariable(_T("PROMPT"), szPrompt, _countof(szPrompt))) in HasInfoLine()
140 if (GetEnvironmentVariable(_T("PROMPT"), szPrompt, _countof(szPrompt))) in PrintPrompt()
H A Dpath.c61 dwBuffer = GetEnvironmentVariable(_T("PATH"), pszBuffer, ENV_BUFFER_SIZE); in cmd_path()
81 GetEnvironmentVariable(_T("PATH"), pszBuffer, dwBuffer); in cmd_path()
H A Dcopy.c125 GetEnvironmentVariable(_T("TEMP"),TempSrc,MAX_PATH); in copy()
150 GetEnvironmentVariable(_T("TEMP"),dest,MAX_PATH); in copy()
377 size = GetEnvironmentVariable (_T("COPYCMD"), evar, 512); in cmd_copy()
384 size = GetEnvironmentVariable (_T("COPYCMD"), evar, size); in cmd_copy()
H A Dstart.c188 size = GetEnvironmentVariable (_T("COMSPEC"), comspec, MAX_PATH); in cmd_start()
204 size = GetEnvironmentVariable (_T("COMSPEC"), comspec, size); in cmd_start()
H A Dsetlocal.c161 if (!GetEnvironmentVariable(drvEnvVar, szCurrent, ARRAYSIZE(szCurrent))) in cmd_endlocal()
H A Dcmd.c893 size = GetEnvironmentVariable(varName, NULL, 0); in GetEnvVar()
898 GetEnvironmentVariable(varName, ret, size + 1); in GetEnvVar()
H A Ddir.c1878 if (GetEnvironmentVariable (_T("DIRCMD"), dircmd, ARRAYSIZE(dircmd))) in CommandDir()
/reactos/sdk/lib/atl/
H A Dcstringt.h86 static DWORD GetEnvironmentVariable( in GetEnvironmentVariable() function
273 static DWORD GetEnvironmentVariable( in GetEnvironmentVariable() function
658 BOOL GetEnvironmentVariable(_In_z_ PCXSTR pszVar) in GetEnvironmentVariable() function
660 int nLength = StringTraits::GetEnvironmentVariable(pszVar, NULL, 0); in GetEnvironmentVariable()
665 StringTraits::GetEnvironmentVariable(pszVar, pszBuffer, nLength); in GetEnvironmentVariable()
/reactos/dll/shellext/acppage/
H A DCLayerUIPropPage.cpp179 if (tmp.GetEnvironmentVariable(L"SystemRoot")) in InitFile()
188 tmp.GetEnvironmentVariable(L"SystemRoot"); in InitFile()
/reactos/modules/rostests/apitests/atl/
H A DCString.inl397 ret = test.GetEnvironmentVariable(_X("SystemDrive"));
407 ret = test.GetEnvironmentVariable(_X("SystemRoot"));
412 ret = test.GetEnvironmentVariable(_X("some non existing env var"));
/reactos/dll/cpl/main/
H A Dmouse.c435 dwUserProfile = GetEnvironmentVariable(_T("USERPROFILE"), szUserProfile, MAX_PATH); in CompressPath()
436 dwSystemRoot = GetEnvironmentVariable(_T("SystemRoot"), szSystemRoot, MAX_PATH); in CompressPath()
437 dwProgramFiles = GetEnvironmentVariable(_T("ProgramFiles"), szProgramFiles, MAX_PATH); in CompressPath()
/reactos/base/applications/network/ftp/
H A Dcmds.c1294 NumBytes = GetEnvironmentVariable( ShellName, ShellCmd, MAX_PATH); in shell()
/reactos/base/shell/explorer/
H A Dtraywnd.cpp519 strDefaultDir.GetEnvironmentVariable(L"HOMEDRIVE"); in RunFileDlgThread()
520 strHomePath.GetEnvironmentVariable(L"HOMEPATH"); in RunFileDlgThread()
/reactos/sdk/include/psdk/
H A Dwinbase.h3630 #define GetEnvironmentVariable GetEnvironmentVariableW macro
3839 #define GetEnvironmentVariable GetEnvironmentVariableA macro