Commit 82398e10 authored by Alexandre Julliard's avatar Alexandre Julliard

Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now

that LoadLibraryW doesn't do this anymore.
parent e792fb74
......@@ -351,6 +351,7 @@ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, LPDWORD handle,
else
len = 0xFFFFFFFF;
}
SetLastError(0);
END:
FreeResource(hMem);
FreeLibrary(hModule);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment