mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now
that LoadLibraryW doesn't do this anymore.
This commit is contained in:
parent
e792fb74ba
commit
82398e10c1
@ -351,6 +351,7 @@ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, LPDWORD handle,
|
||||
else
|
||||
len = 0xFFFFFFFF;
|
||||
}
|
||||
SetLastError(0);
|
||||
END:
|
||||
FreeResource(hMem);
|
||||
FreeLibrary(hModule);
|
||||
|
Loading…
x
Reference in New Issue
Block a user