[try2] kernel32: Add partial stub for NeedCurrentDirectoryForExePath

Laurent Vromman laurent at vromman.org
Wed Apr 18 07:11:33 CDT 2007


+/***********************************************************************
+ *           NeedCurrentDirectoryForExePathA   (KERNEL32.@)
+ */
+BOOL WINAPI NeedCurrentDirectoryForExePathA( LPCSTR name )
+{
+    WCHAR *nameW;
+
+    if (!(nameW = FILE_name_AtoW( name, FALSE ))) return TRUE;

If FILE_name_AtoW fails, the function fails, so the return value should be FALSE, shouldn't it ?

Laurent

On Wed, 18 Apr 2007 15:54:42 +0400, "Kirill K. Smirnov" <lich at math.spbu.ru> wrote:
> Please, ignore my previous attempt.
> 
> 




More information about the wine-devel mailing list