As for the special characters when copy/pasting, since I only had the c++ header file to go on, I had to type the declaration myself, so that rules out any invalid characters.
Doing some further research, I pulled the dll into a utility DLL Export viewer, which shows all exported functions in a dll. The results showed up quite odd, so I suspect the dll from beeing corrupt. See attached screenshot (left is user32.dll, right is wrapi.dll).
Unfortunately, I don't have the needed skills to recompile from source, and I haven't been able to find another version of the dll.
I've just mailed the author of wrapi to see if he can come up with a solution, and check the dll for correctness, but since it doesn't appear to be a really active project, I can only hope to get a response.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.