Searched refs:maxEnv (Results 1 – 1 of 1) sorted by relevance
115 std::size_t const maxEnv = 32767; in extendLoaderEnvironment() local116 WCHAR pad[2 * MAX_PATH + maxEnv]; in extendLoaderEnvironment()119 WCHAR env[maxEnv]; in extendLoaderEnvironment()120 DWORD n = GetEnvironmentVariableW(L"PATH", env, maxEnv); in extendLoaderEnvironment()121 if (n >= maxEnv || n == 0 && GetLastError() != ERROR_ENVVAR_NOT_FOUND) { in extendLoaderEnvironment()
Completed in 14 milliseconds