Yes, I have the full MinGW-5.1.3 package installed, including the win32api (if I understand you correctly??). To make sure, I just updated to the most recent mingw release, and that does not change the problem.
Weird.
Maybe my c::b is a bit broken...