Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now

that LoadLibraryW doesn't do this anymore.
This commit is contained in:
Alexandre Julliard 2004-04-12 23:33:08 +00:00
parent e792fb74ba
commit 82398e10c1

View file

@ -351,6 +351,7 @@ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, LPDWORD handle,
else
len = 0xFFFFFFFF;
}
SetLastError(0);
END:
FreeResource(hMem);
FreeLibrary(hModule);