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…
Reference in New Issue