fixed return value of GetProcessImageFileNameA/W()

svn path=/trunk/; revision=11549
This commit is contained in:
Thomas Bluemel 2004-11-06 01:43:59 +00:00
parent 3b90d19697
commit caa0346413

View file

@ -1,4 +1,4 @@
/* $Id: win32.c,v 1.14 2004/11/06 01:42:04 weiden Exp $
/* $Id: win32.c,v 1.15 2004/11/06 01:43:59 weiden Exp $
*/
/*
* COPYRIGHT: See COPYING in the top level directory
@ -970,7 +970,7 @@ GetProcessImageFileNameW(HANDLE hProcess,
LocalFree((HLOCAL)ImageFileName);
}
return 0;
return Ret;
}
@ -1026,7 +1026,7 @@ GetProcessImageFileNameA(HANDLE hProcess,
LocalFree((HLOCAL)ImageFileName);
}
return 0;
return Ret;
}