YCM uses Clang, which doesn't handle Boost on Windows very well. You end up getting lots of red code.
It turns out to be easier to point YCM towards Boost for Linux, and then fake the Windows API with some function prototypes.
This is a start of some prototypes that can be used. It's very incomplete, so feel free to add to it as you need more functions to suit your needs!