WideCharToMultiByte doesn't allow you to use the last two parameters for most code pages. Which means it's functionally fucking impossible for me to determine the success of a code page conversion.
And the docs refuse to mention this. I spent all this time testing, for what??