Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Incorrect return value type used for Wow64EnableWow64FsRedirection #4681
The Wow64EnableWow64FsRedirection function (called by XmlCreateDocument) is declared as returning BOOL (32 bit). However it actually returns BOOLEAN (8 bit).
Most of the time this error will not be noticeable in practice because due to the implementation details of this function the "garbage" is determined by the last error value. The most common error code is ERROR_CALL_NOT_IMPLEMENTED (on 32-bit versions of Windows) with a value of 120, so the upper 24 bits happen to be zero; a rarer error code above 255 would exhibit this problem however.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment