Closed sevenc-nanashi closed 1 month ago
I think you meant to quote this 🙂
If the function succeeds, the return value is the size, in bytes, of the file's version information.
Looks like this was already fixed upstream (https://github.com/microsoft/win32metadata/commit/424d1fe948e401471886052bed798a50785312da); we haven't brought in the latest metadata yet due to some unrelated issues, but we'll get it in as soon as possible.
Closing for now as there's nothing to do, but feel free to keep the discussion going if needed.
Suggestion
This function might fail according to the documentation:
It should return
Result<u32>
.