From: "Erich E. Hoover" erich.e.hoover@gmail.com
NeedCurrentDirectoryForExePath does not use the registry, it only uses the environment variable. MSDN is warning not to use the registry for this feature because the registry location may change or be out of date for the current process.
Signed-off-by: Erich E. Hoover erich.e.hoover@gmail.com --- dlls/kernel32/path.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c index a389743171..68fd672964 100644 --- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -1948,8 +1948,7 @@ BOOL WINAPI NeedCurrentDirectoryForExePathW( LPCWSTR name ) 'I','n','E','x','e','P','a','t','h',0}; WCHAR env_val;
- /* MSDN mentions some 'registry location'. We do not use registry. */ - FIXME("(%s): partial stub\n", debugstr_w(name)); + TRACE("(%s)\n", debugstr_w(name));
if (strchrW(name, '\')) return TRUE;